/* ==========================================================================

   DUBEY SERVICE - STYLES PRINCIPAUX & SYSTÈME DE CONCEPTION LUXE

   Charte graphique : Bleu Nuit (#0B1730), Or Élégant (#C6A45A), Blanc (#FFF)

   Site statique & responsive - Compatible cPanel Apache

   Version 2.0 : Largeur Widescreen (1340px), Animations 3D, Effets de profondeur

   ========================================================================== */



/* --------------------------------------------------------------------------

   1. VARIABLES & SYSTÈME DE CONCEPTION

   -------------------------------------------------------------------------- */

:root {

  --color-navy-dark: #0B1730;

  --color-navy-deep: #142747;

  --color-navy-surface: #1E335A;

  --color-navy-muted: #243B66;

  --color-navy-light: #2E4774;

  

  --color-gold: #C6A45A;

  --color-gold-light: #E5C77E;

  --color-gold-bright: #F5D998;

  --color-gold-dark: #9E7D36;

  --color-gold-subtle: #FAF6ED;

  --color-gold-glow: rgba(198, 164, 90, 0.28);

  --color-gold-glow-strong: rgba(198, 164, 90, 0.45);

  

  --color-white: #FFFFFF;

  --color-gray-light: #F4F6F9;

  --color-gray-border: #E2E8F0;

  --color-gray-text: #273142;

  --color-gray-muted: #5D6B82;

  --color-gray-subtle: #8C9BAE;



  --color-success: #1B8755;

  --color-success-bg: #E8F5E9;

  --color-danger: #D32F2F;

  --color-danger-bg: #FFEBEE;

  --color-warning: #E67E22;

  --color-warning-bg: #FFF3E0;

  --color-info: #0288D1;

  --color-info-bg: #E1F5FE;



  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-serif: "Cinzel", "Playfair Display", "Georgia", "Times New Roman", serif;



  --shadow-xs: 0 1px 3px rgba(11, 23, 48, 0.05);

  --shadow-sm: 0 3px 8px rgba(11, 23, 48, 0.08);

  --shadow-md: 0 8px 22px rgba(11, 23, 48, 0.09);

  --shadow-lg: 0 16px 36px rgba(11, 23, 48, 0.12);

  --shadow-xl: 0 28px 60px rgba(11, 23, 48, 0.18);

  --shadow-3d: 0 20px 45px -10px rgba(11, 23, 48, 0.25), 0 0 25px rgba(198, 164, 90, 0.15);

  --shadow-gold: 0 10px 30px rgba(198, 164, 90, 0.32);

  --shadow-gold-lg: 0 16px 45px rgba(198, 164, 90, 0.42);



  --radius-xs: 4px;

  --radius-sm: 8px;

  --radius-md: 14px;

  --radius-lg: 20px;

  --radius-xl: 28px;

  --radius-full: 9999px;



  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);



  /* Largeur élargie PC pour un rendu aéré et luxueux */

  --container-max: 1340px;

  --container-wide: 1460px;

  --topbar-height: 36px;
  --nav-height: 84px;
  --header-height: 120px;

}



/* --------------------------------------------------------------------------

   2. RÉINITIALISATION & STYLES DE BASE

   -------------------------------------------------------------------------- */

*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

  min-width: 0;

}



html {

  font-size: 16px;

  scroll-behavior: smooth;

  scroll-padding-top: calc(var(--header-height) + 1.25rem);

  -webkit-text-size-adjust: 100%;

  overflow-x: hidden;

  max-width: 100%;

  width: 100%;

}



body {

  font-family: var(--font-sans);

  font-size: 1rem;

  line-height: 1.65;

  color: var(--color-gray-text);

  background-color: var(--color-white);

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  overflow-x: hidden;

  max-width: 100%;

  width: 100%;

  padding-top: var(--header-height);

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}



main {

  flex: 1 0 auto;

}



img, svg {

  display: block;

  max-width: 100%;

}



a {

  color: inherit;

  text-decoration: none;

  transition: color var(--transition-fast);

}



button, input, select, textarea {

  font: inherit;

  color: inherit;

}



button {

  background: none;

  border: none;

  cursor: pointer;

}



ul, ol {

  list-style: none;

}



/* --------------------------------------------------------------------------

   3. TYPOGRAPHIE AVANCÉE & EFFETS DE TEXTE

   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {

  color: var(--color-navy-dark);

  font-weight: 700;

  line-height: 1.25;

  letter-spacing: -0.015em;

}



h1 {

  font-size: clamp(2.25rem, 4.2vw + 1rem, 3.75rem);

  margin-bottom: 1.35rem;

}



h2 {

  font-size: clamp(1.85rem, 2.8vw + 0.5rem, 2.65rem);

  margin-bottom: 1.15rem;

}



h3 {

  font-size: clamp(1.3rem, 1.8vw + 0.25rem, 1.75rem);

  margin-bottom: 0.85rem;

}



h4 {

  font-size: 1.25rem;

  margin-bottom: 0.5rem;

}



p {

  margin-bottom: 1rem;

}



p:last-child {

  margin-bottom: 0;

}



.text-gold {

  color: var(--color-gold) !important;

}



.text-gold-light {

  color: var(--color-gold-light) !important;

}



.text-muted {

  color: var(--color-gray-muted) !important;

}



.text-center {

  text-align: center;

}



.font-serif {

  font-family: var(--font-serif);

}



/* Texte dégradé d'or avec éclat lumineux */

