/* =========================================================================
   footer.css — habillage du footer SIP19 (rendu dans la région <footer> Astra).
   Le contenu vient de parts/footer/site-footer.php (versionné), injecté via
   inc/footer.php sur `astra_footer_content_top`. Ici : la charte + neutralisation
   du footer Astra par défaut.

   Palette : navy #15294F · bleu #4D9DE0 / #9fc8ee · rouge #e2392e / #cf2c23
   ========================================================================= */

/* --- Neutralisation du footer Astra ---
   Le footer est volontairement plus SOMBRE que la dernière section (navy
   #15294F) pour créer une séparation nette : navy #0C1730 + filet haut discret.
   La barre copyright native d'Astra (rangée « below ») est entièrement retirée
   — on fournit notre propre barre légale — pour supprimer l'espace vide en bas. */
.site-footer,
#colophon.site-footer{
	background: #0C1730;
	border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer .site-below-footer-wrap{
	display: none !important;
}

/* --- Coque --- */
.sip-footer{
	background: #0C1730;
	color: #fff;
	font-family: 'Inter', system-ui, sans-serif;
}
.sip-footer *{ box-sizing: border-box; }

.sip-ft-inner{
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px,6vw,68px) clamp(20px,5vw,48px) 40px;
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.35fr;
	gap: clamp(28px,4vw,52px);
}

/* --- Bloc marque --- */
.sip-ft-logo{
	display: inline-block;
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -.02em;
	color: #fff;
	text-decoration: none;
	line-height: 1;
}
.sip-ft-logo span{ color: #e2392e; }
.sip-ft-tagline{
	margin: 16px 0 0;
	max-width: 400px;
	font-size: 14px;
	line-height: 1.62;
	color: rgba(255,255,255,.60);
}
.sip-ft-facts{
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sip-ft-facts li{
	font-family: 'Sora', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,.75);
	border: 1px solid rgba(255,255,255,.16);
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}

/* --- Colonnes de liens --- */
.sip-ft-title{
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: #9fc8ee;
	margin: 0 0 16px;
}
.sip-ft-col ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.sip-ft-col li{ margin-bottom: 11px; }
.sip-ft-col a{
	font-size: 14.5px;
	color: rgba(255,255,255,.78);
	text-decoration: none;
	transition: color .18s ease;
}
.sip-ft-col a:hover,
.sip-ft-col a:focus{ color: #4D9DE0; }

/* --- Bloc CTA --- */
.sip-ft-btn{
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1;
	color: #fff;
	background: #e2392e;
	border-radius: 11px;
	padding: 12px 20px;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(226,57,46,.28);
	transition: background .18s ease, transform .18s ease;
}
.sip-ft-btn:hover,
.sip-ft-btn:focus{ background: #cf2c23; transform: translateY(-1px); color: #fff; }
.sip-ft-btn svg{ width: 16px; height: 16px; }
.sip-ft-note{
	margin: 14px 0 0;
	max-width: 240px;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255,255,255,.55);
}
.sip-ft-note--area{ margin-top: 8px; color: rgba(255,255,255,.45); }

/* --- Barre légale --- */
.sip-ft-legal{
	max-width: 1200px;
	margin: 8px auto 0;
	padding: 22px clamp(20px,5vw,48px);
	border-top: 1px solid rgba(255,255,255,.10);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
}
.sip-ft-legal p{
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255,255,255,.5);
}
.sip-ft-legal .sip-ft-madein{ color: rgba(255,255,255,.62); white-space: nowrap; }

/* --- Responsive --- */
@media (max-width: 900px){
	.sip-ft-inner{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.sip-ft-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
	.sip-ft-inner{ grid-template-columns: 1fr; }
	.sip-ft-legal{ flex-direction: column; align-items: flex-start; }
}

/* --- Réserve d'espace sous le footer pour le CTA mobile flottant des landing pages ---
   (les pages avec .sip-mobilecta / .sip-mobile-cta affichent une barre fixe en bas ≤760px ;
   sans cette marge, elle recouvrirait la dernière ligne du copyright). Les pages sans CTA
   fixe — Logistique, blog… — ne sont pas affectées grâce à :has(). */
@media (max-width: 760px){
	body:has(.sip-mobilecta) #colophon.site-footer,
	body:has(.sip-mobile-cta) #colophon.site-footer{ padding-bottom: 96px; }
}
