/* =================================================================
   AIDES INFOS - Feuille de styles principale
   ================================================================= */

    :root {
      --primary-color: #000090;
      --primary-dark: #6A6AF3;
      --success-color: #18753B;
      --error-color: #CE0501;
      --text-color: #161615;
      --text-secondary: #665666;
      --bg-light: #F6F6F5;
      --border-color: #DDDDDC;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
      --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
      --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
      --transition: all 0.2s ease;
      --border-radius: 0;
      --button-blue: #000090;
    }
    
    * { 
      box-sizing: border-box;
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    body { 
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; 
      background: white; 
      margin: 0; 
      padding: 0; 
      text-align: center;
      font-size: 16px;
      line-height: 1.65;
      color: #332;
    }
    
    /* Force Manrope sur TOUS les éléments */
    button, input, textarea, select, a, p, h1, h2, h3, h4, h5, h6, span, div, li, label, summary, details {
      font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    }
    
    header { 
      background: white; 
      padding: 1rem 0; 
      box-shadow: var(--shadow-sm); 
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    
    .header-content { 
      max-width: 900px; 
      margin: 0 auto; 
      display: flex; 
      align-items: center; 
      justify-content: space-between; 
      gap: 0.5rem; 
      padding: 0 1.25rem; 
      flex-wrap: wrap; 
    }
    
    .logo-aides { height: 4rem; }
    .logo-maprime { height: 4rem; }
    .logo-cee { height: 3.75rem; }
    .logo-eco { height: 3.5rem; }
    
    @media (max-width: 768px) {
      .logo-aides, .logo-maprime, .logo-cee, .logo-eco { height: 65px; }
    }
    
    .hero {
      background: #f5f5ff;
      color: #000090;
      padding: 2.5rem 1.05rem 0 1.05rem;
      text-align: center;
      display: none;
    }
    
    .hero h1 {
      font-size: clamp(1.8rem, 4.5vw, 2.5rem);
      margin: 0 0 0.5rem 0;
      font-weight: 600;
    }
    
    .hero p {
      font-size: clamp(0.95rem, 2.5vw, 1.1rem);
      max-width: 800px;
      margin: 0 auto;
      opacity: 0.95;
      line-height: 1.4;
    }
    
    .simulator-section {
      background: #f5f5ff;
      padding: 2.5rem 1.5rem 2rem 1.5rem;
      margin: 0;
    }
    
    .simulator-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      gap: 2rem;
      align-items: flex-start;
      justify-content: center;
    }
    
    .simulator-image {
      flex-shrink: 0;
      width: 350px;
      height: 525px;
      border-radius: 0;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border: 1px solid #DDDDDC;
      background: white;
      position: relative;
    }
    
    .simulator-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center bottom;
    }
    
    .simulator-text-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      background: white;
      padding: 0.875rem 1rem 0.625rem 1rem;
      text-align: center;
      z-index: 10;
    }
    
    .simulator-text-overlay .amount-large {
      font-size: 3rem;
      font-weight: 800;
      color: #000090;
      margin: 0 0 0.375rem 0;
      line-height: 1;
      font-family: 'Manrope', sans-serif !important;
    }
    
    .simulator-text-overlay .amount-large .euro-symbol {
      font-size: 1.5rem;
      vertical-align: super;
      margin-left: 0.1rem;
      font-family: 'Manrope', sans-serif !important;
    }
    
    .simulator-text-overlay .description {
      font-size: 0.7rem;
      line-height: 1.3;
      color: #332;
      margin: 0;
      font-family: 'Manrope', sans-serif !important;
    }
    
    .simulator-text-overlay .description strong {
      font-weight: 600;
      font-family: 'Manrope', sans-serif !important;
    }
    
    .container { 
      flex: 0 0 auto;
      width: 600px;
      height: 525px;
      padding: 2rem 2.5rem; 
      background: white; 
      border-radius: 0; 
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border: 1px solid #DDDDDC;
      display: flex;
      flex-direction: column;
    }
    
    #formSection {
      display: flex;
      flex-direction: column;
      height: 100%;
      flex: 1;
    }
    
    h1 { 
      color: #003365; 
      margin-top: -1rem;
      margin-bottom: 0.3rem; 
      font-size: 1.8rem;
      flex-shrink: 0;
      font-weight: 600;
    }
    
    p.lead { 
      color: var(--text-secondary); 
      font-size: 1rem; 
      margin-bottom: 0.5rem; 
      flex-shrink: 0;
      line-height: 1.4;
    }
    
    h2 { 
      color: #161615; 
      margin-bottom: 0; 
      font-size: 1.25rem;
      flex-shrink: 0;
      font-weight: 600;
    }
    
    .progress-bar { 
      height: 6px; 
      background: #e0e0df; 
      border-radius: 0; 
      overflow: hidden; 
      margin-bottom: 0.25rem; 
    }
    
    .progress { 
      height: 6px; 
      background: #000090; 
      width: 14.28%; 
      transition: width 0.4s ease; 
    }
    
    .progress-count { 
      text-align: right; 
      font-size: 0.875rem; 
      color: var(--text-color); 
      margin-bottom: 0.25rem; 
    }
    
    .form-step { 
      display: none;
      animation: fade 0.3s ease;
    }
    
    .form-step.active { 
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    
    .form-step h2 {
      flex-shrink: 0;
    }
    
    .form-step-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    @keyframes fade { 
      from {opacity:0; transform:translateX(10px);} 
      to {opacity:1; transform:translateX(0);} 
    }
    
    .options { 
      display: flex; 
      flex-wrap: wrap; 
      justify-content: center; 
      gap: 1rem; 
      margin-top: 0;
    }
    
    .options button { 
      border: 2px solid var(--primary-color); 
      background: white; 
      color: #161615; 
      font-weight: 500; 
      font-size: clamp(0.95rem, 2.5vw, 1.05rem); 
      border-radius: 0; 
      padding: 0.875rem 1.5rem; 
      cursor: pointer; 
      transition: var(--transition); 
      min-width: 230px; 
      min-height: 4.5rem; 
      line-height: 1.3;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    
    .options button.selected, 
    .options button:hover:not(:disabled) { 
      background: var(--primary-color); 
      color: white; 
    }
    
    .options button:active {
      transform: scale(0.98);
    }
    
    label { 
      display: block; 
      color: var(--text-color); 
      font-weight: bold; 
      margin-bottom: 0.625rem; 
    }
    
    .sr-only { 
      position: absolute; 
      width: 1px; 
      height: 1px; 
      padding: 0; 
      margin: -1px; 
      overflow: hidden; 
      clip: rect(0,0,0,0); 
      border: 0; 
    }
    
    input[type="text"], 
    input[type="number"], 
    input[type="email"], 
    input[type="tel"] { 
      padding: 0.75rem; 
      font-size: 1rem; 
      border: none;
      border-bottom: 3px solid #000090 !important;
      border-radius: 0; 
      text-align: center;
      max-width: 100%;
      background: #eee;
      color: #161615;
    }
    
    input[type="email"]::placeholder,
    input[type="tel"]::placeholder {
      color: #998;
      font-style: italic;
    }
    
    input[type="text"]:focus, 
    input[type="number"]:focus, 
    input[type="email"]:focus, 
    input[type="tel"]:focus {
      outline: 1.5px solid #226ae7;
      border-bottom: 3px solid #000090 !important;
      box-shadow: none;
    }
    
    .small-input { 
      width: 5rem; 
      margin-right: 0.5rem;
      padding: 0.75rem;
      border: none;
      border-bottom: 3px solid #000090 !important;
      border-radius: 0;
      font-size: 1rem;
      background: #eee;
      color: #161615;
    }
    
    .small-input::placeholder {
      color: #998;
      font-style: italic;
    }
    
    .small-input:focus {
      outline: 1.5px solid #226ae7;
      border-bottom: 3px solid #000090;
      box-shadow: none;
    }
    
    /* Enlever les flèches pour input number */
    .small-input::-webkit-outer-spin-button,
    .small-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      appearance: none;
      margin: 0;
    }
    .small-input[type=number] {
      -moz-appearance: textfield;
      -webkit-appearance: textfield;
      appearance: textfield;
    }
    
    input[type=number]::-webkit-outer-spin-button,
    input[type=number]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      appearance: none;
      margin: 0;
    }
    
    input[type=number] {
      -moz-appearance: textfield;
      -webkit-appearance: textfield;
      appearance: textfield;
    }
    
    .nav-buttons { 
      display: flex; 
      justify-content: center; 
      gap: 1.25rem; 
      margin-top: 0;
      flex-wrap: wrap;
      flex-shrink: 0;
    }
    
    .nav-buttons button { 
      border: 2px solid var(--primary-color); 
      background: white; 
      color: var(--primary-color); 
      padding: 0.75rem 1.875rem; 
      border-radius: 0; 
      font-size: 1rem; 
      cursor: pointer; 
      font-weight: 600; 
      transition: var(--transition);
      min-height: 3rem;
      min-width: 8rem;
      touch-action: manipulation;
    }
    
    .nav-buttons button:hover:not(:disabled) { 
      background: var(--primary-color); 
      color: white; 
    }
    
    .nav-buttons button:disabled { 
      opacity: 0.5; 
      cursor: not-allowed; 
    }
    
    .dropdown-wrapper { 
      position: relative; 
      display: inline-block; 
      width: min(300px, 100%); 
      z-index: 100; 
    }
    
    .dropdown-input { 
      width: 100%; 
      padding: 0.75rem; 
      border: none;
      border-bottom: 3px solid #000090 !important;
      border-radius: 0; 
      font-size: 1rem;
      background: #eee;
      color: #161615;
    }
    
    .dropdown-input::placeholder {
      color: #998;
      font-style: italic;
    }
    
    .dropdown-input:focus {
      outline: 1.5px solid #226ae7;
      border-bottom: 3px solid #000090;
      box-shadow: none;
    }
    
    .dropdown-list { 
      position: absolute; 
      top: 105%; 
      left: 0; 
      right: 0; 
      background: white; 
      border: 1px solid var(--border-color); 
      border-radius: 0; 
      max-height: 180px; 
      overflow-y: auto; 
      z-index: 9999; 
      box-shadow: var(--shadow-md); 
      display: none; 
    }
    
    .dropdown-item { 
      padding: 0.625rem 0.875rem; 
      cursor: pointer;
      min-height: 3rem;
      display: flex;
      align-items: center;
    }
    
    .dropdown-item:hover { 
      background: #fffffe; 
    }
    
    .counter { 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      gap: 1.5rem; 
      margin-top: 0;
    }
    
    .counter button { 
      background: white; 
      border: 2px solid var(--primary-color); 
      color: var(--primary-color); 
      font-size: 1rem; 
      font-weight: bold; 
      width: 2.2rem; 
      height: 2.2rem; 
      border-radius: 50%; 
      cursor: pointer; 
      transition: var(--transition);
      touch-action: manipulation;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .counter button:hover { 
      background: var(--primary-color); 
      color: white; 
    }
    
    .counter button:active {
      transform: scale(0.95);
    }
    
    .counter span { 
      font-size: clamp(1.4rem, 5vw, 1.6rem); 
      font-weight: bold; 
      min-width: 3.5rem; 
      text-align: center; 
      display: inline-block; 
    }
    
    .error-message { 
      color: var(--error-color); 
      background: #ffebed; 
      padding: 0.75rem; 
      border-radius: 0; 
      margin-top: 1rem; 
      display: none; 
      font-size: 1rem;
    }
    
    .error-message.show { display: block; }
    
    .loading { 
      color: var(--text-secondary); 
      font-style: italic; 
      margin-top: 0.75rem; 
    }
    
    .transition-screen { 
      display: none; 
      animation: fade 0.5s ease; 
    }
    
    .transition-screen.active { 
      display: block; 
    }
    
    .simulator-wrapper.transition-mode {
      display: block;
    }
    
    .simulator-wrapper.transition-mode .simulator-image {
      display: none;
    }
    
    .simulator-wrapper.transition-mode .container {
      margin: 0 auto;
      height: auto;
    }
    
    .scan-animation { margin: 2.5rem 0; }
    
    .scan-box { 
      width: min(150px, 40vw); 
      height: min(150px, 40vw); 
      margin: 0 auto; 
      position: relative; 
      border: 3px solid #000090; 
      border-radius: 0; 
      overflow: hidden; 
      background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%); 
    }
    
    .scan-line { 
      position: absolute; 
      width: 100%; 
      height: 3px; 
      background: linear-gradient(90deg, transparent, var(--primary-color), transparent); 
      animation: scan 2s ease-in-out infinite; 
      box-shadow: 0 0 15px var(--primary-color), 0 0 25px rgba(0,82,204,0.5); 
    }
    
    @keyframes scan { 
      0%, 100% { top: 0; }
      50% { top: calc(100% - 3px); }
    }
    
    .scan-icon { 
      position: absolute; 
      top: 50%; 
      left: 50%; 
      transform: translate(-50%, -50%); 
      font-size: clamp(3rem, 12vw, 5rem); 
      opacity: 0.2; 
      color: var(--text-color); 
    }
    
    .scan-message { 
      margin: 1.875rem 0; 
      font-size: clamp(1rem, 4vw, 1.2rem); 
      color: var(--text-color); 
      font-weight: 600; 
      min-height: 30px; 
    }
    
    .loading-dots::after { 
      content: ''; 
      animation: dots 1.5s steps(4, end) infinite; 
    }
    
    @keyframes dots {
      0%, 20% { content: ''; }
      40% { content: '.'; }
      60% { content: '..'; }
      80%, 100% { content: '...'; }
    }
    
    .intercept-form { 
      background: white; 
      padding: 1.5rem; 
      border-radius: 0; 
      box-shadow: var(--shadow-lg); 
      max-width: min(420px, 95%); 
      margin: 1.5rem auto;
      animation: slideUp 0.5s ease;
    }
    
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .intercept-form h3 { 
      color: var(--text-color); 
      margin-bottom: 0.625rem; 
      font-size: clamp(1.1rem, 3.5vw, 1.2rem); 
    }
    
    .intercept-form .highlight { 
      color: var(--button-blue);
      font-weight: bold; 
    }
    
    .form-group { 
      margin-bottom: 1rem; 
      text-align: left; 
    }
    
    .form-group label { 
      color: var(--text-color); 
      font-weight: 600; 
      margin-bottom: 0.375rem; 
      display: block; 
      font-size: 1rem; 
    }
    
    .form-group input { 
      width: 100%; 
      padding: 0.75rem; 
      border: 2px solid #ddc; 
      border-radius: 0; 
      font-size: 1rem; 
      transition: all 0.3s ease; 
    }
    
    .form-group input:focus { 
      outline: none; 
      border-color: var(--button-blue);
      box-shadow: 0 0 0 3px rgba(0,102,204,0.1); 
    }
    
    .form-group input.valid { border-color: #000090; }
    .form-group input.invalid { border-color: var(--error-color); }
    
    .form-group .validation-message { 
      font-size: 0.85rem; 
      margin-top: 0.375rem; 
      display: none; 
    }
    
    .form-group .validation-message.show { display: block; }
    .form-group .validation-message.success { color: #22c55d; }
    .validation-message.success { color: #22c55d; }
    .form-group .validation-message.error { color: var(--error-color); }
    
    .submit-btn { 
      width: 100%; 
      background: linear-gradient(135deg, var(--button-blue) 0%, #003d98 100%);
      color: white; 
      border: none; 
      padding: 0.875rem; 
      border-radius: 0; 
      font-size: 1rem; 
      font-weight: bold; 
      cursor: pointer; 
      transition: all 0.3s ease;
      margin-top: 0.5rem;
      min-height: 3rem;
      touch-action: manipulation;
    }
    
    .submit-btn:hover:not(:disabled) { 
      transform: translateY(-2px); 
      box-shadow: 0 5px 20px rgba(0,102,204,0.4); 
    }
    
    .submit-btn:disabled { 
      opacity: 0.5; 
      cursor: not-allowed; 
      transform: none;
    }
    
    .results-page { 
      display: none; 
      animation: fade 0.5s ease; 
    }
    
    .results-page.active { 
      display: block; 
    }
    
    .results-container-center {
      max-width: 700px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    
    .simulator-wrapper.results-mode {
      display: block;
    }
    
    .simulator-wrapper.results-mode .simulator-image {
      display: none;
    }
    
    .simulator-wrapper.results-mode .container {
      margin: 0 auto;
      height: auto;
    }
    
    .result-card { 
      background: linear-gradient(135deg, #667ee9 0%, #764ba1 100%); 
      color: white; 
      padding: 1.5rem; 
      border-radius: 8px; 
      margin: 1.25rem auto; 
      box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
      max-width: min(450px, 95%);
    }
    
    .result-card h2 { 
      color: white; 
      font-size: clamp(1.5rem, 5vw, 2rem); 
      margin: 0.625rem 0; 
    }
    
    .result-card .amount { 
      font-size: clamp(2.5rem, 8vw, 3.5rem); 
      font-weight: bold; 
      margin: 1.25rem 0; 
    }
    
    .aide-details { 
      background: white; 
      color: #332; 
      padding: 1.25rem; 
      border-radius: 0; 
      margin: 1.25rem 0; 
      text-align: left; 
    }
    
    .aide-item { 
      padding: 1rem; 
      border-left: 4px solid var(--primary-color); 
      margin: 1rem 0; 
      background: var(--bg-light); 
    }
    
    .aide-item h3 { 
      color: var(--text-color); 
      margin-top: 0; 
    }
    
    .aide-item .montant { 
      font-size: clamp(1.4rem, 5vw, 1.8rem); 
      color: #000090; 
      font-weight: bold; 
      margin: 0.625rem 0; 
    }
    
    .summary { 
      background: #fffffe; 
      padding: 1.25rem; 
      border-radius: 0; 
      margin: 1.25rem auto; 
      text-align: left; 
      box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
      max-width: min(450px, 95%);
    }
    
    .summary h3 { 
      color: var(--text-color); 
      margin-top: 0; 
      font-size: clamp(0.95rem, 3vw, 1rem);
    }
    
    .summary-item { 
      display: flex; 
      justify-content: space-between; 
      padding: 0.625rem 0; 
      border-bottom: 1px solid #ddc;
      gap: 1rem;
      flex-wrap: wrap;
    }
    
    .summary-item:last-child { border-bottom: none; }
    
    .summary-item span {
      font-size: 0.85rem;
    }
    
    .summary-item strong {
      font-size: 0.85rem;
      text-align: right;
    }
    
    .restart-btn { 
      background: var(--primary-color); 
      color: white; 
      border: none; 
      padding: 0.75rem 1.5rem; 
      border-radius: 0; 
      font-size: 1rem; 
      cursor: pointer; 
      margin-top: 1.25rem; 
      transition: var(--transition);
      min-height: 2.5rem;
      touch-action: manipulation;
      font-weight: 600;
    }
    
    .restart-btn:hover { 
      background: var(--primary-dark); 
      transform: translateY(-2px); 
      box-shadow: 0 5px 15px rgba(0,82,204,0.3); 
    }
    
    @media (max-width: 768px) {
      .pac-grid {
        grid-template-columns: 1fr !important;
      }
      
      .pac-steps-grid {
        grid-template-columns: 1fr !important;
      }
      
      .section .avantages-grid {
        grid-template-columns: 1fr !important;
      }
      
      .simulator-wrapper {
        flex-direction: column;
      }
      
      .simulator-image {
        display: none;
      }
      
      .container {
        width: 100%;
        max-width: 500px;
        height: auto;
        min-height: 600px;
      }
    }
    
    @media (min-width: 769px) and (max-width: 1024px) {
      .section .avantages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }
    
    @media (max-width: 480px) {
      body {
        font-size: 14px;
      }
      
      .hero {
        padding: 2.5rem 1rem;
      }
      
      .container { 
        padding: 1.25rem 1rem; 
        margin: 0 0.625rem 1.25rem; 
      }
      
      .header-content { 
        justify-content: center;
        gap: 0.75rem;
        padding: 0 1rem;
      }
      
      
      .options { 
        gap: 0.75rem; 
      }
      
      .options button { 
        min-width: 100%; 
        padding: 1rem 1.25rem;
        min-height: 3.5rem;
      }
      
      .dropdown-wrapper { 
        width: 100%; 
      }
      
      .intercept-form { 
        padding: 1.25rem; 
      }
      
      .nav-buttons {
        gap: 0.75rem;
      }
      
      .nav-buttons button {
        flex: 1;
        min-width: 0;
      }
      
      .counter {
        gap: 1.25rem;
      }
      
      .counter button {
        width: 3rem;
        height: 3rem;
        font-size: 1.3rem;
      }
      
      .form-group input {
        font-size: 16px;
      }
    }
    
    @media (min-width: 481px) and (max-width: 768px) {
      .container { 
        padding: 1.875rem 1.25rem; 
        margin: 0 0.625rem 1.25rem; 
      }
      
      .header-content { 
        justify-content: center; 
      }
      
      
      .options button { 
        min-width: calc(50% - 0.5rem); 
      }
      
      .dropdown-wrapper { 
        width: 100%; 
      }
      
      .intercept-form { 
        padding: 1.5rem; 
      }
    }
    
    @media (min-width: 769px) {
      .options button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,82,204,0.2);
      }
    }
    
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
    
    .confirmation-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      animation: fadeIn 0.3s ease;
    }
    
    .confirmation-overlay.show {
      display: flex;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .confirmation-dialog {
      background: #F6F6F5;
      border-radius: 0;
      padding: 2rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      max-width: 450px;
      width: 90%;
      animation: slideIn 0.3s ease;
      border: 1px solid #DDDDDC;
    }
    
    @keyframes slideIn {
      from { 
        opacity: 0;
        transform: translateY(-20px);
      }
      to { 
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .confirmation-dialog h3 {
      color: #003365;
      font-size: 1.3rem;
      margin: 0 0 1rem 0;
      text-align: center;
      line-height: 1.4;
    }
    
    .confirmation-dialog p {
      color: #665;
      font-size: 0.95rem;
      text-align: center;
      margin: 0 0 1.5rem 0;
      line-height: 1.5;
    }
    
    .confirmation-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .confirmation-buttons button {
      padding: 0.875rem 2rem;
      border-radius: 0;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
      min-width: 120px;
      min-height: 3rem;
    }
    
    .confirmation-buttons .btn-non {
      background: white;
      color: var(--button-blue);
      border: 2px solid var(--button-blue);
    }
    
    .confirmation-buttons .btn-non:hover {
      background: var(--button-blue);
      color: white;
    }
    
    .confirmation-buttons .btn-oui {
      background: var(--button-blue);
      color: white;
    }
    
    .confirmation-buttons .btn-oui:hover {
      background: #00006a;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,145,0.3);
    }
    
    /* Menu latéral */
    .side-menu {
      position: fixed;
      left: calc(50% - 650px - 290px);
      top: 287px;
      background: #F6F6F5;
      border: 1px solid #DDDDDC;
      border-radius: 0;
      padding: 1.5rem 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      z-index: 999;
      width: 260px;
      max-height: calc(100vh - 307px);
      overflow-y: auto;
      transition: top 0.3s ease;
    }
    
    .side-menu.sticky {
      top: 90px;
      max-height: calc(100vh - 110px);
    }
    
    .side-menu h3 {
      font-size: 0.85rem;
      color: #665;
      margin: 0 0 1rem 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
      text-align: left;
      padding-left: 0.75rem;
    }
    
    .side-menu-item {
      display: block;
      padding: 0.6rem 0.75rem;
      padding-left: 0.75rem;
      margin-bottom: 0.4rem;
      border-radius: 0;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
      color: #665;
      font-size: 0.85rem;
      line-height: 1.3;
      font-weight: 600;
      text-align: left;
      position: relative;
    }
    
    .side-menu-item:hover {
      color: #000090;
      text-decoration: underline;
    }
    
    .side-menu-item.active {
      color: #000090;
      border-left: 3px solid #000090;
      padding-left: calc(0.75rem - 3px);
      background: white;
    }
    
    .side-menu-item.active.highlight {
      border-left: none;
      padding-left: 0.75rem;
      background: linear-gradient(135deg, #0066cb 0%, #003d98 100%);
    }
    
    .side-menu-item.highlight {
      background: #000090;
      color: white;
      font-weight: 600;
      border: 2px solid #000090;
      text-align: center;
      justify-content: center;
      padding: 0.75rem 0.75rem;
      text-indent: 0;
      line-height: 1.4;
      transition: all 0.2s ease;
    }
    
    .side-menu-item.highlight:hover {
      background: white;
      color: #000090;
      border: 2px solid #000090;
      text-decoration: none;
    }
    
    .side-menu-item.highlight.active {
      background: white;
      color: #000090;
      border: 2px solid #000090;
    }
    
    .side-menu-item.highlight .side-menu-bullet {
      display: none;
    }
    
    .side-menu-bullet {
      display: inline-block;
      margin-right: 0.15rem;
      color: #665;
      font-weight: 600;
    }
    
    .side-menu-item:hover .side-menu-bullet {
      color: #000090;
    }
    
    .side-menu-item.active .side-menu-bullet {
      color: #000090;
    }
    
    .side-menu-text {
      display: inline;
    }
    
    footer a:hover {
      text-decoration: underline !important;
      text-decoration-thickness: 2px !important;
      text-underline-offset: 3px !important;
    }
    
    @media (max-width: 1200px) {
      .side-menu {
        display: none;
      }
    }
    
    /* Styles barre de navigation */
    .nav-link {
      color: #161615;
      text-decoration: none;
      font-weight: 400;
      font-size: 0.875rem;
      line-height: 1.5rem;
      padding: 0 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: all 0.2s;
    }
    
    .nav-link:hover {
      background: #ededec;
    }
    
    .nav-link.active {
      color: #000090;
      border-bottom: 2px solid #000090;
    }
    
    /* Hover pour toutes les cartes d'aides */
    a[href="maprimerenov.html"]:hover,
    a[href="maprimerenov.html"]:hover > div:first-child,
    a[href="coup-de-pouce.html"]:hover,
    a[href="coup-de-pouce.html"]:hover > div:first-child,
    a[href="tva-reduite.html"]:hover,
    a[href="tva-reduite.html"]:hover > div:first-child,
    a[href="eco-ptz.html"]:hover,
    a[href="eco-ptz.html"]:hover > div:first-child,
    a[href="aides-locales.html"]:hover,
    a[href="aides-locales.html"]:hover > div:first-child {
      background: #ededec !important;
    }
    
    
    /* Hover pour le bouton Contact dans la barre d'accueil */
    .contact-rdv-btn:hover {
      background: #ededec !important;
    }
    /* Hover pour le bouton Contact dans le header */
    

    #headerContactBtn:hover {
      background: white !important;
      color: #000090 !important;
      border: 2px solid #000090 !important;
    }
    
    #headerContactBtn:hover svg {
      stroke: #000090 !important;
    }
    
    
    /* Hover séparés pour nav (gris) et header (bleu foncé) */
    .contact-rdv-btn:hover {
      background: #ededec !important;
    }
    
    /* Hover pour le bouton dans "Demandez à être rappelé" */
    .callback-section a[href="#"]:hover {
      background: white !important;
      color: #000090 !important;
      border: 2px solid #000090 !important;
    }
    
    .callback-section a[href="#"]:hover svg {
      stroke: #000090 !important;
    }

/* =================================================================
   HEADER - CLASSES PROPRES
   ================================================================= */
.header-main {
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  cursor: pointer;
}

.header-logo-img {
  height: 4rem;
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 65px;
  }
}

.header-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.header-site-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: #161615;
  line-height: 1.3;
  text-align: left;
}

.header-site-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: #161615;
  line-height: 1.3;
  text-align: left;
}

.header-btn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  pointer-events: none;
}

.header-btn-wrapper {
  display: flex;
  justify-content: flex-end;
}

/* =================================================================
   BARRE DE NAVIGATION - CLASSES PROPRES
   ================================================================= */
.nav-bar {
  border-top: 1px solid #e5e5e4;
  border-bottom: 1px solid #e5e5e4;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.spacer-white {
  background: white;
  height: 40px;
}

#headerContactBtn {
    background: #000090;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: auto;
}