.text-gradient-gold {

  background: linear-gradient(135deg, #FFF1CA 0%, #E5C77E 30%, #C6A45A 70%, #9E7D36 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  display: inline-block;

}



.text-shimmer {

  background: linear-gradient(90deg, #C6A45A 0%, #FFFFFF 50%, #C6A45A 100%);

  background-size: 200% auto;

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  animation: textShimmer 4s ease-in-out infinite;

}



@keyframes textShimmer {

  0% { background-position: -200% center; }

  100% { background-position: 200% center; }

}



/* --------------------------------------------------------------------------

   4. MISE EN PAGE & CONTENEURS WIDESCREEN

   -------------------------------------------------------------------------- */

.container {

  width: 100%;

  max-width: var(--container-max);

  margin-left: auto;

  margin-right: auto;

  padding-left: 2rem;

  padding-right: 2rem;

}



.container-wide {

  max-width: var(--container-wide);

}



.container-narrow {

  max-width: 920px;

}



.section {

  padding-top: 5.5rem;

  padding-bottom: 5.5rem;

  position: relative;

}



.section-sm {

  padding-top: 3.5rem;

  padding-bottom: 3.5rem;

}



.section-lg {

  padding-top: 7.5rem;

  padding-bottom: 7.5rem;

}



.bg-light {

  background-color: var(--color-gray-light);

}



.bg-white {

  background-color: var(--color-white);

}



.bg-navy {

  background-color: var(--color-navy-dark);

  color: var(--color-white);

}



.bg-navy-deep {

  background-color: var(--color-navy-deep);

  color: var(--color-white);

}



.bg-gold-subtle {

  background-color: var(--color-gold-subtle);

}



.section-header {

  text-align: center;

  max-width: 840px;

  margin: 0 auto 4rem auto;

}



.section-badge {

  display: inline-flex;

  align-items: center;

  gap: 0.6rem;

  font-size: 0.8125rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.12em;

  color: var(--color-gold);

  background: rgba(198, 164, 90, 0.12);

  border: 1px solid rgba(198, 164, 90, 0.3);

  padding: 0.4rem 1.1rem;

  border-radius: var(--radius-full);

  margin-bottom: 1.25rem;

  box-shadow: 0 2px 10px rgba(198, 164, 90, 0.1);

}



.section-badge-light {

  background: rgba(255, 255, 255, 0.12);

  color: var(--color-gold-light);

  border-color: rgba(229, 199, 126, 0.35);

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

}



.section-subtitle {

  font-size: 1.18rem;

  color: var(--color-gray-muted);

  line-height: 1.65;

}



.bg-navy .section-subtitle,

.bg-navy-deep .section-subtitle {

  color: rgba(255, 255, 255, 0.85);

}



.bg-navy h1, .bg-navy h2, .bg-navy h3,

.bg-navy-deep h1, .bg-navy-deep h2, .bg-navy-deep h3 {

  color: var(--color-white);

}



/* --------------------------------------------------------------------------

   5. BOUTONS & ÉLÉMENTS D'ACTION 3D

   -------------------------------------------------------------------------- */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.65rem;

  font-weight: 600;

  font-size: 0.975rem;

  padding: 0.85rem 1.85rem;

  border-radius: var(--radius-sm);

  transition: all var(--transition-normal);

  white-space: nowrap;

  line-height: 1.25;

  cursor: pointer;

  border: 1.5px solid transparent;

  text-decoration: none;

  position: relative;

  overflow: hidden;

}



.btn:focus-visible {

  outline: 3px solid var(--color-gold);

  outline-offset: 3px;

}



.btn-primary {

  background: linear-gradient(135deg, #E8CD89 0%, #C6A45A 50%, #A88334 100%);

  color: var(--color-navy-dark);

  border-color: #E8CD89;

  box-shadow: 0 4px 16px rgba(198, 164, 90, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);

}



.btn-primary::after {

  content: "";

  position: absolute;

  top: -50%;

  left: -50%;

  width: 200%;

  height: 200%;

  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);

  transform: rotate(45deg) translate(-100%, -100%);

  transition: transform 0.6s ease;

}



.btn-primary:hover::after {

  transform: rotate(45deg) translate(100%, 100%);

}



.btn-primary:hover {

  background: linear-gradient(135deg, #F0DCA0 0%, #D4B46E 50%, #B8923E 100%);

  transform: translateY(-3px) scale(1.01);

  box-shadow: var(--shadow-gold-lg);

  color: var(--color-navy-dark);

}



.btn-primary:active {

  transform: translateY(0) scale(1);

}



.btn-secondary {

  background-color: var(--color-navy-deep);

  color: var(--color-white);

  border-color: rgba(198, 164, 90, 0.3);

  box-shadow: 0 4px 15px rgba(11, 23, 48, 0.2);

}



.btn-secondary:hover {

  background-color: var(--color-navy-surface);

  border-color: var(--color-gold);

  color: var(--color-white);

  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(11, 23, 48, 0.3);

}



.btn-outline-gold {

  background-color: transparent;

  color: var(--color-gold);

  border-color: var(--color-gold);

}



.btn-outline-gold:hover {

  background-color: var(--color-gold);

  color: var(--color-navy-dark);

  transform: translateY(-3px);

  box-shadow: var(--shadow-gold);

}



.btn-outline-white {

  background-color: rgba(255, 255, 255, 0.05);

  color: var(--color-white);

  border-color: rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(4px);

}



.btn-outline-white:hover {

  background-color: var(--color-white);

  color: var(--color-navy-dark);

  border-color: var(--color-white);

  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

}



.btn-outline-dark {

  background-color: transparent;

  color: var(--color-navy-dark);

  border-color: var(--color-navy-dark);

}



.btn-outline-dark:hover {

  background-color: var(--color-navy-dark);

  color: var(--color-white);

  transform: translateY(-3px);

  box-shadow: var(--shadow-md);

}



.btn-lg {

  padding: 1.05rem 2.4rem;

  font-size: 1.08rem;

  border-radius: var(--radius-md);

}



.btn-sm {

  padding: 0.55rem 1.15rem;

  font-size: 0.875rem;

}



.btn-block {

  width: 100%;

}



.btn:disabled,

.btn[aria-disabled="true"] {

  opacity: 0.6;

  cursor: not-allowed;

  transform: none !important;

  box-shadow: none !important;

}



/* --------------------------------------------------------------------------

   6. HEADER & NAVIGATION ENRICHI

   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 23, 48, 0.98);
  border-bottom: 1px solid rgba(198, 164, 90, 0.25);
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  height: var(--nav-height, 84px);
  width: 100%;
}



.site-header.scrolled {

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

  background-color: rgba(11, 23, 48, 0.98);

  border-bottom-color: rgba(198, 164, 90, 0.4);

}



.header-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 100%;

  padding-left: clamp(1rem, 2vw, 2rem);

  padding-right: clamp(1rem, 2vw, 2rem);

  max-width: 1440px;

  margin: 0 auto;

}



.header-brand {

  display: flex;

  align-items: center;

  text-decoration: none;

  flex-shrink: 0;

  transition: transform var(--transition-fast);

}



.header-brand:hover {

  transform: scale(1.02);

}



.header-logo {

  height: 44px;

  width: auto;

  max-width: 235px;

  display: block;

}



.nav-desktop {

  display: flex;

  align-items: center;

  margin: 0 clamp(0.5rem, 1.2vw, 1.25rem);

}



.nav-links {

  display: flex;

  align-items: center;

  gap: clamp(0.6rem, 1.2vw, 1.35rem);

  list-style: none;

  margin: 0;

  padding: 0;

}



.nav-link {

  font-size: clamp(0.85rem, 0.9vw, 0.925rem);

  font-weight: 500;

  color: rgba(255, 255, 255, 0.88);

  padding: 0.5rem 0.25rem;

  position: relative;

  transition: color var(--transition-fast);

  white-space: nowrap !important; /* Empeche tout retour a la ligne dans les liens de nav */

  display: inline-flex;

  align-items: center;

}



.nav-link:hover,

.nav-link:focus-visible {

  color: var(--color-gold-light);

}



.nav-link.active {

  color: var(--color-gold-bright);

  font-weight: 600;

}



.nav-link.active::after {

  content: "";

  position: absolute;

  bottom: -4px;

  left: 0;

  width: 100%;

  height: 2.5px;

  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));

  border-radius: var(--radius-full);

  box-shadow: 0 0 8px var(--color-gold);

}



.header-actions {

  display: flex;

  align-items: center;

  gap: clamp(0.5rem, 1vw, 0.85rem);

  flex-shrink: 0;

}



.header-actions .btn {

  white-space: nowrap;

}



/* Menu Hamburger Mobile */

.menu-toggle {

  display: none;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  width: 46px;

  height: 46px;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(198, 164, 90, 0.3);

  border-radius: var(--radius-sm);

  cursor: pointer;

  padding: 0;

  gap: 6px;

  transition: background var(--transition-fast);

}



.menu-toggle:hover {

  background: rgba(198, 164, 90, 0.15);

}



.menu-toggle-bar {

  width: 24px;

  height: 2px;

  background-color: var(--color-gold-light);

  border-radius: 2px;

  transition: transform var(--transition-fast), opacity var(--transition-fast);

}



.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {

  transform: translateY(8px) rotate(45deg);

}



.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {

  opacity: 0;

}



.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {

  transform: translateY(-8px) rotate(-45deg);

}



/* Tiroir Mobile */

.nav-mobile {

  position: fixed;

  top: var(--header-height);

  left: 0;

  width: 100%;

  height: calc(100vh - var(--header-height));

  background-color: rgba(11, 23, 48, 0.98);

  backdrop-filter: blur(20px);

  border-top: 1px solid rgba(198, 164, 90, 0.25);

  display: flex;

  flex-direction: column;

  padding: 2rem;

  overflow-y: auto;

  transform: translateX(-100%);

  transition: transform var(--transition-normal);

  z-index: 999;

}



.nav-mobile.is-open {

  transform: translateX(0);

}



.nav-mobile-links {

  display: flex;

  flex-direction: column;

  gap: 0.65rem;

  margin-bottom: 2rem;

}



.nav-mobile-link {

  font-size: 1.2rem;

  font-weight: 500;

  color: rgba(255, 255, 255, 0.92);

  padding: 1rem 1.25rem;

  border-radius: var(--radius-sm);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  display: flex;

  justify-content: space-between;

  align-items: center;

  transition: all var(--transition-fast);

}



.nav-mobile-link:hover,

.nav-mobile-link.active {

  color: var(--color-gold-bright);

  background-color: rgba(198, 164, 90, 0.12);

}



.nav-mobile-footer {

  margin-top: auto;

  padding-top: 2rem;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;

  flex-direction: column;

  gap: 1.25rem;

}



/* --------------------------------------------------------------------------

   7. HERO LUXE AVEC CANEVAS 3D ET EFFETS DE PROFONDEUR

   -------------------------------------------------------------------------- */

.hero {

  position: relative;

  background: radial-gradient(circle at 80% 25%, #182F57 0%, #0E1C38 45%, #0B1730 85%);

  color: var(--color-white);

  padding-top: 6rem;

  padding-bottom: 7rem;

  overflow: hidden;

  border-bottom: 1px solid rgba(198, 164, 90, 0.25);

}



/* Arrière-plan grille technologique subtile */

.hero::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-image: 

    linear-gradient(rgba(198, 164, 90, 0.04) 1px, transparent 1px),

    linear-gradient(90deg, rgba(198, 164, 90, 0.04) 1px, transparent 1px);

  background-size: 70px 70px;

  pointer-events: none;

}



/* Éclats de lumière d'ambiance */

.hero-glow-1 {

  position: absolute;

  top: 10%;

  left: -10%;

  width: 500px;

  height: 500px;

  background: radial-gradient(circle, rgba(198, 164, 90, 0.12) 0%, transparent 70%);

  border-radius: 50%;

  filter: blur(60px);

  pointer-events: none;

  animation: floatSlow 12s ease-in-out infinite alternate;

}



.hero-glow-2 {

  position: absolute;

  bottom: -15%;

  right: 15%;

  width: 600px;

  height: 600px;

  background: radial-gradient(circle, rgba(30, 51, 90, 0.4) 0%, transparent 70%);

  border-radius: 50%;

  filter: blur(80px);

  pointer-events: none;

}



@keyframes floatSlow {

  0% { transform: translateY(0px) rotate(0deg); }

  100% { transform: translateY(-30px) rotate(5deg); }

}



.hero-grid {

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  gap: 4.5rem;

  align-items: center;

  position: relative;

  z-index: 2;

}



.hero-content {

  max-width: 680px;

}



.hero-title {

  color: var(--color-white);

  margin-bottom: 1.5rem;

  font-weight: 700;

  line-height: 1.2;

}



.hero-desc {

  font-size: 1.2rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.88);

  margin-bottom: 2.25rem;

}



.hero-actions {

  display: flex;

  flex-wrap: wrap;

  gap: 1.25rem;

  margin-bottom: 3rem;

}



.hero-metrics {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2rem;

  padding-top: 2.25rem;

  border-top: 1px solid rgba(255, 255, 255, 0.14);

}



.hero-metric-item {

  display: flex;

  flex-direction: column;

}



