/* ===== Frontaliers – Outils performants (carte centrée) ===== */
:root{
  --s3-card:#f5f5fe;                
  --s3-text:#1f2c59;
  --s3-muted:#333a55;                
  --s3-primary:#203a72;             
  --s3-primary-contrast:#ffffff;
  --s3-shadow:0 16px 40px rgba(20,35,80,.12);
  --s3-radius:32px;                 
}

.hf-front-s3{
  padding: clamp(48px,6vw,96px) 0;  
  display:flex; align-items:center; justify-content:center;
}

.hf-s3-card{
  width:min(980px,92vw);
  margin-inline:auto;
  background:var(--s3-card);
  color:var(--s3-text);
  border-radius:var(--s3-radius);
  box-shadow:var(--s3-shadow);
  text-align:center;
  padding: clamp(28px,4.5vw,44px) clamp(18px,3vw,28px);
}

.hf-s3-ico{
  display:block;
  width:44px; height:44px;
  margin: 6px auto 10px;
}

.hf-s3-title{
  font-size: clamp(20px, 2.2vw, 24px);
  line-height:1.25;
  margin: 0 0 14px;
  font-weight: 800;
  color:#111827;
}

.hf-s3-text{
  margin: 0 auto clamp(18px,3.2vw,24px);
  max-width: 78ch;
  color: var(--s3-muted);
  font-weight: 400;
}

:where(body) .hf-s3-btn{
  all: unset;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px; line-height:1; font-weight:700;
  cursor:pointer; user-select:none;
  min-width: 170px;                 
  text-align:center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.hf-s3-btn .plus{ font-size:1.1em; line-height:1; }

:where(body) .hf-s3-btn--primary{
  background: var(--s3-primary);
  color: var(--s3-primary-contrast);
  box-shadow: 0 6px 16px rgba(32,58,114,.25);
}
:where(body) .hf-s3-btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(32,58,114,.32);
}

.sr-only{
  position:absolute!important; width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

@media (max-width:768px){
  .hf-s3-card{ width:min(560px,92vw); padding:22px 16px; border-radius:26px; }
  .hf-s3-text{ font-size:clamp(14px,4vw,16px); }
  .hf-s3-btn{ width:90%; max-width:260px; }
}
@media (max-width:360px){
  .hf-s3-card{ padding:18px 12px; }
  .hf-s3-btn{ width:100%; max-width:240px; padding:10px 14px; font-size:13.5px; }
}


.hf-front-s3 .hf-s3-card{
  border-radius: 24px;        
  padding: 22px 18px;           
}

:where(body) .hf-front-s3 .hf-s3-btn{
  padding: 10px 16px;       
  font-size: 14px;           
  min-width: 140px;            
  border-radius: 14px;          
}

@media (max-width:768px){
  .hf-front-s3 .hf-s3-card{ border-radius:20px; padding:20px 14px; }
  :where(body) .hf-front-s3 .hf-s3-btn{
    width:auto;                 
    min-width:130px;
    padding:9px 14px;
    font-size:13.5px;
    border-radius:12px;
  }
}