.contact-rdv-btn {
    background: #f5f5ff;
    color: #000090;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
    height: 48px;
}

/* =================================================================
   SECTION HERO - CLASSES PROPRES
   ================================================================= */
    .hero-wrapper {
      max-width: 1400px;
      margin: 0 auto 2rem auto;
      display: flex;
      justify-content: center;
    }

    .hero-content {
      width: 1000px;
      text-align: left;
    }

    .hero-title {
      color: #2f4076;
      font-size: 1.75rem;
      font-weight: 600;
      margin: 0 0 0.5rem 0;
      line-height: 1.3;
      text-align: left;
    }

    .hero-description {
      color: #2f4076;
      font-size: 1rem;
      margin: 0;
      line-height: 1.5;
      font-weight: 400;
      text-align: left;
    }

/* =================================================================
   SIDE MENU PAGES D'AIDES (side-menu-tva)
   ================================================================= */
    .side-menu-tva {
      position: fixed;
      left: calc(50% - 450px - 40px - 260px);
      top: 380px;
      background: #F6F6F5;
      border: 1px solid #DDDDDC;
      border-radius: 0;
      padding: 1.5rem 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      z-index: 100;
      width: 260px;
      max-height: calc(100vh - 400px);
      overflow-y: auto;
      transition: top 0.3s ease;
    }

    .side-menu-tva.sticky {
      top: 90px;
      max-height: calc(100vh - 110px);
    }

    .side-menu-tva h3 {
      font-size: 0.85rem;
      color: #665;
      margin: 0 0 1rem 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-weight: 600;
      text-align: left;
      padding-left: 0.75rem;
    }

    .side-menu-tva a {
      display: block;
      padding: 0.6rem 0.75rem;
      margin-bottom: 0.4rem;
      text-decoration: none;
      color: #665;
      font-size: 0.85rem;
      line-height: 1.3;
      font-weight: 600;
      text-align: left;
      transition: all 0.2s ease;
    }

    .side-menu-tva a:hover {
      color: #000090;
      cursor: pointer;
    }

    .side-menu-tva a:hover .side-menu-text {
      text-decoration: underline;
    }

    .side-menu-tva a:hover .side-menu-bullet {
      color: #000090;
    }

    .side-menu-tva a.active {
      color: #000090;
      background: white;
      border-left: 3px solid #000090;
      padding-left: calc(0.75rem - 3px);
    }

    .side-menu-tva a.active .side-menu-bullet {
      color: #000090;
    }

    .side-menu-tva a.highlight {
      background: #000090;
      color: white;
      font-weight: 600;
      border: 2px solid #000090;
      text-align: center;
      padding: 0.75rem;
      margin-bottom: 0.4rem;
      line-height: 1.4;
    }

    .side-menu-tva a.highlight:hover {
      text-decoration: none;
      background: white;
      color: #000090;
      border: 2px solid #000090;
    }

    @media (max-width: 1200px) {
      .side-menu-tva {
        display: none;
      }
    }