.hero-metric-val {

  font-size: 1.6rem;

  font-weight: 700;

  color: var(--color-gold-bright);

  line-height: 1.2;

  font-family: var(--font-sans);

  text-shadow: 0 0 15px rgba(198, 164, 90, 0.35);

}



.hero-metric-lbl {

  font-size: 0.84rem;

  color: rgba(255, 255, 255, 0.72);

  margin-top: 0.35rem;

}



/* Carte Simulateur Rapide dans le Hero (Verre fumé 3D) */

.hero-widget-card {

  background: rgba(20, 39, 71, 0.78);

  border: 1px solid rgba(198, 164, 90, 0.35);

  border-radius: var(--radius-xl);

  padding: 2.5rem;

  box-shadow: var(--shadow-3d);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  position: relative;

  transform: perspective(1000px);

  transition: transform var(--transition-normal), box-shadow var(--transition-normal);

}



.hero-widget-card:hover {

  border-color: rgba(198, 164, 90, 0.55);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(198, 164, 90, 0.25);

}



.hero-widget-card::before {

  content: "";

  position: absolute;

  top: -1px;

  left: 15%;

  right: 15%;

  height: 2px;

  background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);

}



/* Canevas 3D interactif dans le Hero */

.hero-3d-visual {

  position: relative;

  width: 100%;

  height: 380px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 1.5rem;

}



#hero-3d-canvas {

  width: 100%;

  height: 100%;

  display: block;

}



/* Page Hero générique pour pages secondaires */

.page-hero {

  background: radial-gradient(circle at 85% 20%, rgba(30, 51, 90, 0.6) 0%, rgba(11, 23, 48, 1) 75%);

  color: var(--color-white);

  padding-top: 5.5rem;

  padding-bottom: 5.5rem;

  text-align: center;

  position: relative;

  border-bottom: 1px solid rgba(198, 164, 90, 0.25);

}



.page-hero-content {

  max-width: 860px;

  margin: 0 auto;

}



.page-hero h1 {

  color: var(--color-white);

  margin-bottom: 1.15rem;

}



.page-hero p {

  font-size: 1.2rem;

  color: rgba(255, 255, 255, 0.88);

  margin-bottom: 0;

}



.breadcrumbs {

  display: inline-flex;

  align-items: center;

  gap: 0.6rem;

  font-size: 0.875rem;

  color: rgba(255, 255, 255, 0.65);

  margin-bottom: 1.35rem;

}



.breadcrumbs a {

  color: var(--color-gold-light);

}



.breadcrumbs a:hover {

  text-decoration: underline;

}



/* --------------------------------------------------------------------------

   8. CARTES DE SOLUTIONS AVEC EFFET 3D TILT

   -------------------------------------------------------------------------- */

.solutions-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));

  gap: 2.25rem;

}



.solution-card {

  background-color: var(--color-white);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-lg);

  padding: 2.5rem 2.25rem;

  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);

  display: flex;

  flex-direction: column;

  position: relative;

  overflow: hidden;

  transform-style: preserve-3d;

  perspective: 1000px;

}



.solution-card::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 4px;

  background: transparent;

  transition: background var(--transition-normal);

}



.solution-card:hover {

  transform: translateY(-8px) scale(1.01);

  box-shadow: var(--shadow-xl), 0 0 20px rgba(198, 164, 90, 0.12);

  border-color: rgba(198, 164, 90, 0.5);

}



.solution-card:hover::before {

  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));

}



.solution-icon-wrap {

  width: 64px;

  height: 64px;

  border-radius: var(--radius-md);

  background-color: var(--color-gold-subtle);

  border: 1px solid rgba(198, 164, 90, 0.3);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--color-gold-dark);

  margin-bottom: 1.75rem;

  transition: all var(--transition-normal);

  box-shadow: 0 4px 12px rgba(198, 164, 90, 0.15);

}



.solution-card:hover .solution-icon-wrap {

  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));

  color: var(--color-navy-dark);

  transform: scale(1.08) rotate(3deg);

  box-shadow: var(--shadow-gold);

}



.solution-title {

  font-size: 1.4rem;

  margin-bottom: 0.95rem;

}



.solution-desc {

  font-size: 0.98rem;

  color: var(--color-gray-muted);

  line-height: 1.65;

  margin-bottom: 2rem;

  flex-grow: 1;

}



.solution-features {

  margin-bottom: 2rem;

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

}



.solution-feature-item {

  display: flex;

  align-items: flex-start;

  gap: 0.75rem;

  font-size: 0.9rem;

  color: var(--color-gray-text);

  line-height: 1.5;

}



.solution-feature-item svg {

  flex-shrink: 0;

  margin-top: 0.2rem;

  color: var(--color-gold);

}



.solution-footer {

  padding-top: 1.5rem;

  border-top: 1px solid var(--color-gray-border);

  display: flex;

  align-items: center;

  justify-content: space-between;

}



/* --------------------------------------------------------------------------

   9. SECTION COMMENT ÇA MARCHE (ÉTAPES & TIMELINE)

   -------------------------------------------------------------------------- */

.steps-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));

  gap: 2.25rem;

  position: relative;

}



.step-card {

  background-color: var(--color-white);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-lg);

  padding: 2.5rem 2rem;

  position: relative;

  transition: all var(--transition-normal);

  display: flex;

  flex-direction: column;

  overflow: hidden;

}



.step-card:hover {

  transform: translateY(-6px);

  box-shadow: var(--shadow-lg);

  border-color: rgba(198, 164, 90, 0.45);

}



.step-number {

  font-family: var(--font-serif);

  font-size: 2.75rem;

  font-weight: 700;

  color: var(--color-gold);

  line-height: 1;

  margin-bottom: 1.25rem;

  opacity: 0.9;

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.step-number::after {

  content: "";

  display: block;

  width: 32px;

  height: 2px;

  background-color: rgba(198, 164, 90, 0.35);

}



.step-title {

  font-size: 1.28rem;

  margin-bottom: 0.85rem;

}



.step-desc {

  font-size: 0.95rem;

  color: var(--color-gray-muted);

  line-height: 1.65;

}



/* --------------------------------------------------------------------------

   10. SIMULATEUR DE FINANCEMENT COMPLET WIDESCREEN

   -------------------------------------------------------------------------- */

.simulator-wrapper {

  background-color: var(--color-white);

  border-radius: var(--radius-xl);

  border: 1px solid var(--color-gray-border);

  box-shadow: var(--shadow-xl);

  overflow: hidden;

  transition: box-shadow var(--transition-normal);

}



.simulator-wrapper:hover {

  box-shadow: 0 32px 70px rgba(11, 23, 48, 0.22);

}



.simulator-grid {

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

}



.simulator-controls {

  padding: 3.5rem;

  border-right: 1px solid var(--color-gray-border);

}



.simulator-results {

  background: linear-gradient(180deg, #142747 0%, #0B1730 100%);

  color: var(--color-white);

  padding: 3.5rem 3rem;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  position: relative;

  overflow: hidden;

}



.simulator-results::before {

  content: "";

  position: absolute;

  top: 0;

  right: 0;

  width: 250px;

  height: 250px;

  background: radial-gradient(circle, rgba(198, 164, 90, 0.12) 0%, transparent 70%);

  pointer-events: none;

}



.sim-group {

  margin-bottom: 2.75rem;

}



.sim-group:last-child {

  margin-bottom: 0;

}



.sim-label-row {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 0.75rem;

  margin-bottom: 1rem;

}



.sim-label {

  font-weight: 600;

  color: var(--color-navy-dark);

  font-size: 1.05rem;

}



.sim-value-badge {

  font-size: 1.35rem;

  font-weight: 700;

  color: var(--color-navy-dark);

  background-color: var(--color-gold-subtle);

  border: 1.5px solid rgba(198, 164, 90, 0.4);

  padding: 0.35rem 0.85rem;

  border-radius: var(--radius-sm);

  display: inline-flex;

  align-items: center;

  white-space: nowrap;

  box-shadow: 0 2px 8px rgba(198, 164, 90, 0.15);

  max-width: 100%;

  box-sizing: border-box;

}



/* Curseur stylisé */

.sim-range {

  width: 100%;

  height: 9px;

  background: var(--color-gray-border);

  border-radius: var(--radius-full);

  outline: none;

  -webkit-appearance: none;

  cursor: pointer;

  margin-bottom: 0.85rem;

  transition: background var(--transition-fast);

}



.sim-range::-webkit-slider-thumb {

  -webkit-appearance: none;

  appearance: none;

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));

  border: 3.5px solid var(--color-white);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);

  cursor: pointer;

  transition: transform var(--transition-fast), box-shadow var(--transition-fast);

}



.sim-range::-webkit-slider-thumb:hover {

  transform: scale(1.2);

  box-shadow: var(--shadow-gold);

}



.sim-range::-moz-range-thumb {

  width: 28px;

  height: 28px;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));

  border: 3.5px solid var(--color-white);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);

  cursor: pointer;

}



.sim-range-limits {

  display: flex;

  justify-content: space-between;

  font-size: 0.85rem;

  color: var(--color-gray-muted);

}



.sim-input-row {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  margin-top: 0.85rem;

  width: 100%;

  max-width: 100%;

  box-sizing: border-box;

}



.sim-text-input {

  flex: 1 1 auto;

  width: 0;

  min-width: 0;

  padding: 0.85rem 1rem;

  border: 1.5px solid var(--color-gray-border);

  border-radius: var(--radius-sm);

  font-size: 1.15rem;

  font-weight: 600;

  color: var(--color-navy-dark);

  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);

  box-sizing: border-box;

}



