/* ================================================
   GROUPE FIDELIS - STYLES COMMUNS
   ================================================ */

:root{
  --fidelis-blue:#1F86F0;
  --fidelis-blue-dark:#1565C0;
  --fidelis-blue-light:#E6F0FE;
  --fidelis-orange:#FF7C2A;
  --fidelis-orange-dark:#E66515;
  --text-dark:#1A1A2E;
  --text-body:#4A4A5E;
  --text-light:#7A7A8E;
  --bg-white:#FFFFFF;
  --bg-gray:#F6F7F9;
  --border:#E5E7EB;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--text-body);
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  font-weight:400;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;color:var(--text-dark);line-height:1.2;font-weight:700}
h1{font-weight:800}
h2{font-weight:800}
a{color:var(--fidelis-blue);text-decoration:none}
img{max-width:100%;display:block}

/* ============ HEADER ============ */
.header{
  background:#fff;
  padding:1.2rem 0;
  position:sticky;
  top:0;
  z-index:100;
}
.header-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 2rem;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:2rem;
}
.header-logo img{
  height:64px;
  width:auto;
}
.header-nav{
  display:flex;
  justify-content:center;
  gap:2rem;
  align-items:center;
}
.header-nav a{
  color:var(--text-dark);
  font-weight:500;
  font-size:.95rem;
  transition:color .2s;
  padding:.4rem 0;
  position:relative;
}
.header-nav a:hover{color:var(--fidelis-blue)}
.header-nav a.active{color:var(--fidelis-blue)}
.header-nav a.active::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  right:0;
  height:2px;
  background:var(--fidelis-orange);
  border-radius:2px;
}
.header-cta-zone{
  display:flex;
  justify-content:flex-end;
}
.btn-devis{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:#fff;
  color:var(--text-dark);
  border:1.5px solid var(--border);
  padding:.7rem 1.4rem;
  border-radius:30px;
  font-weight:700;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.5px;
  transition:all .2s;
}
.btn-devis:hover{
  border-color:var(--fidelis-blue);
  color:var(--fidelis-blue);
  transform:translateY(-1px);
}
.burger{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  font-size:1.6rem;
  color:var(--text-dark);
}

/* ============ BUTTONS ============ */
.btn-orange{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  background:var(--fidelis-orange);
  color:#fff;
  padding:1rem 2rem;
  border-radius:50px;
  font-weight:700;
  font-size:.95rem;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.5px;
  box-shadow:0 6px 18px rgba(255,124,42,.35);
  transition:all .25s;
  border:none;
  cursor:pointer;
  font-family:inherit;
}
.btn-orange:hover{
  background:var(--fidelis-orange-dark);
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(255,124,42,.45);
  color:#fff;
}
.btn-orange .ico{
  width:26px;
  height:26px;
  background:rgba(255,255,255,.25);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:.85rem;
}
.btn-outline{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:#fff;
  color:var(--text-light);
  border:1.5px solid var(--border);
  padding:.9rem 1.8rem;
  border-radius:50px;
  font-weight:700;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.5px;
  transition:all .2s;
}
.btn-outline:hover{
  border-color:var(--fidelis-blue);
  color:var(--fidelis-blue);
}

/* ============ FOOTER ============ */
.footer-content{
  background:#fff;
  padding:4rem 2rem 2rem;
  border-top:1px solid var(--border);
}
.footer-content-inner{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.3fr auto;
  gap:3rem;
  align-items:center;
}
.footer-content h4{
  color:var(--text-dark);
  font-size:1.1rem;
  margin-bottom:.6rem;
  font-weight:700;
}
.footer-content p{
  color:var(--text-body);
  font-size:.95rem;
  margin-bottom:1rem;
}
.footer-content p .accent{
  color:var(--fidelis-blue);
  font-weight:700;
}
.footer-stat{
  display:flex;
  align-items:center;
  gap:.4rem;
  font-size:1rem;
  margin-bottom:1.3rem;
}
.footer-stat strong{
  color:var(--fidelis-blue);
  font-weight:700;
}
.footer-badges{
  display:flex;
  gap:2rem;
  align-items:center;
  flex-wrap:wrap;
}
.badge-img{
  height:36px;
  width:auto;
  opacity:.85;
}