/* =================================================================
   CTA / CARROUSEL - CONTENEURS COMPLETS
   ================================================================= */
    #ctaContainer {
      max-width: 1200px;
      margin: 0 auto 3rem auto;
      padding: 0 1rem;
    }

    .cta-box {
      width: 1020px;
      height: 490px;
      background: white;
      position: relative;
      margin: 0 auto;
      display: flex;
      align-items: center;
    }

    .cta-carousel {
      width: 600px;
      height: 450px;
      position: absolute;
      left: 20px;
      top: 20px;
      background: #f5f5f4;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    #carouselContainer {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
    }

    .carousel-slide-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      filter: blur(15px);
      transform: scale(1.1);
    }

    .carousel-slide-bg.active {
      opacity: 1;
    }

    .carousel-slide {
      width: 100%;
      height: 100%;
      object-fit: contain;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      z-index: 2;
    }

    .carousel-slide.active {
      opacity: 1;
    }

    #prevSlide {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      color: #998;
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: all 0.3s;
    }

    #prevSlide:hover {
      color: #665;
    }

    #nextSlide {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      color: #998;
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: all 0.3s;
    }

    #nextSlide:hover {
      color: #665;
    }

    #carouselIndicators {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
      z-index: 10;
    }

    .indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background 0.3s;
    }

    .indicator.active {
      background: #000090;
    }

    .cta-panel {
      margin-left: 640px;
      width: 380px;
      height: 490px;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .cta-montant {
      font-size: 4rem;
      font-weight: 700;
      color: #000090;
      margin-bottom: 0.25rem;
      line-height: 1;
      position: relative;
    }

    .cta-euro {
      font-size: 1.8rem;
      position: absolute;
      top: 0.3rem;
      margin-left: 0.2rem;
    }

    .cta-cumul {
      font-size: 0.95rem;
      color: #2f4076;
      margin-bottom: 1.2rem;
      font-weight: 500;
      margin-top: 0.5rem;
    }

    .cta-aide {
      font-size: 0.95rem;
      color: #2f4076;
      line-height: 1.5;
      margin-bottom: 0.8rem;
    }

    .cta-calcul {
      font-size: 0.9rem;
      color: #2f4076;
      line-height: 1.4;
      margin-bottom: 1.8rem;
      font-weight: 600;
    }

    #cestPartiBtn {
      background: #000090;
      color: white;
      font-weight: 600;
      border: 2px solid #000090;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: 'Manrope', sans-serif;
      font-size: 0.95rem;
      line-height: 1.4;
      width: 100%;
      max-width: 300px;
      padding: 0;
      display: flex;
      align-items: stretch;
      overflow: hidden;
      min-height: 60px;
      box-sizing: border-box;
    }

    #cestPartiBtn:hover {
      background: white;
      color: #000090;
    }

    #cestPartiBtn:hover .icon-square {
      background: #f5f5ff;
    }

    .btn-texte {
      flex: 1;
      padding: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .icon-square {
      width: 68px;
      height: 100%;
      background: white;
      display: flex;
      align-items: center;
      justify-content: center;
      border-left: 2px solid #000090;
      transition: background 0.2s ease;
      flex-shrink: 0;
      box-sizing: border-box;
    }

    .icon-square img {
      width: 35px;
      height: 35px;
      object-fit: contain;
    }

/* =================================================================
   SIMULATEUR - CONTENEURS COMPLETS
   ================================================================= */
    .simulator-wrapper {
        display: none;
        max-width: 1000px;
        margin: 0 auto;
        justify-content: center;
    }

    #formSection h1 {
        color: #000090;
    }

    .commune-input-wrapper {
        display: flex;
        gap: 0;
        align-items: flex-start;
        justify-content: center;
    }

    .dropdown-wrapper {
        width: 300px;
    }

    #communeInput {
        width: 100%;
        padding: calc(0.75rem - 1px) 0.75rem;
        font-size: 1rem;
        height: 48px;
        box-sizing: border-box;
    }

    #dropdownList {
        font-size: 0.9rem;
    }

    .ok-btn {
        background: #000090;
        color: white;
        border: none;
        padding: 0;
        width: 48px;
        height: 48px;
        font-size: 1rem;
        cursor: pointer;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        opacity: 0.5;
        transition: opacity 0.3s;
        flex-shrink: 0;
    }

    .ok-btn:not(:disabled) {
        opacity: 1;
    }

    #foyerOkBtn {
        background: #000090;
        color: white;
        border: none;
        padding: 0;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        margin-top: 1rem;
        opacity: 0.5;
        transition: opacity 0.3s;
    }

    #foyerOkBtn:not(:disabled) {
        opacity: 1;
    }

    .surface-input-wrapper {
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
    }

    .surface-input-container {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    #surface {
        width: 110px;
        padding: calc(0.75rem - 1px) 2.5rem calc(0.75rem - 1px) 0.75rem;
        font-size: 1rem;
        border: 2px solid #ddc;
        text-align: center;
        font-family: 'Manrope', sans-serif;
        box-sizing: border-box;
        height: 48px;
    }

    .surface-unit {
        position: absolute;
        right: 0.75rem;
        color: #665;
        pointer-events: none;
        font-size: 1rem;
    }

    #prevBtn {
        margin: 0;
    }

    #calculerAidesBtn {
        background: #000090;
        color: white;
        border: 2px solid #000090;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        cursor: pointer;
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        opacity: 0.5;
        transition: opacity 0.3s;
        display: none;
    }

    #calculerAidesBtn:not(:disabled) {
        opacity: 1;
    }

    .scan-icon {
        width: 60px;
        height: 60px;
        opacity: 0.15;
    }

    #interceptForm {
        display: none;
    }

    #interceptForm p {
        color: #665;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        line-height: 1.1;
    }

    #interceptForm .form-group {
        margin-bottom: 0.625rem;
    }

    #interceptForm label {
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
    }

    #interceptForm input {
        padding: 0.5rem 0.625rem;
        font-size: 1rem;
    }

    #submitContact {
        padding: 0.625rem;
        font-size: 1rem;
        min-height: 2.5rem;
    }

    .intercept-disclaimer {
        font-size: 0.6rem;
        color: #998;
        margin-top: 0.5rem;
        line-height: 1.3;
        font-style: italic;
    }

    .intercept-disclaimer a {
        color: #0052cb;
    }

    #loadingCommune {
        display: none;
    }

    /* Results Section */
    #bonneNouvelleTitle {
        color: #0066cb;
        margin-bottom: 0.5rem;
        font-size: clamp(1.8rem, 6vw, 2.3rem);
        margin-top: -1.5rem;
    }

    #eligibleText {
        font-size: clamp(1.15rem, 4vw, 1.45rem);
        font-weight: bold;
        margin-bottom: 1.5rem;
        line-height: 1.25;
    }

    #eligibleText .eligible-blue {
        color: #0066cb;
    }

    #eligibleText .eligible-dark {
        color: #003365;
    }

    #resultCard {
        padding: 1.5rem;
        position: relative;
        margin-top: 2rem;
    }

    .result-thumb {
        background: white;
        width: 3.75rem;
        height: 3.75rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -1.875rem;
        left: 50%;
        transform: translateX(-50%);
        font-size: 2rem;
    }

    .result-spacer {
        margin-top: 1.75rem;
    }

    .result-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .result-label {
        font-size: 0.85rem;
    }

    .result-value {
        text-align: right;
    }

    #totalAmount {
        margin: 0;
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    #aidesDetail {
        text-align: left;
        color: white;
        margin-top: 0.375rem;
        font-size: 0.85rem;
    }

    .result-divider {
        display: flex;
        align-items: center;
        margin: 0.625rem 0;
        gap: 0.625rem;
    }

    .result-divider-line {
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,0.3);
    }

    .result-divider-plus {
        background: rgba(255,255,255,0.2);
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        line-height: 1;
    }

    .result-tva {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
    }

    .result-separator {
        height: 1px;
        background: rgba(255,255,255,0.3);
        margin: 0.625rem 0;
    }

    .result-reste-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.5rem;
    }

    #resteAChargeAmount {
        margin: 0;
        font-size: clamp(1.5rem, 6vw, 2rem);
        color: white;
    }

    #resteAChargeDisclaimer {
        color: white;
        font-size: 0.65rem;
        font-style: italic;
        margin-top: 0.5rem;
        line-height: 1.3;
        opacity: 0.85;
    }

    /* Email Section */
    #emailSection {
        margin: 0.75rem auto;
        padding: 0.75rem;
        background: #fffffe;
        border-radius: 0;
        max-width: min(450px, 95%);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    #emailSection h3 {
        color: #003365;
        text-align: center;
        margin-bottom: 0.25rem;
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    #emailSection > p {
        text-align: center;
        color: #665;
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
        line-height: 1.1;
    }

    .email-input-wrapper {
        display: flex;
        gap: 0;
        align-items: stretch;
        justify-content: center;
        flex-wrap: nowrap;
    }

    #emailResult {
        flex: 1;
        max-width: 300px;
        padding: 0.5rem;
        border: none;
        border-bottom: 3px solid #000090;
        border-radius: 0;
        font-size: 0.85rem;
        transition: all 0.3s ease;
        box-sizing: border-box;
        background: #eee;
        color: #161615;
        text-align: center;
    }

    #sendEmailBtn {
        background: var(--button-blue);
        color: white;
        border: none;
        padding: 0.5rem 1.5rem;
        border-radius: 0;
        font-size: 0.85rem;
        font-weight: bold;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }

    #emailResultValidation {
        font-size: 0.875rem;
        margin-top: 0.25rem;
        text-align: center;
    }

    /* Summary */
    .summary {
        padding: 0.75rem;
        background: #f5f5ff;
    }

    .summary h3 {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    #summaryContent {
        font-size: 0.65rem;
    }