.sim-input-row span,

.sim-input-unit {

  flex-shrink: 0;

  white-space: nowrap;

  font-weight: 700;

  font-size: 1.15rem;

  color: var(--color-navy-dark);

}



.sim-text-input:focus {

  border-color: var(--color-gold);

  outline: none;

  box-shadow: 0 0 0 4px var(--color-gold-glow);

}



.sim-presets {

  display: flex;

  flex-wrap: wrap;

  gap: 0.6rem;

  margin-top: 1rem;

}



.sim-preset-btn {

  font-size: 0.85rem;

  font-weight: 600;

  padding: 0.45rem 0.9rem;

  background-color: var(--color-gray-light);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-sm);

  color: var(--color-gray-text);

  transition: all var(--transition-fast);

}



.sim-preset-btn:hover {

  background-color: var(--color-gold-subtle);

  border-color: var(--color-gold);

  color: var(--color-navy-dark);

  transform: translateY(-1px);

}



/* Résultats du simulateur */

.result-header {

  margin-bottom: 2rem;

  padding-bottom: 1.35rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

}



.result-header h3 {

  color: var(--color-white);

  font-size: 1.45rem;

}



.result-main {

  background: rgba(255, 255, 255, 0.06);

  border: 1.5px solid rgba(198, 164, 90, 0.35);

  border-radius: var(--radius-lg);

  padding: 2rem 1.75rem;

  text-align: center;

  margin-bottom: 2rem;

  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);

}



.result-main-lbl {

  font-size: 0.9rem;

  color: rgba(255, 255, 255, 0.8);

  text-transform: uppercase;

  letter-spacing: 0.08em;

  margin-bottom: 0.6rem;

}



.result-main-val {

  font-size: clamp(2.2rem, 3.8vw, 3.1rem);

  font-weight: 700;

  color: var(--color-gold-bright);

  line-height: 1.1;

  text-shadow: 0 0 20px rgba(198, 164, 90, 0.4);

}



.result-main-note {

  font-size: 0.85rem;

  color: rgba(255, 255, 255, 0.65);

  margin-top: 0.6rem;

}



.result-list {

  display: flex;

  flex-direction: column;

  gap: 1.1rem;

  margin-bottom: 2.25rem;

}



.result-item {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-size: 1rem;

  padding-bottom: 0.85rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.09);

}



.result-item-lbl {

  color: rgba(255, 255, 255, 0.78);

}



.result-item-val {

  font-weight: 600;

  color: var(--color-white);

}



/* Jauge visuelle de répartition Capital / Coût */

.amortization-bar-wrap {

  margin-bottom: 1.75rem;

}



.amortization-bar-labels {

  display: flex;

  justify-content: space-between;

  font-size: 0.8125rem;

  margin-bottom: 0.4rem;

}



.amortization-bar {

  width: 100%;

  height: 12px;

  background-color: var(--color-gold);

  border-radius: var(--radius-full);

  overflow: hidden;

  display: flex;

}



.amortization-bar-capital {

  height: 100%;

  background-color: #FFFFFF;

  width: 97.087%; /* 100 / 1.03 */

  transition: width var(--transition-normal);

}



.amortization-bar-cost {

  height: 100%;

  background-color: var(--color-gold-bright);

  width: 2.913%; /* 3 / 1.03 */

}



.sim-disclaimer {

  font-size: 0.8125rem;

  line-height: 1.55;

  color: rgba(255, 255, 255, 0.65);

  background: rgba(0, 0, 0, 0.25);

  padding: 1.15rem;

  border-radius: var(--radius-sm);

  border-left: 3.5px solid var(--color-gold);

  margin-bottom: 2rem;

}



/* --------------------------------------------------------------------------

   11. FORMULAIRE DE DEMANDE AVEC ÉTAPES & RÉASSURANCE

   -------------------------------------------------------------------------- */

.form-page-layout {

  display: grid;

  grid-template-columns: 1.25fr 0.75fr;

  gap: 3.5rem;

  align-items: flex-start;

  width: 100%;

  max-width: 100%;

}



.form-steps {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1.25rem;

  margin-bottom: 3rem;

  text-align: center;

  width: 100%;

  max-width: 100%;

}



.form-step-item {

  background-color: var(--color-white);

  border: 1.5px solid var(--color-gold);

  padding: 1.15rem 1.25rem;

  border-radius: var(--radius-md);

  box-shadow: 0 4px 15px rgba(198, 164, 90, 0.12);

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  transition: all var(--transition-fast);

}



.form-step-num {

  font-size: 0.8rem;

  font-weight: 700;

  color: var(--color-gold);

  text-transform: uppercase;

  letter-spacing: 0.06em;

  margin-bottom: 0.35rem;

}



.form-step-title {

  font-weight: 600;

  font-size: 0.95rem;

  color: var(--color-navy-dark);

  line-height: 1.35;

}



.form-card {

  background-color: var(--color-white);

  border-radius: var(--radius-xl);

  border: 1px solid var(--color-gray-border);

  box-shadow: var(--shadow-xl);

  padding: 3.5rem;

  width: 100%;

  max-width: 100%;

}



.form-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 1.75rem;

}



.form-col-full {

  grid-column: 1 / -1;

}



.form-group {

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

}



.form-label {

  font-weight: 600;

  font-size: 0.94rem;

  color: var(--color-navy-dark);

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.form-label .required {

  color: var(--color-danger);

  margin-left: 0.25rem;

}



.form-hint {

  font-size: 0.8rem;

  color: var(--color-gray-muted);

  font-weight: 400;

}



.form-control {

  width: 100%;

  padding: 0.9rem 1.2rem;

  font-size: 1rem;

  border: 1.5px solid var(--color-gray-border);

  border-radius: var(--radius-sm);

  background-color: var(--color-white);

  color: var(--color-gray-text);

  transition: all var(--transition-fast);

}



.form-control:focus {

  border-color: var(--color-gold);

  outline: none;

  box-shadow: 0 0 0 4px var(--color-gold-glow);

}



.form-control.is-invalid {

  border-color: var(--color-danger);

  background-color: #FFFDFD;

}



.form-control.is-invalid:focus {

  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.15);

}



.form-error-msg {

  font-size: 0.83rem;

  color: var(--color-danger);

  margin-top: 0.25rem;

  display: none;

}



.is-invalid + .form-error-msg,

.form-group.has-error .form-error-msg {

  display: block;

}



textarea.form-control {

  resize: vertical;

  min-height: 130px;

}



.hp-field {

  position: absolute !important;

  left: -9999px !important;

  width: 1px !important;

  height: 1px !important;

  opacity: 0 !important;

  pointer-events: none !important;

  tab-index: -1 !important;

}



.checkbox-group {

  display: flex;

  align-items: flex-start;

  gap: 0.85rem;

  margin-top: 0.5rem;

}



.checkbox-custom {

  margin-top: 0.3rem;

  width: 20px;

  height: 20px;

  flex-shrink: 0;

  accent-color: var(--color-gold-dark);

  cursor: pointer;

}



.checkbox-label {

  font-size: 0.9rem;

  color: var(--color-gray-muted);

  line-height: 1.55;

  cursor: pointer;

}



.checkbox-label a {

  color: var(--color-navy-dark);

  text-decoration: underline;

  font-weight: 600;

}



.checkbox-label a:hover {

  color: var(--color-gold);

}



.alert {

  padding: 1.35rem 1.75rem;

  border-radius: var(--radius-sm);

  font-size: 0.98rem;

  margin-bottom: 2.25rem;

  display: none;

  align-items: flex-start;

  gap: 1.15rem;

}



.alert-success {

  background-color: var(--color-success-bg);

  border: 1.5px solid rgba(27, 135, 85, 0.35);

  color: #0F5132;

}



.alert-danger {

  background-color: var(--color-danger-bg);

  border: 1.5px solid rgba(211, 47, 47, 0.35);

  color: #842029;

}



.alert.show {

  display: flex;

}



.spinner {

  display: inline-block;

  width: 20px;

  height: 20px;

  border: 2.5px solid rgba(11, 23, 48, 0.3);

  border-top-color: var(--color-navy-dark);

  border-radius: 50%;

  animation: spin 0.7s linear infinite;

}



@keyframes spin {

  to { transform: rotate(360deg); }

}



/* --------------------------------------------------------------------------

   12. ACCORDÉONS FAQ & COMPOSANTS INTERACTIFS

   -------------------------------------------------------------------------- */

.faq-accordion {

  display: flex;

  flex-direction: column;

  gap: 1.25rem;

}



.faq-item {

  background-color: var(--color-white);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-md);

  overflow: hidden;

  transition: all var(--transition-normal);

}



.faq-item:hover {

  border-color: rgba(198, 164, 90, 0.45);

  box-shadow: var(--shadow-sm);

}



.faq-item[open] {

  border-color: var(--color-gold);

  box-shadow: var(--shadow-md);

}



.faq-summary {

  padding: 1.5rem 2rem;

  font-weight: 600;

  font-size: 1.12rem;

  color: var(--color-navy-dark);

  cursor: pointer;

  list-style: none;

  display: flex;

  justify-content: space-between;

  align-items: center;

  user-select: none;

}



.faq-summary::-webkit-details-marker {

  display: none;

}