/* Trust badges (recreated in SVG/CSS since we don't have the original images) */
.badge{
  display:flex;
  align-items:center;
  gap:.5rem;
  color:var(--text-light);
  font-weight:700;
  font-size:.9rem;
  letter-spacing:1px;
  text-transform:uppercase;
}
.badge-orias{
  display:flex;
  align-items:center;
  gap:.3rem;
}
.badge-orias-bars{
  display:flex;
  gap:2px;
}
.badge-orias-bars span{
  display:block;
  width:3px;
  height:18px;
}
.badge-orias-bars span:nth-child(1){background:var(--fidelis-orange)}
.badge-orias-bars span:nth-child(2){background:#2B3990}
.badge-orias-bars span:nth-child(3){background:#22B8A6}
.badge-orias-bars span:nth-child(4){background:#FFC700}
.badge-orias-text{color:#2B3990;font-weight:800}
.badge-cnil{color:#2B3990;font-weight:800;font-size:1.1rem;letter-spacing:.5px}
.badge-cnil small{display:block;font-size:.55rem;font-weight:600;color:var(--text-light);letter-spacing:.5px;line-height:1.1;margin-top:2px}
.badge-rgpd{
  display:flex;
  align-items:center;
  gap:.4rem;
  color:#2B3990;
  font-weight:800;
  font-size:1.05rem;
}
.badge-rgpd-eu{
  width:26px;
  height:26px;
  border-radius:50%;
  background:#2B3990;
  display:grid;
  place-items:center;
  color:#FFC700;
  font-size:1rem;
  font-weight:700;
}
.badge-secure{
  display:flex;
  align-items:center;
  gap:.4rem;
  color:#5BA82B;
  font-weight:800;
  font-size:1.05rem;
}
.badge-secure-icon{
  width:24px;
  height:28px;
  background:#5BA82B;
  border-radius:4px;
  position:relative;
}
.badge-secure-icon::before{
  content:"";
  position:absolute;
  top:-7px;
  left:50%;
  transform:translateX(-50%);
  width:14px;
  height:12px;
  border:2.5px solid #5BA82B;
  border-bottom:none;
  border-radius:7px 7px 0 0;
}
.badge-secure-icon::after{
  content:"✓";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:.95rem;
  font-weight:900;
}
.badge-secure small{display:block;font-size:.55rem;font-weight:600;color:var(--text-light);letter-spacing:.5px;line-height:1.1;margin-top:2px}

.footer-bottom{
  background:#fff;
  padding:1.5rem 2rem;
  text-align:center;
  border-top:1px solid var(--border);
  font-size:.85rem;
}
.footer-bottom-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  gap:2rem;
  flex-wrap:wrap;
  align-items:center;
  color:var(--text-light);
}
.footer-bottom a{
  color:var(--text-light);
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:1px;
  font-weight:500;
}
.footer-bottom a:hover{color:var(--fidelis-blue)}
.footer-bottom .copy{
  width:100%;
  text-align:center;
  margin-top:.5rem;
  font-size:.8rem;
}

/* ============ RESPONSIVE ============ */
@media(max-width:960px){
  .header-inner{
    grid-template-columns:auto 1fr auto;
  }
  .header-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fff;
    flex-direction:column;
    padding:1.5rem;
    gap:1rem;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
    border-top:1px solid var(--border);
  }
  .header-nav.open{display:flex}
  .burger{display:block}
  .footer-content-inner{
    grid-template-columns:1fr;
    text-align:center;
    gap:2rem;
  }
  .footer-badges{justify-content:center}
}
@media(max-width:680px){
  .header-logo img{height:48px}
  .header-inner{padding:0 1.2rem}
  .footer-badges{gap:1.5rem}
}