/* =================================================================
   SECTION PAC - CONTENEURS COMPLETS
   ================================================================= */
    #section-pac {
        margin-top: 3rem;
    }

    #section-pac > h2 {
        color: #161615;
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: left;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

    #section-pac > p {
        color: #665;
        font-size: 1rem;
        max-width: 1300px;
        margin: 0 auto 2rem auto;
        line-height: 1.6;
        text-align: left;
    }

    .pac-box {
        background: #F6F6F5;
        border-radius: 0;
        padding: 2rem;
        max-width: 1300px;
        margin: 0 auto;
        border: 1px solid #DDDDDC;
    }

    .pac-box > h3 {
        color: #000090;
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        margin: 0 0 1.5rem 0;
        text-align: center;
    }

    .pac-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .pac-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .pac-steps-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        grid-template-rows: 1fr 1fr;
    }

    .pac-step-card {
        background: white;
        padding: 1.25rem;
        border-radius: 0;
        border: 1px solid #DDDDDC;
        border-bottom: 4px solid #000090;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        height: 100%;
    }

    .pac-step-number {
        width: 2rem;
        height: 2rem;
        background: #000090;
        color: white;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: bold;
        margin: 0 auto 0.75rem auto;
    }

    .pac-step-card h4 {
        color: #000090;
        font-size: 1rem;
        margin: 0 0 0.5rem 0;
        text-align: center;
        font-weight: 600;
    }

    .pac-step-card p {
        color: #665;
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0;
        text-align: center;
    }

    .bon-a-savoir {
        background: #f5f5ff;
        border-left: 4px solid #6a6af3;
        padding: 1.25rem 1.75rem;
        max-width: 1300px;
        margin: 2rem auto 0 auto;
        border-radius: 0;
        text-align: left;
    }

    .bon-a-savoir h4 {
        color: #2f4076;
        font-size: 1rem;
        margin: 0 0 0.5rem 0;
        font-weight: 600;
        text-align: left;
    }

    .bon-a-savoir p {
        color: #2f4076;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        text-align: left;
    }