.faq-icon {

  width: 22px;

  height: 22px;

  color: var(--color-gold);

  transition: transform var(--transition-fast);

  flex-shrink: 0;

  margin-left: 1.25rem;

}



.faq-item[open] .faq-icon {

  transform: rotate(180deg);

}



.faq-content {

  padding: 0 2rem 1.75rem 2rem;

  color: var(--color-gray-muted);

  font-size: 0.98rem;

  line-height: 1.7;

  border-top: 1px solid var(--color-gray-light);

  padding-top: 1.25rem;

}



/* --------------------------------------------------------------------------

   13. PAGES INSTITUTIONNELLES & LÉGALES

   -------------------------------------------------------------------------- */

.legal-content {

  background-color: var(--color-white);

  border-radius: var(--radius-xl);

  border: 1px solid var(--color-gray-border);

  padding: 4rem;

  box-shadow: var(--shadow-md);

}



.legal-section {

  margin-bottom: 3rem;

}



.legal-section:last-child {

  margin-bottom: 0;

}



.legal-section h2 {

  font-size: 1.5rem;

  padding-bottom: 0.65rem;

  border-bottom: 2px solid var(--color-gold-subtle);

  margin-bottom: 1.35rem;

}



.placeholder-notice {

  background-color: #FFF9E6;

  border: 1.5px dashed var(--color-warning);

  color: #7A5300;

  padding: 1.25rem 1.5rem;

  border-radius: var(--radius-sm);

  font-size: 0.92rem;

  margin: 1.5rem 0;

}



.info-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));

  gap: 1.75rem;

  margin-top: 1.75rem;

}



.info-card {

  background-color: var(--color-gray-light);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-md);

  padding: 1.75rem;

  transition: transform var(--transition-fast), box-shadow var(--transition-fast);

}



.info-card:hover {

  transform: translateY(-3px);

  box-shadow: var(--shadow-sm);

}



.info-card-title {

  font-weight: 700;

  color: var(--color-navy-dark);

  font-size: 1.05rem;

  margin-bottom: 0.6rem;

}



/* --------------------------------------------------------------------------

   14. PAGE CONTACT

   -------------------------------------------------------------------------- */

.contact-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 3.5rem;

}



.contact-card {

  background-color: var(--color-white);

  border: 1px solid var(--color-gray-border);

  border-radius: var(--radius-xl);

  padding: 3rem;

  box-shadow: var(--shadow-md);

}



.contact-channels {

  display: flex;

  flex-direction: column;

  gap: 1.75rem;

  margin-top: 2.25rem;

}



.contact-channel-item {

  display: flex;

  align-items: flex-start;

  gap: 1.5rem;

  padding: 1.5rem;

  border-radius: var(--radius-md);

  background-color: var(--color-gray-light);

  border: 1px solid var(--color-gray-border);

  transition: all var(--transition-fast);

}



.contact-channel-item:hover {

  border-color: rgba(198, 164, 90, 0.4);

  transform: translateY(-2px);

  box-shadow: var(--shadow-sm);

}



.contact-channel-icon {

  width: 48px;

  height: 48px;

  border-radius: var(--radius-sm);

  background-color: var(--color-gold-subtle);

  color: var(--color-gold-dark);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

}



.contact-channel-info h4 {

  font-size: 1.1rem;

  margin-bottom: 0.35rem;

}



.contact-channel-info p {

  font-size: 0.92rem;

  color: var(--color-gray-muted);

}



/* --------------------------------------------------------------------------

   15. RÉASSURANCE & CTA BANNER

   -------------------------------------------------------------------------- */

.reassurance-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));

  gap: 2.25rem;

}



.reassurance-card {

  text-align: center;

  padding: 2.75rem 2rem;

  border-radius: var(--radius-lg);

  background-color: var(--color-white);

  border: 1px solid var(--color-gray-border);

  transition: all var(--transition-normal);

}



.reassurance-card:hover {

  transform: translateY(-6px);

  box-shadow: var(--shadow-lg);

  border-color: rgba(198, 164, 90, 0.4);

}



.reassurance-icon {

  width: 72px;

  height: 72px;

  margin: 0 auto 1.75rem auto;

  border-radius: 50%;

  background: linear-gradient(135deg, var(--color-gold-subtle), #F0E6D0);

  color: var(--color-gold-dark);

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 6px 18px rgba(198, 164, 90, 0.2);

  transition: transform var(--transition-fast);

}



.reassurance-card:hover .reassurance-icon {

  transform: scale(1.1) rotate(5deg);

}



.cta-banner {

  background: radial-gradient(circle at 10% 50%, #1A3460 0%, #0B1730 85%);

  color: var(--color-white);

  border-radius: var(--radius-xl);

  padding: 5rem 4rem;

  text-align: center;

  position: relative;

  overflow: hidden;

  border: 1px solid rgba(198, 164, 90, 0.35);

  box-shadow: var(--shadow-xl);

}



.cta-banner::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-image: radial-gradient(rgba(198, 164, 90, 0.12) 1px, transparent 1px);

  background-size: 28px 28px;

  pointer-events: none;

}



.cta-banner-content {

  position: relative;

  z-index: 2;

  max-width: 760px;

  margin: 0 auto;

}



.cta-banner h2 {

  color: var(--color-white);

  margin-bottom: 1.35rem;

}



.cta-banner p {

  color: rgba(255, 255, 255, 0.88);

  font-size: 1.2rem;

  margin-bottom: 2.25rem;

}



/* --------------------------------------------------------------------------

   16. FOOTER INSTITUTIONNEL

   -------------------------------------------------------------------------- */

.site-footer {

  background-color: var(--color-navy-dark);

  color: rgba(255, 255, 255, 0.82);

  padding-top: 5.5rem;

  padding-bottom: 2.75rem;

  border-top: 2.5px solid var(--color-gold);

  margin-top: auto;

}



.footer-grid {

  display: grid;

  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;

  gap: 3.5rem;

  margin-bottom: 4.5rem;

}



.footer-brand-logo {

  height: 52px;

  width: auto;

  margin-bottom: 1.35rem;

}



.footer-about {

  font-size: 0.94rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.75);

  margin-bottom: 1.75rem;

}



.footer-address {

  font-size: 0.9rem;

  color: rgba(255, 255, 255, 0.8);

  line-height: 1.55;

  font-style: normal;

  border-left: 2px solid var(--color-gold);

  padding-left: 1rem;

}



.footer-title {

  color: var(--color-white);

  font-size: 1.1rem;

  font-weight: 600;

  margin-bottom: 1.6rem;

  position: relative;

  padding-bottom: 0.6rem;

}



.footer-title::after {

  content: "";

  position: absolute;

  bottom: 0;

  left: 0;

  width: 32px;

  height: 2px;

  background: var(--color-gold);

}



.footer-links {

  display: flex;

  flex-direction: column;

  gap: 0.85rem;

}



.footer-link {

  font-size: 0.92rem;

  color: rgba(255, 255, 255, 0.74);

  transition: color var(--transition-fast), padding-left var(--transition-fast);

}



.footer-link:hover {

  color: var(--color-gold-bright);

  padding-left: 5px;

}



.footer-notice {

  font-size: 0.83rem;

  color: rgba(255, 255, 255, 0.65);

  line-height: 1.6;

  background: rgba(255, 255, 255, 0.05);

  padding: 1.15rem;

  border-radius: var(--radius-sm);

  border: 1px solid rgba(255, 255, 255, 0.09);

}



.footer-bottom {

  padding-top: 2.25rem;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 1.75rem;

  font-size: 0.85rem;

  color: rgba(255, 255, 255, 0.65);

}



.footer-legal-links {

  display: flex;

  align-items: center;

  gap: 1.75rem;

  flex-wrap: wrap;

}



.footer-legal-links a {

  color: rgba(255, 255, 255, 0.65);

}



.footer-legal-links a:hover {

  color: var(--color-gold-light);

}



/* --------------------------------------------------------------------------

   17. CLASSES D'ANIMATION AU DÉFILEMENT (SCROLL REVEAL)

   -------------------------------------------------------------------------- */

.reveal {

  opacity: 0;

  transform: translateY(30px);

  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);

}



.reveal.is-revealed {

  opacity: 1;

  transform: translateY(0);

}



.reveal-fade {

  opacity: 0;

  transition: opacity 0.8s ease;

}



.reveal-fade.is-revealed {

  opacity: 1;

}



