/* Bouton « Être rappelé » + barre d'appel mobile — partagé par toutes les pages. */

/* Arguments de confiance */
.rp-trust{ list-style:none; margin:14px 0 0; padding:12px 0 0; border-top:1px dashed var(--line, #2A3C58); }
.rp-trust li{ position:relative; padding-left:22px; font-size:12.5px; color:var(--text, #EAF0F6); margin:5px 0; text-align:left; }
.rp-trust li::before{ content:'✓'; position:absolute; left:2px; top:0; color:var(--green, #5FAE82); font-weight:700; }
.rp-trust.rp-trust-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px 22px; border-top:none; margin-top:30px; padding:0; }
.rp-trust.rp-trust-row li{ font-size:13.5px; color:var(--text-muted, #8CA0B8); margin:0; }

/* Pied de page ajouté aux pages qui n'en ont pas */
.rp-footer{ text-align:center; padding:22px 16px 26px; font-size:12.5px; color:var(--text-faint, #5D7089); border-top:1px solid var(--line, #2A3C58); }
.rp-footer a{ color:var(--copper-bright, #E3A868); text-decoration:none; }
.rp-footer a:hover{ text-decoration:underline; }

/* Bouton secondaire placé sous « Télécharger mon estimation » */
.rp-cta{ width:100%; margin-top:10px; padding:11px; border-radius:8px; border:1px solid var(--copper, #C1793F);
  background:rgba(193,121,63,.10); color:var(--copper-bright, #E3A868); font-weight:600; font-size:13px; cursor:pointer; font-family:inherit; }
.rp-cta:hover{ background:rgba(193,121,63,.18); }
.rp-or{ text-align:center; font-size:12px; color:var(--text-muted, #8CA0B8); margin-top:10px; }
.rp-or a{ color:var(--copper-bright, #E3A868); font-weight:600; text-decoration:none; white-space:nowrap; }

/* Fenêtre */
.rp-overlay{ position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:20px;
  background:rgba(6,10,16,.75); backdrop-filter:blur(2px); }
.rp-overlay.open{ display:flex; }
.rp-box{ width:100%; max-width:380px; background:var(--panel, #16233A); border:1px solid var(--line, #2A3C58); border-radius:12px;
  padding:24px 22px 20px; color:var(--text, #EAF0F6); box-shadow:0 20px 60px -20px rgba(0,0,0,.6); font-family:'Inter',system-ui,sans-serif; }
.rp-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.rp-head h2{ font-family:'Space Grotesk',sans-serif; font-size:19px; margin:0; }
.rp-close{ background:transparent; border:none; color:var(--text-muted, #8CA0B8); font-size:20px; width:30px; height:30px; border-radius:6px; cursor:pointer; }
.rp-close:hover{ background:var(--panel-2, #1D2C46); color:var(--text, #EAF0F6); }
.rp-sub{ font-size:13px; color:var(--text-muted, #8CA0B8); margin:0 0 16px; line-height:1.55; }
.rp-field{ margin-bottom:12px; }
.rp-field label{ display:block; font-size:11.5px; color:var(--text-muted, #8CA0B8); margin-bottom:6px; }
.rp-field input, .rp-field select{ width:100%; box-sizing:border-box; background:var(--panel-2, #1D2C46); border:1px solid var(--line, #2A3C58);
  border-radius:6px; color:var(--text, #EAF0F6); padding:10px; font-size:14px; font-family:inherit; }
.rp-field input:focus, .rp-field select:focus{ outline:none; border-color:var(--copper, #C1793F); }
.rp-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.rp-submit{ width:100%; margin-top:6px; padding:12px; border-radius:8px; border:1px solid var(--copper, #C1793F);
  background:linear-gradient(160deg,var(--copper-bright, #E3A868),var(--copper, #C1793F)); color:#1A1006; font-weight:600; font-size:14px; cursor:pointer; font-family:inherit; }
.rp-submit:disabled{ opacity:.6; cursor:default; }
.rp-note{ font-size:11px; color:var(--text-faint, #5D7089); margin-top:10px; line-height:1.5; text-align:center; }
.rp-ok{ text-align:center; padding:10px 0 4px; }
.rp-ok .rp-ok-title{ color:var(--green, #5FAE82); font-weight:600; font-size:16px; margin-bottom:8px; }
.rp-ok p{ font-size:13px; color:var(--text-muted, #8CA0B8); margin:0 0 14px; line-height:1.55; }
.rp-err{ color:var(--red, #C25B4B); font-size:12.5px; margin:4px 0 8px; display:none; }

/* Barre d'appel fixe, uniquement sur téléphone */
.rp-bar{ display:none; }
@media (max-width:820px){
  body{ padding-bottom:74px; }
  .rp-bar{ display:flex; gap:8px; position:fixed; left:0; right:0; bottom:0; z-index:150; padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:rgba(14,24,38,.96); border-top:1px solid var(--line, #2A3C58); backdrop-filter:blur(6px); }
  .rp-bar a, .rp-bar button{ flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:12px 8px; border-radius:9px;
    font-size:14px; font-weight:600; text-decoration:none; cursor:pointer; font-family:inherit; }
  .rp-bar a{ background:linear-gradient(160deg,var(--copper-bright, #E3A868),var(--copper, #C1793F)); color:#1A1006; border:1px solid var(--copper, #C1793F); }
  .rp-bar button{ background:var(--panel-2, #1D2C46); color:var(--copper-bright, #E3A868); border:1px solid var(--copper, #C1793F); }
}