/* =================================================================
   SECTION AVANTAGES - CONTENEURS COMPLETS
   ================================================================= */
    #section-avantages {
        margin-top: 3rem;
    }

    #section-avantages > h2 {
        color: #161615;
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: left;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

    #section-avantages > p {
        color: #665;
        font-size: 1rem;
        max-width: 1300px;
        margin: 0 auto 2rem auto;
        line-height: 1.6;
        text-align: left;
    }

    .avantages-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1300px;
        margin: 0 auto;
    }

    .avantage-card {
        background: white;
        padding: 1.5rem;
        border-radius: 0;
        border: 1px solid #e0e0df;
        text-align: center;
        border-bottom: 4px solid #000090;
    }

    .avantage-icon {
        width: 3.5rem;
        height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem auto;
    }

    .avantage-icon img {
        width: 100%;
        height: 100%;
    }

    .avantage-card h3 {
        color: #000090;
        font-size: 1.35rem;
        margin: 0 0 0.75rem 0;
        font-weight: 600;
        text-align: center;
    }

    .avantage-card p {
        color: #332;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        text-align: center;
    }

/* =================================================================
   SECTION AIDES - CONTENEURS COMPLETS
   ================================================================= */
    #section-aides {
      margin-top: 3rem;
    }

    #section-aides > h2 {
      color: #161615;
      font-size: clamp(1.5rem, 4vw, 2rem);
      margin-bottom: 1rem;
      font-weight: 600;
      text-align: left;
      max-width: 1300px;
      margin-left: auto;
      margin-right: auto;
    }

    #section-aides > p {
      color: #665;
      font-size: 1rem;
      max-width: 1300px;
      margin: 0 auto 2rem auto;
      line-height: 1.6;
      text-align: left;
    }

    .aides-grid {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .aide-card {
      background: white;
      border: 1px solid #ddc;
      padding: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      text-decoration: none;
      transition: background 0.2s;
      cursor: pointer;
    }

    .aide-card:hover .aide-card-img {
      background: #e8e8ff;
    }

    .aide-card-img {
      width: 100%;
      height: 200px;
      background: #f5f5ff;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .aide-card-img img {
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
    }

    .aide-card-content {
      padding: 1.75rem;
      min-height: 340px;
      display: flex;
      flex-direction: column;
    }

    .aide-card-content h3 {
      color: #000090;
      font-size: 1.35rem;
      margin: 0 0 1rem 0;
      font-weight: 600;
      text-align: left;
      line-height: 1.3;
    }

    .aide-card-content p {
      color: #332;
      font-size: 1.1rem;
      line-height: 1.7;
      margin: 0;
      text-align: left;
    }

    .aide-card-footer {
      padding: 1.25rem 1.75rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .aide-card-footer span {
      color: #665;
      font-size: 0.875rem;
      font-weight: 400;
    }

    .astuce-box {
      background: #f5f5ff;
      border-left: 4px solid #6a6af3;
      padding: 1.25rem 1.75rem;
      max-width: 1300px;
      margin: 1.5rem auto 0 auto;
      border-radius: 0;
      text-align: left;
    }

    .astuce-content {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }

    .astuce-text {
      text-align: left;
    }

    .astuce-text h4 {
      color: #2f4076;
      font-size: 1rem;
      margin: 0 0 0.5rem 0;
      font-weight: 600;
    }

    .astuce-text p {
      color: #2f4076;
      font-size: 1rem;
      line-height: 1.5;
      margin: 0;
    }

/* =================================================================
   SECTION TEMOIGNAGES - CONTENEURS COMPLETS
   ================================================================= */
    #section-temoignages {
        margin-top: 3rem;
    }

    #section-temoignages > h2 {
        color: #161615;
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: left;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

    #section-temoignages > p {
        color: #665;
        font-size: 1rem;
        max-width: 1300px;
        margin: 0 auto 2rem auto;
        line-height: 1.6;
        text-align: left;
    }

    .temoignages-wrapper {
        max-width: 1300px;
        margin: 0 auto;
    }

    .temoignages-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .temoignage-card {
        background: white;
        border: 1px solid #ddc;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        overflow: hidden;
    }

    .temoignage-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .temoignage-content {
        padding: 1.5rem;
    }

    .temoignage-content h3 {
        font-size: 1rem;
        color: #000090;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        line-height: 1.2;
        text-align: left;
    }

    .temoignage-content h3 span {
        font-weight: 300;
        font-style: italic;
        font-size: 0.85rem;
    }

    .temoignage-content p {
        font-size: 0.85rem;
        color: #665;
        margin: 0;
        line-height: 1.7;
        text-align: left;
    }