/* --------------------------------------------------------------------------

   18. RESPONSIVE DESIGN & ADAPTABILITÉ TOTALE

   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {

  .hero-grid {

    grid-template-columns: 1fr;

    gap: 3.5rem;

  }

  .form-page-layout {

    grid-template-columns: 1fr;

    gap: 3rem;

  }

  .hero-content {

    max-width: 100%;

  }

  .simulator-grid {

    grid-template-columns: 1fr;

  }

  .simulator-controls {

    border-right: none;

    border-bottom: 1px solid var(--color-gray-border);

  }

  .footer-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 3rem;

  }

  .contact-grid {

    grid-template-columns: 1fr;

  }

}



@media (max-width: 1120px) {
  :root {
    --topbar-height: 34px;
    --nav-height: 70px;
    --header-height: 104px;
  }
  .site-header {
    height: var(--header-height);
  }
  .header-container {
    height: var(--nav-height);
  }

  .header-container {

    padding-left: 1.25rem;

    padding-right: 1.25rem;

  }

  .header-logo {

    height: 40px;

    max-width: 200px;

  }

  .nav-desktop,

  .header-actions .btn {

    display: none !important;

  }

  .header-actions {

    display: flex !important;

    align-items: center !important;

    gap: 0.65rem !important;

    flex-shrink: 0 !important;

  }

  .menu-toggle {

    display: flex !important;

    width: 42px;

    height: 42px;

    flex-shrink: 0;

  }

  .lang-btn {

    height: 40px;

    padding: 0.4rem 0.65rem;

  }

  .hero-content {

    text-align: center;

    max-width: 100%;

    margin-left: auto;

    margin-right: auto;

  }

  .hero-title {

    text-align: center;

  }

  .hero-desc {

    text-align: center;

    margin-left: auto;

    margin-right: auto;

  }

  .hero-actions {

    justify-content: center;

  }

  .hero-content .section-badge {

    margin-left: auto;

    margin-right: auto;

  }

  .hero-features-list {

    justify-content: center !important;

  }

  .hero-metrics {

    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;

  }

}



@media (max-width: 768px) {
  :root {
    --topbar-height: 32px;
    --nav-height: 64px;
    --header-height: 96px;
  }
  .site-header {
    height: var(--header-height);
  }
  .header-container {
    height: var(--nav-height);
  }

  .header-container {

    padding-left: 0.9rem;

    padding-right: 0.9rem;

  }

  .header-logo {

    height: 34px;

    max-width: 165px;

  }

  .header-brand {

    flex-shrink: 0;

    min-width: 0;

  }

  .header-actions {

    display: flex !important;

    align-items: center !important;

    gap: 0.4rem !important;

    flex-shrink: 0 !important;

  }

  .lang-selector {

    flex-shrink: 0;

  }

  .lang-btn {

    height: 36px;

    padding: 0.25rem 0.45rem;

    font-size: 0.78rem;

    gap: 0.3rem;

  }

  .menu-toggle {

    display: flex !important;

    width: 36px;

    height: 36px;

    gap: 4.5px;

    flex-shrink: 0;

  }

  .menu-toggle-bar {

    width: 19px;

    height: 2px;

  }

  .menu-toggle-bar {

    width: 20px;

    height: 2px;

  }

  .lang-dropdown-menu {

    right: 0;

    top: calc(100% + 6px);

  }

  .container {

    padding-left: 1.25rem;

    padding-right: 1.25rem;

  }

  .section {

    padding-top: 3.75rem;

    padding-bottom: 3.75rem;

  }

  .hero {

    padding-top: 3.25rem;

    padding-bottom: 4rem;

  }

  .hero-metrics {

    grid-template-columns: 1fr;

    gap: 1.25rem;

  }

  .sim-label-row {

    flex-direction: column;

    align-items: flex-start;

    gap: 0.45rem;

  }

  .sim-value-badge {

    font-size: 1.2rem;

    align-self: flex-start;

  }

  .sim-input-row span,

  .sim-input-unit {

    font-size: 1rem !important;

  }

  .form-page-layout {

    gap: 2rem;

  }

  .form-steps {

    grid-template-columns: 1fr;

    gap: 0.75rem;

    margin-bottom: 2rem;

  }

  .form-step-item {

    flex-direction: row;

    align-items: center;

    justify-content: flex-start;

    padding: 0.85rem 1.15rem;

    text-align: left;

    gap: 0.85rem;

  }

  .form-step-num {

    margin-bottom: 0;

    min-width: 65px;

    font-size: 0.78rem;

  }

  .form-step-title {

    font-size: 0.9rem;

  }

  .simulator-controls {

    padding: 2rem 1.25rem;

  }

  .simulator-results {

    padding: 2.25rem 1.25rem;

  }

  .form-card {

    padding: 2rem 1.25rem;

  }

  .form-grid {

    grid-template-columns: 1fr;

    gap: 1.25rem;

  }

  .btn {

    white-space: normal;

    text-align: center;

    word-break: normal;

    overflow-wrap: break-word;

  }

  .btn-lg {

    padding: 0.95rem 1.4rem;

    font-size: 1rem;

  }

  .legal-content {

    padding: 2rem 1.25rem;

  }

  .contact-card {

    padding: 2rem 1.25rem;

  }

  .footer-grid {

    grid-template-columns: 1fr;

    gap: 2.5rem;

  }

  .footer-bottom {

    flex-direction: column;

    align-items: flex-start;

  }

  .cta-banner {

    padding: 3rem 1.5rem;

  }

}



@media (max-width: 480px) {

  .container {

    padding-left: 1rem;

    padding-right: 1rem;

  }

  .sim-card {

    padding: 1.5rem 1rem !important;

  }

  .sim-label-row {

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 0.45rem !important;

    margin-bottom: 0.85rem !important;

  }

  .sim-value-badge {

    font-size: 1.2rem !important;

    padding: 0.3rem 0.75rem !important;

    align-self: flex-start !important;

    max-width: 100% !important;

  }

  .sim-input-row {

    position: relative !important;

    width: 100% !important;

    gap: 0 !important;

  }

  .sim-text-input {

    width: 100% !important;

    padding-right: 4.8rem !important;

  }

  .sim-input-unit {

    position: absolute !important;

    right: 1.15rem !important;

    top: 50% !important;

    transform: translateY(-50%) !important;

    font-size: 1.05rem !important;

    color: var(--color-navy-dark) !important;

    font-weight: 700 !important;

    pointer-events: none !important;

  }

  .sim-presets {

    display: grid !important;

    grid-template-columns: repeat(3, 1fr) !important;

    gap: 0.45rem !important;

  }

  .sim-preset-btn {

    padding: 0.45rem 0.2rem !important;

    font-size: 0.8rem !important;

    text-align: center !important;

  }

  .form-card {

    padding: 1.5rem 1rem;

  }

  .form-step-item {

    padding: 0.75rem 0.9rem;

    gap: 0.65rem;

  }

  .btn-lg {

    padding: 0.85rem 1.15rem;

    font-size: 0.95rem;

  }

  .solutions-grid,

  .steps-grid,

  .reassurance-grid,

  .info-grid {

    grid-template-columns: 1fr;

    gap: 1.25rem;

  }

  .sim-range-limits {

    font-size: 0.72rem;

  }

  h1 {

    font-size: 2rem;

  }

  h2 {

    font-size: 1.65rem;

  }

  .hero-actions {

    flex-direction: column;

    width: 100%;

  }

  .hero-actions .btn {

    width: 100%;

  }

}



@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

    scroll-behavior: auto !important;

  }

  .reveal {

    opacity: 1 !important;

    transform: none !important;

  }

}





/* ==========================================================================

   SÉLECTEUR MULTILINGUE (FR / EN / ES / DE) AVEC DRAPEAUX VECTORIELS SVG

   ========================================================================== */

.flag-icon {

  display: inline-block;

  vertical-align: middle;

  border-radius: 2px;

  box-shadow: 0 0 2px rgba(0, 0, 0, 0.45);

  flex-shrink: 0;

}



.lang-selector {

  position: relative;

  display: inline-flex;

  align-items: center;

  flex-shrink: 0;

}



.lang-btn {

  display: inline-flex;

  align-items: center;

  gap: 0.45rem;

  padding: 0.45rem 0.75rem;

  height: 42px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(198, 164, 90, 0.35);

  border-radius: var(--radius-sm);

  color: var(--color-white);

  font-family: var(--font-body);

  font-size: 0.86rem;

  font-weight: 600;

  cursor: pointer;

  transition: all var(--transition-fast);

  line-height: 1;

  white-space: nowrap;

}



.lang-btn:hover,

.lang-btn:focus-visible,

.lang-selector.open .lang-btn {

  background: rgba(198, 164, 90, 0.18);

  border-color: var(--color-gold);

  outline: none;

}



.lang-current-flag {

  display: inline-flex;

  align-items: center;

  line-height: 1;

}



.lang-current-code {

  letter-spacing: 0.05em;

  font-weight: 700;

}



.lang-chevron {

  transition: transform var(--transition-fast);

  color: var(--color-gold);

  margin-left: 0.1rem;

}



.lang-selector.open .lang-chevron {

  transform: rotate(180deg);

}



.lang-dropdown-menu {

  position: absolute;

  top: calc(100% + 8px);

  right: 0;

  min-width: 155px;

  background: #0d1a36;

  border: 1px solid rgba(198, 164, 90, 0.35);

  border-radius: var(--radius-sm);

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);

  padding: 0.4rem;

  opacity: 0;

  visibility: hidden;

  transform: translateY(-6px);

  transition: all var(--transition-fast);

  z-index: 1050;

  list-style: none;

}



.lang-selector.open .lang-dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);

}



.lang-option {

  width: 100%;

  display: flex;

  align-items: center;

  gap: 0.65rem;

  padding: 0.55rem 0.75rem;

  background: transparent;

  border: none;

  border-radius: 4px;

  color: #e2e8f0;

  font-family: var(--font-body);

  font-size: 0.85rem;

  font-weight: 500;

  text-align: left;

  cursor: pointer;

  transition: background var(--transition-fast), color var(--transition-fast);

}



.lang-option:hover,

.lang-option:focus-visible {

  background: rgba(198, 164, 90, 0.2);

  color: var(--color-gold-light);

  outline: none;

}



.lang-option.active {

  background: rgba(198, 164, 90, 0.25);

  color: var(--color-gold-light);

  font-weight: 700;

}



.lang-option-flag {

  display: inline-flex;

  align-items: center;

}



.lang-option-name {

  flex: 1;

}



.lang-option-code {

  font-size: 0.75rem;

  opacity: 0.7;

  text-transform: uppercase;

}



/* Mobile Drawer Lang Switcher */

.mobile-lang-switcher {
  margin: 1rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.mobile-lang-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
}



.mobile-lang-btn {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 0.35rem;

  padding: 0.55rem 0.25rem;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(198, 164, 90, 0.25);

  border-radius: var(--radius-sm);

  color: var(--color-white);

  font-size: 0.82rem;

  font-weight: 600;

  cursor: pointer;

  transition: all var(--transition-fast);

}



.mobile-lang-btn.active,

.mobile-lang-btn:hover {

  background: rgba(198, 164, 90, 0.25);

  border-color: var(--color-gold);

  color: var(--color-gold-light);

}





@media (max-width: 400px) {

  .header-container {

    padding-left: 0.75rem;

    padding-right: 0.75rem;

  }

  .header-logo {

    height: 32px;

    max-width: 155px;

  }

  .header-actions {

    gap: 0.35rem !important;

  }

  .lang-btn {

    height: 36px;

    padding: 0.25rem 0.45rem;

    font-size: 0.75rem;

    gap: 0.25rem;

  }

  .menu-toggle {

    width: 36px;

    height: 36px;

  }

}



/* ==========================================================================
   TOPBAR DE RÉASSURANCE INSTITUTIONNELLE (INSPIRATION SOLIDALOAN & STANDARDS SENIOR)
   ========================================================================== */
.site-topbar {
  background: linear-gradient(90deg, #060d1a 0%, #0c1830 50%, #060d1a 100%);
  border-bottom: 1px solid rgba(198, 164, 90, 0.22);
  color: #c9d5e8;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  height: var(--topbar-height, 36px);
  line-height: var(--topbar-height, 36px);
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
  width: 100%;
}

.topbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #c9d5e8;
  font-weight: 500;
}

.topbar-item .topbar-icon {
  color: var(--color-gold);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.topbar-suivi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff !important;
  background: rgba(198, 164, 90, 0.18);
  border: 1px solid rgba(198, 164, 90, 0.45);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.76rem;
  transition: all 0.25s ease;
  line-height: 1.4;
}

.topbar-suivi-link:hover {
  background: var(--color-gold) !important;
  color: #0b1730 !important;
  border-color: var(--color-gold) !important;
  box-shadow: 0 0 12px rgba(198, 164, 90, 0.5);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 991px) {
  .topbar-desktop-only {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .topbar-container {
    padding: 0 0.75rem;
  }
  .topbar-items {
    font-size: 0.72rem;
  }
  .topbar-suivi-link {
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   SÉLECTEUR DE PROJETS DE VIE (INTERACTIVE LIFE PROJECT CARDS)
   ========================================================================== */
.project-selector-wrapper {
  margin: 2.5rem 0 1.5rem;
}

.project-selector-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.project-selector-badge {
  display: inline-block;
  background: rgba(198, 164, 90, 0.15);
  border: 1px solid rgba(198, 164, 90, 0.35);
  color: var(--color-gold-bright);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.project-selector-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #0b1730;
  margin-bottom: 0.4rem;
}

.project-selector-subtext {
  font-size: 0.92rem;
  color: #5d6b82;
}

.project-selector-badge {
  display: inline-block;
  background: rgba(198, 164, 90, 0.15);
  border: 1px solid rgba(198, 164, 90, 0.4);
  color: #9e7d36;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.credit-resp-hero .project-selector-badge {
  color: #f5d998 !important;
  background: rgba(198, 164, 90, 0.22) !important;
  border-color: rgba(198, 164, 90, 0.45) !important;
}

.project-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-pill-btn {
  background: rgba(17, 34, 68, 0.7);
  border: 1px solid rgba(198, 164, 90, 0.25);
  border-radius: 12px;
  padding: 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  width: 100%;
}

.project-pill-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 164, 90, 0.65);
  background: rgba(22, 44, 88, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(198, 164, 90, 0.15);
}

.project-pill-btn.active {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, rgba(28, 54, 108, 0.92) 0%, rgba(17, 34, 68, 0.95) 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 20px rgba(198, 164, 90, 0.3);
}

.project-pill-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(198, 164, 90, 0.12);
  border: 1px solid rgba(198, 164, 90, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  color: var(--color-gold-light);
  font-size: 1.35rem;
  transition: all 0.25s ease;
}

.project-pill-btn:hover .project-pill-icon,
.project-pill-btn.active .project-pill-icon {
  background: var(--color-gold);
  color: #0b1730;
  transform: scale(1.08);
}

.project-pill-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.project-pill-desc {
  font-size: 0.75rem;
  color: #94a8c7;
  line-height: 1.3;
}

.project-pill-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
}

/* ==========================================================================
   PAGE SUIVI DE DOSSIER (LIVE TRACKING EXPERIENCE)
   ========================================================================== */
.suivi-section {
  padding: 3rem 0 5rem;
  background-color: var(--color-gray-light);
}

.suivi-search-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.2rem;
  max-width: 820px;
  margin: -3.5rem auto 2.5rem;
  box-shadow: 0 16px 40px rgba(11, 23, 48, 0.08);
  position: relative;
  z-index: 10;
}

.suivi-search-card.dark-theme {
  background: linear-gradient(135deg, #0b1730 0%, #15264a 100%);
  border-color: rgba(198, 164, 90, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.suivi-search-card.dark-theme .suivi-card-title {
  color: #ffffff;
}

.suivi-search-card.dark-theme .suivi-card-desc {
  color: #9cb0cb;
}

.suivi-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b1730;
  margin-bottom: 0.4rem;
}

.suivi-card-desc {
  font-size: 0.9rem;
  color: #5d6b82;
  margin-bottom: 1.5rem;
}

.suivi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.85rem;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .suivi-form-grid {
    grid-template-columns: 1fr;
  }
}

.suivi-input-wrap label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.suivi-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.suivi-input-wrap input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(198, 164, 90, 0.35);
}

.suivi-btn-search {
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
  color: #0b1730;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
}

.suivi-btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 164, 90, 0.4);
}

/* Tracking Result Card */
.suivi-result-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(11, 23, 48, 0.06);
  border: 1px solid #e2e8f0;
  padding: 2.2rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

.suivi-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 2rem;
}

.suivi-ref-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.suivi-ref-code {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b1730;
  letter-spacing: 0.04em;
  font-family: monospace;
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.suivi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
}