/* =================================================================
   SECTION POURQUOI - CONTENEURS COMPLETS
   ================================================================= */
    #section-pourquoi {
        margin-top: 3rem;
        background: #f5f5ff;
        padding: 2rem 1rem;
    }

    #section-pourquoi > h2 {
        color: #161615;
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: left;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
    }

    #section-pourquoi > p {
        color: #665;
        font-size: 1rem;
        max-width: 1300px;
        margin: 0 auto 2rem auto;
        line-height: 1.6;
        text-align: left;
    }

    .pourquoi-card {
        background: white;
        border: 1px solid #e0e0df;
        border-radius: 0;
        padding: 2rem 1.5rem;
        text-align: center;
        border-bottom: 4px solid #000090;
    }

    .pourquoi-card-icon {
        margin: 0 auto 1.5rem auto;
        display: flex;
        justify-content: center;
    }

    .pourquoi-card-icon img {
        max-width: 80px;
        height: auto;
    }

    .pourquoi-card h3 {
        color: #000090;
        font-size: 1.35rem;
        margin: 0 0 1rem 0;
        font-weight: 600;
        text-align: center;
    }

    .pourquoi-card p {
        color: #332;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
        text-align: center;
    }

    .notre-mission {
        background: #e8edfe;
        border-left: 4px solid #0066cb;
        padding: 1.25rem 1.5rem;
        max-width: 1300px;
        margin: 2rem auto 0 auto;
        border-radius: 0;
        text-align: left;
    }

    .notre-mission h4 {
        color: #2f4076;
        font-size: 1rem;
        margin: 0 0 0.5rem 0;
        font-weight: 600;
    }

    .notre-mission p {
        color: #2f4076;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

/* =================================================================
   SECTION FAQ - CONTENEURS COMPLETS
   ================================================================= */
    #section-faq {
        margin-top: 3rem;
        background: white;
        padding: 0.75rem 1rem 200px 1rem;
    }

    #section-faq > h2 {
        color: #161615;
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 0.75rem;
        text-align: left;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-wrapper {
        max-width: 900px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .faq-item {
        background: white;
        border: 1px solid #e0e0df;
        border-radius: 0;
        padding: 0.375rem 0.75rem;
    }

    .faq-item summary {
        font-weight: 600;
        font-size: 0.825rem;
        color: #161615;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        list-style: none;
    }

    .faq-item summary span {
        font-size: 1.125rem;
        font-weight: 300;
    }

    .faq-item .faq-content {
        margin-top: 0.375rem;
        padding-top: 0.375rem;
        border-top: 1px solid #e0e0df;
        color: #332;
        font-size: 0.875rem;
        line-height: 1.35;
        text-align: left;
    }

/* =================================================================
   SECTION CALLBACK - CONTENEURS COMPLETS
   ================================================================= */
    .callback-section {
        background: #f5f5ff;
        padding: 1.5rem 1rem;
        border-bottom: 2px solid #000090;
    }

    .callback-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 3rem;
    }

    .callback-left {
        text-align: left;
        flex: 1;
        max-width: 500px;
    }

    .callback-left h3 {
        font-size: 1.375rem;
        margin: 0;
        color: #161615;
        font-weight: 600;
    }

    .callback-left a {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
        background: #000090;
        color: white;
        font-weight: 600;
        border: 2px solid #000090;
        padding: 0.35rem 1rem;
        text-decoration: none;
        font-size: 0.85rem;
        height: 34px;
        box-sizing: border-box;
        transition: all 0.3s;
    }

    .callback-left a:hover {
        background: white;
        color: #000090;
    }

    .callback-left svg {
        transition: stroke 0.3s;
    }

    .callback-divider {
        border-left: 1px solid #000090;
        height: 80px;
        flex-shrink: 0;
        align-self: center;
    }

    .callback-right {
        text-align: left;
        flex: 1;
        max-width: 600px;
        padding-left: 1.5rem;
    }

    .callback-right h3 {
        font-size: 1.375rem;
        margin: 0;
        color: #161615;
        font-weight: 600;
    }

    .callback-right-buttons {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        justify-content: flex-start;
        margin-top: 0.75rem;
    }

    .callback-right button {
        background: #000090;
        color: white;
        font-weight: 600;
        border: 2px solid #000090;
        text-align: center;
        padding: 0.35rem 1rem;
        cursor: pointer;
        transition: all 0.3s;
        font-family: 'Manrope', sans-serif;
        font-size: 0.85rem;
        height: 34px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
    }

    .callback-right button:hover {
        background: white;
        color: #000090;
    }

/* =================================================================
   FOOTER - CONTENEURS COMPLETS
   ================================================================= */
    footer {
        background: #f6f6f5;
        color: #161615;
        padding: 2rem 1rem;
    }

    .footer-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        gap: 3rem;
        font-size: 0.75rem;
        line-height: 2rem;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-col-main {
        flex: 0 0 auto;
        max-width: 350px;
    }

    .footer-col {
        flex: 0 0 auto;
    }

    .footer-col h3,
    .footer-col-main h3 {
        font-size: 0.75rem;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        color: #161615;
        text-align: left;
        line-height: 2rem;
    }

    .footer-col-main p {
        margin: 0;
        line-height: 1.5rem;
        font-size: 0.75rem;
        text-align: left;
        color: #161615;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
        line-height: 2rem;
        text-align: left;
    }

    .footer-col ul li a {
        color: #161615;
        text-decoration: none;
        font-size: 0.75rem;
    }

/* =================================================================
   SECTION COPYRIGHT - CONTENEURS COMPLETS
   ================================================================= */
    .copyright-section {
        background: white;
        padding: 1.5rem 1rem 30px 1rem;
    }

    .copyright-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: flex-end;
        gap: 1.5rem;
    }

    .copyright-logo {
        display: block;
    }

    .copyright-logo img {
        height: 4rem;
        flex-shrink: 0;
    }

    .copyright-text {
        text-align: left;
        font-size: 0.75rem;
        color: #161615;
        line-height: 0.5rem;
        margin-bottom: 12px;
    }

    .copyright-text p:first-child {
        margin: 0 0 0.5rem 0;
    }

    .copyright-text p:last-child {
        margin: 0;
    }

/* =================================================================
   BOUTON HAUT DE PAGE - CONTENEURS COMPLETS
   ================================================================= */
    #backToTop {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(calc(650px + 2rem));
        background-color: #f5f5ff;
        color: #000090;
        font-size: 1rem;
        line-height: 1.5rem;
        text-decoration: underline;
        text-decoration-color: #000090;
        text-decoration-thickness: 1px;
        text-underline-offset: 4px;
        z-index: 1000;
        border: 0;
        padding: 0;
        box-sizing: border-box;
        cursor: pointer;
        text-align: center;
        font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #backToTop svg {
        flex-shrink: 0;
    }

    #backToTop span {
        text-decoration: underline;
        text-decoration-color: #000090;
        text-decoration-thickness: 1px;
        text-underline-offset: 4px;
    }