.suivi-badge.status-analysis {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.suivi-badge.status-approved {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.suivi-badge.status-received {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* Timeline Track */
.timeline-track-wrap {
  margin: 2rem 0;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

@media (max-width: 768px) {
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-step.completed .timeline-step-icon {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.timeline-step.current .timeline-step-icon {
  background: var(--color-gold);
  color: #0b1730;
  box-shadow: 0 0 16px rgba(198, 164, 90, 0.6);
  animation: pulseCurrent 2s infinite;
}

.timeline-step.upcoming .timeline-step-icon {
  background: #e2e8f0;
  color: #94a3b8;
}

.timeline-step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.timeline-step-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Summary Details Grid */
.suivi-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.75rem 0;
}

.suivi-detail-item {
  display: flex;
  flex-direction: column;
}

.suivi-detail-label {
  font-size: 0.76rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.suivi-detail-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1730;
}

/* Documents Checklist */
.doc-checklist-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1730;
  margin: 1.75rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.doc-check-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.doc-check-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.doc-check-icon {
  font-size: 1.25rem;
}

.doc-check-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
}

.doc-check-status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
}

.doc-status-ok {
  background: #d1fae5;
  color: #065f46;
}

.doc-status-pending {
  background: #fef3c7;
  color: #92400e;
}

.doc-status-waiting {
  background: #f1f5f9;
  color: #64748b;
}

/* Murcef & Security Alerts */
.murcef-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin: 1.75rem 0 1rem;
  font-size: 0.88rem;
  color: #14532d;
  line-height: 1.5;
}

.murcef-box strong {
  color: #166534;
}

/* Assigned Advisor Box */
.advisor-card {
  background: linear-gradient(135deg, #0b1730 0%, #15264a 100%);
  border-radius: 12px;
  padding: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(198, 164, 90, 0.25);
}

.advisor-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.advisor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(198, 164, 90, 0.18);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.advisor-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.advisor-role {
  font-size: 0.78rem;
  color: var(--color-gold-light);
}

.advisor-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.advisor-cta-btn:hover {
  background: var(--color-gold) !important;
  color: #0b1730 !important;
  border-color: var(--color-gold) !important;
}

/* ==========================================================================
   PAGE CRÉDIT RESPONSABLE & PRÉVENTION ANTI-FRAUDE
   ========================================================================== */
.credit-resp-hero {
  background: linear-gradient(135deg, #07101f 0%, #0e1e3b 50%, #07101f 100%);
  padding: 4rem 0 3.5rem;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid rgba(198, 164, 90, 0.2);
}

.fraud-warning-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid #d97706;
  border-radius: 10px;
  padding: 1.35rem 1.6rem;
  margin: 2.2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
}

.fraud-warning-banner .warning-icon {
  font-size: 2rem;
  color: #d97706;
  flex-shrink: 0;
  line-height: 1;
}

.fraud-warning-banner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.35rem;
}

.fraud-warning-banner p {
  font-size: 0.88rem;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}

.fraud-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.fraud-rule-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 6px 18px rgba(11, 23, 48, 0.04);
  transition: transform 0.2s ease;
}

.fraud-rule-card:hover {
  transform: translateY(-2px);
}

.fraud-rule-card.danger {
  border-top: 4px solid #ef4444;
}

.fraud-rule-card.safe {
  border-top: 4px solid #10b981;
}

.fraud-rule-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fraud-rule-card.danger .fraud-rule-title {
  color: #b91c1c;
}

.fraud-rule-card.safe .fraud-rule-title {
  color: #047857;
}

.fraud-rule-body {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

.fraud-contact-box {
  background: linear-gradient(135deg, #0b1730 0%, #172c57 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin: 3rem 0;
  border: 1px solid rgba(198, 164, 90, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.fraud-contact-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.fraud-contact-box p {
  font-size: 0.95rem;
  color: #9cb0cb;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.fraud-contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-gold);
  color: #0b1730 !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.fraud-contact-email-btn:hover {
  background: var(--color-gold-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 164, 90, 0.4);
}


.credit-resp-hero h1,
.credit-resp-hero .page-title {
  color: #ffffff !important;
}

.credit-resp-hero .hero-desc {
  color: #cbd5e1 !important;
}

/* Optimisation mobile senior topbar & header */
@media (max-width: 640px) {
  .topbar-container {
    padding: 0 0.65rem;
  }
  .topbar-items {
    font-size: 0.72rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  .topbar-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .topbar-actions {
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
  .topbar-suivi-link {
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-shrink: 0 !important;
  }
  .menu-toggle {
    display: flex !important;
    flex-shrink: 0 !important;
  }
}


/* ==========================================================================
   STYLES VECTORIELS SVG PREMIUM (REMPLACEMENT INTÉGRAL DES EMOJIS)
   ========================================================================== */
.project-svg-icon {
  width: 26px;
  height: 26px;
  stroke: var(--color-gold-light);
  stroke-width: 2;
  fill: none;
  transition: all 0.25s ease;
  display: block;
  margin: 0 auto;
}

.project-pill-btn:hover .project-svg-icon,
.project-pill-btn.active .project-svg-icon {
  stroke: #0b1730;
  transform: scale(1.12);
}

.ui-svg-icon {
  display: inline-block;
  vertical-align: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.topbar-icon svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  stroke: var(--color-gold);
}

.doc-check-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold);
  vertical-align: middle;
}

.warning-icon svg {
  width: 28px;
  height: 28px;
  stroke: #d97706;
}

.fraud-rule-title svg {
  width: 20px;
  height: 20px;
  margin-right: 0.4rem;
  vertical-align: -3px;
}


/* ==========================================================================
   OPTIMISATION MOBILE SENIOR : SELECTEUR DE PROJETS & TABLEAU DE SIMULATION
   ========================================================================== */

/* Tableaux et Exemples indicatifs de pret */
.loan-examples-wrapper {
  margin-top: 3.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-border);
}

.loan-examples-title {
  font-size: 1.4rem;
  color: var(--color-navy-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.loan-examples-subtitle {
  color: var(--color-gray-muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid var(--color-gray-border);
}

.sim-loan-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 600px;
}

.sim-loan-table th {
  background: var(--color-navy-dark);
  color: #ffffff;
  padding: 0.95rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.sim-loan-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-gray-border);
  color: var(--color-navy);
  vertical-align: middle;
}

.sim-loan-table tr:last-child td {
  border-bottom: none;
}

.sim-loan-table tr:hover td {
  background: rgba(198, 164, 90, 0.05);
}

.sim-table-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(198, 164, 90, 0.15);
  color: var(--color-gold);
}

.sim-table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-table-action-btn:hover {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  transform: translateY(-1px);
}

@media (min-width: 641px) and (max-width: 900px) {
  .project-pills-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
  }
  .project-pill-btn {
    padding: 0.85rem 0.65rem !important;
  }
}

@media (max-width: 640px) {
  /* Selecteur de projet : Grille compacte 2 colonnes ultra-optimisee */
  .project-selector-wrapper {
    margin-bottom: 1.75rem !important;
    padding: 0 !important;
  }
  .project-selector-title-wrap {
    margin-bottom: 1rem !important;
    text-align: center !important;
  }
  .project-selector-heading {
    font-size: 1.22rem !important;
    margin-bottom: 0.35rem !important;
  }
  .project-selector-subtext {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
  }
  .project-pills-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
    max-width: 100% !important;
  }
  .project-pill-btn {
    padding: 0.65rem 0.4rem 0.55rem !important;
    min-height: 72px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .project-pill-tag {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    font-size: 0.58rem !important;
    padding: 0.1rem 0.32rem !important;
    border-radius: 4px !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
  }
  .project-pill-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    margin-bottom: 0.3rem !important;
  }
  .project-svg-icon {
    width: 18px !important;
    height: 18px !important;
  }
  .project-pill-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.15rem !important;
    color: #ffffff !important;
    white-space: normal !important;
  }
  .project-pill-desc {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    opacity: 0.82 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Simulateur : Vue mobile compacte et elegante */
  .simulator-wrapper {
    margin-top: 1rem !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .simulator-controls {
    padding: 1.2rem 0.85rem !important;
  }
  .simulator-controls h2 {
    font-size: 1.25rem !important;
    margin-bottom: 0.35rem !important;
  }
  .simulator-controls p.text-muted {
    font-size: 0.82rem !important;
    margin-bottom: 1.25rem !important;
  }
  .sim-presets {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-top: 0.65rem !important;
  }
  .sim-preset-btn {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.74rem !important;
    border-radius: 6px !important;
    flex: 1 1 calc(33.333% - 0.35rem) !important;
    text-align: center !important;
  }
  .sim-range-limits {
    font-size: 0.7rem !important;
  }
  .sim-label-row {
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
    margin-bottom: 0.35rem !important;
  }
  .sim-label {
    font-size: 0.86rem !important;
  }
  .sim-value-badge {
    font-size: 0.82rem !important;
    padding: 0.2rem 0.5rem !important;
  }

  /* Synthese et Tableau de resultat du pret */
  .simulator-results {
    padding: 1.35rem 0.95rem !important;
  }
  .result-header h3 {
    font-size: 1.15rem !important;
  }
  .result-main {
    padding: 0.95rem 0.75rem !important;
    margin-bottom: 1rem !important;
    border-radius: 10px !important;
  }
  .result-main-lbl {
    font-size: 0.78rem !important;
  }
  .result-main-val {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
    margin: 0.25rem 0 !important;
  }
  .result-main-note {
    font-size: 0.75rem !important;
  }
  .result-list {
    gap: 0.5rem !important;
  }
  .result-item {
    font-size: 0.82rem !important;
    padding-bottom: 0.45rem !important;
  }
  .result-item-lbl {
    font-size: 0.78rem !important;
  }
  .result-item-val {
    font-size: 0.85rem !important;
  }
  .sim-disclaimer {
    font-size: 0.72rem !important;
    padding: 0.65rem 0.75rem !important;
    margin: 1rem 0 !important;
    line-height: 1.35 !important;
  }
  #btn-sim-continue {
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }

  /* Tableau mobile barème */
  .loan-examples-wrapper {
    padding: 1.25rem 0.85rem !important;
    margin-top: 2rem !important;
  }
  .loan-examples-title {
    font-size: 1.15rem !important;
  }
}


/* ==========================================================================
   STYLES PHOTOGRAPHIQUES PROFESSIONNELS & BANNIERES DE CONFIANCE
   ========================================================================== */
.photo-card-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 23, 48, 0.15);
  border: 1px solid rgba(198, 164, 90, 0.25);
  background: var(--color-navy-dark);
}

.photo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card-wrap:hover .photo-card-img {
  transform: scale(1.03);
}

/* Banniere d'accompagnement humain (Accueil) */
.advisor-banner-section {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(17, 34, 68, 0.95) 0%, rgba(11, 23, 48, 0.98) 100%);
  border: 1px solid rgba(198, 164, 90, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.advisor-banner-content {
  padding: 3rem;
}

.advisor-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: rgba(198, 164, 90, 0.15);
  border: 1px solid rgba(198, 164, 90, 0.35);
  color: var(--color-gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.advisor-banner-heading {
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.advisor-banner-desc {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.advisor-banner-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.advisor-banner-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-size: 0.92rem;
}

.advisor-banner-feature svg {
  stroke: var(--color-gold);
  flex-shrink: 0;
}

.advisor-banner-photo {
  height: 100%;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.advisor-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grille photos solutions */
.solution-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.solution-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.solution-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(198, 164, 90, 0.4);
}

.solution-photo-thumb {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.solution-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-photo-card:hover .solution-photo-thumb img {
  transform: scale(1.05);
}

.solution-photo-body {
  padding: 1.35rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-photo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 0.4rem;
}

.solution-photo-text {
  font-size: 0.88rem;
  color: var(--color-gray-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .advisor-banner-section {
    grid-template-columns: 1fr;
  }
  .advisor-banner-photo {
    min-height: 260px;
    max-height: 340px;
    order: -1;
  }
  .advisor-banner-content {
    padding: 1.75rem 1.25rem;
  }
  .advisor-banner-heading {
    font-size: 1.4rem;
  }
  .solution-photo-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