/* =================================================================
   MODAL CALLBACK - CONTENEURS COMPLETS
   ================================================================= */
    #callbackModal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        background: white;
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        border-radius: 0;
    }

    #closeModal {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #000090;
        font-size: 16px;
        font-family: 'Manrope', sans-serif;
    }

    #closeModal .close-x {
        font-size: 20px;
    }

    .modal-body {
        padding: 3rem 2rem 2rem 2rem;
    }

    .modal-header-box {
        padding: 1rem 1.5rem;
        border: 1px solid #ddc;
        background: white;
        display: flex;
        align-items: center;
        gap: 0;
        margin-bottom: 1.5rem;
        height: 80px;
    }

    .modal-header-box-date {
        padding: 1rem 1.5rem;
        border: 1px solid #ddc;
        background: white;
        display: flex;
        align-items: center;
        gap: 0;
        margin-bottom: 1rem;
        height: 80px;
    }

    .modal-header-text {
        flex: 2;
        display: flex;
        align-items: center;
    }

    .modal-header-title {
        font-weight: 600;
        font-size: 1rem;
        color: #000090;
    }

    .modal-header-separator {
        width: 1px;
        height: 60px;
        background: #ddc;
        margin: 0 1rem;
    }

    .modal-header-icon {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-header-icon img {
        max-width: 40%;
        max-height: 40%;
        object-fit: contain;
    }

    .modal-form-group {
        margin-bottom: 1rem;
    }

    .modal-form-group-last {
        margin-bottom: 1.5rem;
    }

    .modal-label {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
        color: #3a3a39;
        background: #f5f5ff;
        padding: 2px;
        border-radius: 0;
    }

    .modal-input {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ddc;
        font-size: 1rem;
        font-family: 'Manrope', sans-serif;
        box-sizing: border-box;
        background: #eee;
    }

    .modal-textarea {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ddc;
        font-size: 1rem;
        font-family: 'Manrope', sans-serif;
        resize: vertical;
        box-sizing: border-box;
        background: white;
    }

    #callbackTelValidation {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    #btnChoisirDate {
        width: 100%;
        padding: 0;
        border: 1px solid #ddc;
        cursor: pointer;
        transition: all 0.3s;
        background: white;
        font-family: 'Manrope', sans-serif;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    #btnChoisirDateText {
        flex: 1;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        color: #998;
        font-style: italic;
        text-align: center;
    }

    .btn-calendar-icon {
        background: #000090;
        color: white;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }

    #dateError {
        display: none;
        background: #ffe6e6;
        border: 1px solid #ff9801;
        padding: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.875rem;
        color: #161615;
        font-family: 'Manrope', sans-serif;
        align-items: center;
        gap: 0.5rem;
    }

    .error-icon {
        background: #ff9801;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        flex-shrink: 0;
    }

    #customCalendar {
        display: none;
        position: absolute;
        background: white;
        border: 1px solid #ddc;
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        width: 300px;
    }

    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    #prevMonth, #nextMonth {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.2rem;
        color: #000090;
    }

    #calendarMonthYear {
        font-weight: 600;
        color: #161615;
    }

    .calendar-weekdays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .calendar-weekday {
        text-align: center;
        font-size: 0.75rem;
        color: #665;
    }

    #calendarDays {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .calendar-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #btnAujourdhui, #btnDemain {
        background: none;
        border: none;
        cursor: pointer;
        color: #000090;
        font-size: 0.85rem;
        font-family: 'Manrope', sans-serif;
        padding: 0.25rem 0.5rem;
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }

    #btnEffacer {
        background: none;
        border: none;
        cursor: pointer;
        color: #665;
        font-size: 0.85rem;
        font-family: 'Manrope', sans-serif;
        padding: 0.25rem 0.5rem;
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }

    .plage-horaire-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
        row-gap: 4px;
        margin-bottom: 0;
    }

    .plage-horaire-label {
        display: flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border: 1px solid #ddc;
        cursor: pointer;
        transition: all 0.3s;
        background: white;
        min-height: 40px;
        box-sizing: border-box;
    }

    .plage-horaire-label input {
        margin-right: 0.75rem;
        accent-color: #000090;
    }

    .plage-horaire-label span {
        font-size: 1rem;
        color: #3a3a39;
    }

    .modal-contact-text {
        font-size: 0.85rem;
        color: #000090;
        margin-top: 1rem;
        margin-bottom: 0.75rem;
        text-align: center;
        width: 100%;
    }

    .modal-contact-text a {
        color: #000090;
        font-weight: 600;
        text-decoration: none;
        transition: text-decoration 0.3s;
    }

    .modal-contact-text a:hover {
        text-decoration: underline;
        text-decoration-thickness: 2px;
    }

    #callbackSubmitBtn {
        width: 100%;
        background: #000090;
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 600;
        font-family: 'Manrope', sans-serif;
    }

    .modal-disclaimer {
        font-size: 0.7rem;
        color: #998;
        margin-top: 1rem;
        line-height: 1.4;
        font-style: italic;
        text-align: center;
    }

    .modal-disclaimer a {
        color: #000090;
    }

    /* Modal confirmation succès */
    #callbackSuccessModal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10001;
        justify-content: center;
        align-items: center;
    }

    .modal-success-content {
        background: white;
        width: 90%;
        max-width: 500px;
        padding: 3rem 2rem;
        position: relative;
        border-radius: 0;
        text-align: center;
    }

/* =================================================================
   MODAL CONFIRMATION - CONTENEURS COMPLETS
   ================================================================= */
    #confirmationModal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10001;
        justify-content: center;
        align-items: center;
    }

    .confirmation-content {
        background: white;
        width: 90%;
        max-width: 500px;
        padding: 3rem 2rem;
        position: relative;
        border-radius: 0;
        text-align: center;
    }

    .confirmation-icon {
        margin-bottom: 1.5rem;
    }

    .confirmation-icon img {
        width: 80px;
        height: 80px;
    }

    .confirmation-content h3 {
        font-size: 1.5rem;
        color: #000090;
        font-weight: 600;
        margin: 0 0 1rem 0;
    }

    .confirmation-content p {
        font-size: 1rem;
        color: #3a3a39;
        line-height: 1.5;
        margin: 0 0 2rem 0;
    }

    #closeConfirmation {
        background: #000090;
        color: white;
        border: none;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        cursor: pointer;
        font-weight: 600;
        font-family: 'Manrope', sans-serif;
        transition: all 0.3s;
    }

    #closeConfirmation:hover {
        background: #00006a;
    }

/* =================================================================
   MODAL REJECT CONFIRMATION - CONTENEURS COMPLETS
   ================================================================= */
    #cookieSettingsOverlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        display: none;
    }

    #rejectConfirmation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 10001;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .reject-content {
        background: white;
        max-width: 420px;
        width: 90%;
        padding: 2rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        font-family: 'Marianne', sans-serif;
    }

    .reject-icon-wrapper {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .reject-icon {
        width: 50px;
        height: 65px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .reject-content h2 {
        color: #2a2a2a;
        font-size: 1.3rem;
        font-weight: 700;
        margin: 0 0 0.8rem 0;
        text-align: center;
    }

    .reject-content > p {
        color: #4a4a4a;
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 0 1rem 0;
        text-align: center;
    }

    .reject-content ul {
        color: #4a4a4a;
        font-size: 0.9rem;
        line-height: 1.7;
        margin: 0 auto 1.5rem auto;
        text-align: left;
        list-style-position: inside;
        padding: 0;
        max-width: 280px;
    }

    .reject-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cancel-reject {
        background: white;
        border: 2px solid #000091;
        color: #000090;
        padding: 0.75rem 1rem;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        font-family: 'Marianne', sans-serif;
        width: 170px;
    }

    .btn-cancel-reject:hover {
        background: #f5f5f5;
    }

    .btn-confirm-reject {
        background: #000090;
        color: white;
        border: 2px solid #000090;
        padding: 0.75rem 1rem;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 600;
        transition: background 0.3s ease;
        font-family: 'Marianne', sans-serif;
        width: 170px;
    }

    .btn-confirm-reject:hover {
        background: #0000AA;
    }

/* =================================================================
   MODAL COOKIE SETTINGS - CONTENEURS COMPLETS
   ================================================================= */
    #cookieSettings {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        width: 800px;
        max-width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        filter: drop-shadow(0px 3px 9px rgba(0, 0, 18, 0.16));
        z-index: 10000;
        display: none;
        font-family: 'Marianne', arial, sans-serif;
        font-size: 16px;
        line-height: 24px;
        color: #4a4a4a;
    }

    .cookie-header {
        padding: 24px 32px 0 32px;
    }

    .cookie-header-close {
        text-align: right;
    }

    .cookie-close-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #000090;
        font-size: 16px;
    }

    .cookie-close-btn .close-x {
        font-size: 20px;
    }

    .cookie-header-title {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .cookie-header-title h2 {
        margin: 0;
        color: #2a2a2a;
        font-size: 28px;
        font-weight: 700;
        line-height: 36px;
        text-align: left;
    }

    .cookie-bandeau {
        background: white;
        padding: 12px 32px 0 32px;
    }

    .cookie-bandeau p {
        margin: 0;
        font-weight: 500;
        color: #2a2a2a;
        font-size: 17.5px;
        text-align: left;
    }

    .cookie-bandeau-link {
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
        transition: text-decoration-thickness 0.2s ease;
        cursor: pointer;
    }

    .cookie-bandeau-link:hover {
        text-decoration-thickness: 2px;
    }

    .cookie-content {
        padding: 32px;
    }

    .cookie-content hr {
        border: none;
        border-top: 1px solid #e5e5e5;
        margin: 32px 0;
    }

    .cookie-content hr:first-child {
        margin: 0 0 32px 0;
    }

    .cookie-section {
        margin-bottom: 32px;
    }

    .cookie-section-last {
        margin-bottom: 48px;
    }

    .cookie-section-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cookie-section h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #2a2a2a;
        text-align: left;
    }

    .cookie-radio-group {
        display: flex;
        align-items: center;
        gap: 40px;
        justify-content: flex-end;
    }

    .cookie-radio-label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .cookie-radio-label-disabled {
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.5;
        cursor: not-allowed;
    }

    .cookie-radio-label input,
    .cookie-radio-label-disabled input {
        width: 20px;
        height: 65px;
        accent-color: #000090;
    }

    .cookie-radio-label span {
        color: #4a4a4a;
        font-size: 17.5px;
    }

    .cookie-radio-label-disabled span {
        color: #999;
        font-size: 17.5px;
    }

    .cookie-section-desc {
        max-width: 450px;
    }

    .cookie-section-desc-narrow {
        max-width: 400px;
    }

    .cookie-section-desc p {
        margin: 0;
        color: #4a4a4a;
        font-size: 14px;
        font-weight: bold;
        line-height: 24px;
        text-align: left;
    }

    .cookie-section-desc-narrow p {
        margin: 0 0 8px 0;
        color: #4a4a4a;
        font-size: 17.5px;
        line-height: 26px;
        text-align: left;
    }

    .cookie-link {
        color: #4a4a4a;
        font-size: 17.5px;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
        transition: text-decoration-thickness 0.2s ease;
        display: block;
        text-align: left;
    }

    .cookie-link:hover {
        text-decoration-thickness: 2px;
    }

    .cookie-footer {
        text-align: right;
    }

    .cookie-confirm-btn {
        background: #000090;
        color: white;
        border: none;
        padding: 12px 15px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 500;
        width: auto;
    }

/* =================================================================
   SUMMARY ITEMS (JavaScript) - CONTENEURS COMPLETS
   ================================================================= */
    .summary-item {
        padding: 0.15rem 0;
        font-size: 0.85rem;
    }

    .summary-item-last {
        padding: 0.15rem 0;
        font-size: 0.85rem;
        border-bottom: none;
    }

    #emailSummary {
        color: #998;
        font-style: italic;
    }

    .summary-separator {
        border-top: 2px solid #0052cb;
        margin: 0.25rem 0;
    }

/* =================================================================
   EMAIL SUCCESS (JavaScript) - CONTENEURS COMPLETS
   ================================================================= */
    .email-success-container {
        margin: 0.75rem auto;
        padding: 0.75rem;
        background: #fffffe;
        border-radius: 0;
        max-width: min(450px, 95%);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        text-align: center;
    }

    .email-success-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .email-success-icon {
        background: #28a744;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: bold;
    }

    .email-success-header h3 {
        color: #28a744;
        margin: 0;
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .email-success-container p {
        color: #665;
        font-size: 0.8rem;
        line-height: 1.1;
        margin: 0;
    }


/* =================================================================
   PAGES AIDES - HOVERS SPÉCIFIQUES
   ================================================================= */

    /* Hover pour la carte Guide des aides */
    #section3 a:hover {
      background: #ededec !important;
    }

    /* Hover pour les boutons Propriétaire Occupant/Bailleur */
    #btnOccupant:hover,
    #btnBailleur:hover {
      background: #f5f5ff !important;
      border-color: #000090 !important;
    }

/* =================================================================
   PAGES AIDES - CONTENU SPÉCIFIQUE
   ================================================================= */

/* Wrapper relatif */
.aide-wrapper-relatif {
    position: relative;
}

/* Bandeau image en haut */
.aide-bandeau-image {
    background: #f5f5ff;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aide-bandeau-image-inner {
    max-width: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.aide-bandeau-image img {
    max-height: 150px;
    max-width: 90%;
}

/* Side menu tva titre */
.side-menu-tva h3 {
    font-size: 0.85rem;
    color: #665;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-align: left;
    padding-left: 0.75rem;
}

/* Contenu principal */
.aide-content-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem 3rem 1rem;
}

/* Breadcrumb */
.aide-breadcrumb {
    font-size: 12px;
    line-height: 28px;
    margin-bottom: 1rem;
    text-align: left;
    letter-spacing: 0.5px;
    word-spacing: 2px;
    font-weight: 500;
}

.aide-breadcrumb a {
    color: #998;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.aide-breadcrumb .breadcrumb-separator {
    color: #998;
    font-size: 18px;
    vertical-align: -1px;
}

.aide-breadcrumb .breadcrumb-current {
    color: #665;
}

/* Titre H1 */
.aide-h1 {
    color: #161615;
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin: 0 0 0 0;
    font-weight: 700;
    text-align: left;
}

/* Séparateur */
.aide-separator {
    height: 1px;
    background: #ddc;
    margin: 2rem 0;
    line-height: 2rem;
}

/* Section contenu */
.aide-section {
    margin-bottom: 4rem;
    text-align: left;
}

.aide-section-small {
    margin-bottom: calc(2rem - 100px);
    text-align: left;
}

/* Paragraphe intro (bleu) */
.aide-intro {
    color: #000090;
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

/* H3 contenu */
.aide-h3 {
    color: #161615;
    font-size: 1.25rem;
    line-height: 2rem;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

/* Paragraphe normal */
.aide-p {
    color: #3a3a39;
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

/* H2 section */
.aide-h2 {
    color: #161615;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

/* H3 sous-titre */
.aide-h3-subtitle {
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 400;
}

/* Boutons Propriétaire Occupant/Bailleur */
.aide-btn-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.aide-btn-proprietaire {
    width: 280px;
    padding: 1rem 1.5rem;
    border: 1px solid #ddc;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s;
    position: relative;
}

.aide-btn-proprietaire.active {
    border-color: #000090;
}

.aide-radio-circle {
    width: 20px;
    height: 65px;
    border: 1px solid #ddc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.aide-btn-proprietaire.active .aide-radio-circle {
    border-color: #000090;
}

.aide-radio-dot {
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 50%;
}

.aide-btn-proprietaire.active .aide-radio-dot {
    background: #000090;
}

.aide-btn-text {
    flex: 1;
    text-align: left;
}

.aide-btn-text div {
    font-weight: 400;
    font-size: 1rem;
    color: #3a3a39;
    line-height: 1.5rem;
}

.aide-btn-separator {
    width: 1px;
    height: 60px;
    background: #ddc;
    margin: 0 1rem;
}

.aide-btn-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.aide-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Conditions box */
.aide-conditions-box {
    background: #f5f5ff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #0066cb;
}

.aide-conditions-box.hidden {
    display: none;
}

.aide-conditions-list {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
}

.aide-conditions-sublist {
    margin: 0.5rem 0;
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
    list-style-type: disc;
}

/* Info box (bon à savoir) */
.aide-info-box {
    background: white;
    border: 1px solid #0063cb;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    overflow: hidden;
}

.aide-info-icon {
    background: #0063cb;
    width: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.5rem;
}

.aide-info-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.aide-info-content {
    padding: 1.5rem;
    flex: 1;
}

.aide-info-content h4 {
    color: #3a3a39;
    font-size: 1.25rem;
    line-height: 2rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.aide-info-content p {
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0 0 1rem 0;
}

.aide-info-content ul {
    margin: 0;
    padding-left: 2rem;
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Section Guide des aides */
.aide-section-guide {
    background: #f5f5ff;
    padding: 3rem 1rem;
    width: 100%;
}

.aide-section-guide-inner {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    text-align: left;
}

.aide-section-guide h2 {
    color: #161615;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    text-align: left;
}

/* Carte Guide PDF */
.aide-guide-card {
    display: block;
    background: white;
    border: 1px solid #ddc;
    padding: 3rem 2rem;
    text-decoration: none;
    position: relative;
    transition: background 0.2s;
    text-align: left;
    min-height: 190px;
}

.aide-guide-card:hover {
    background: #ededec;
}

.aide-guide-card h3 {
    color: #000090;
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    text-align: left;
    position: relative;
    top: -15px;
}

.aide-guide-card p {
    color: #665;
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin: 0;
    text-align: left;
    position: relative;
    top: -15px;
}

.aide-guide-card svg {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 24px;
    height: 24px;
}

/* =================================================================
   PAGES AIDES - CLASSES ADDITIONNELLES
   ================================================================= */

/* Listes dans le contenu */
.aide-list {
    color: #3a3a39;
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.aide-sublist {
    padding-left: 2rem;
    margin-top: 0.5rem;
    list-style-type: disc;
}

.aide-list-small {
    margin: 0 0 1rem 0;
    padding-left: 2rem;
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
}

.aide-li-spaced {
    margin-top: 1rem;
}

.aide-li-mt {
    margin-top: 0.5rem;
}

/* Paragraphes additionnels */
.aide-p-spaced {
    margin-top: 1rem;
}

.aide-p-small {
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
}

.aide-p-small-mb {
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0 0 1rem 0;
}

.aide-p-small-bold {
    color: #3a3a39;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.aide-p-mb2 {
    color: #3a3a39;
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}

/* Bouton calendrier wrapper */
.btn-calendar-icon-wrapper {
    background: #000090;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

/* Error badge */
.error-badge {
    background: #ff9801;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* =================================================================
   PAGES LÉGALES (Contact, Politique, Conditions)
   ================================================================= */

.spacer-40 {
    background: white;
    height: 40px;
}

.page-content-blue {
    background: #f5f5ff;
    padding: 3rem 1.5rem;
    margin: 0;
    min-height: 600px;
}

.page-content-white {
    background: white;
    padding: 3rem 1.5rem;
    margin: 0;
    min-height: 600px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.legal-h1 {
    color: #000090;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-h2 {
    color: #000090;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-date {
    color: #665;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-p-last {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.legal-list {
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-link {
    color: #000090;
    text-decoration: underline;
}

@media (max-width: 768px) {
  #logoHeader {
    height: 65px;
  }
}
