/*
Theme Name: AUTOREPRISE.BE
Theme URI: https://zonemedia.fr
Description: Thème WordPress professionnel développé exclusivement par ZONE MEDIA, agence spécialisée dans la création de sites web, le marketing digital, le référencement et les solutions digitales sur mesure.
Author: ZONE MEDIA
Author URI: https://zonemedia.fr
Version: 1.0.0
License: Tous droits réservés
License URI: https://zonemedia.fr
Text Domain: zone-media
Domain Path: /languages
Copyright: © 2026 ZONE MEDIA. Tous droits réservés.
*/

/* ==========================================================================
   0. Base / reset
   ========================================================================== */
:root {
	/* --ar-primary, --ar-primary-dark, --ar-logo-blue et --ar-whatsapp sont
	   injectées dynamiquement (voir inc/customizer.php) à partir des réglages
	   de Apparence > Personnaliser > "Couleurs du thème". Les valeurs
	   ci-dessous ne servent que de repli si ce style inline n'était pas chargé. */
	--ar-primary: #0053ac;
	--ar-primary-dark: #004085;
	--ar-logo-blue: #04376e;
	--ar-whatsapp: #25D366;

	--ar-black: #050505;
	--ar-white: #FFFFFF;
	--ar-radius: 10px;
	--ar-border: color-mix(in srgb, var(--ar-logo-blue) 12%, transparent);
	--ar-shadow-rest: 0 1px 0 color-mix(in srgb, var(--ar-logo-blue) 4%, transparent);
	--ar-shadow-scrolled: 0 8px 24px -8px color-mix(in srgb, var(--ar-logo-blue) 18%, transparent);
	--ar-ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: #f4f6f8;
	color: #263241;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--ar-primary); }

.ar-container { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.ar-page-title { color: var(--ar-logo-blue); font-size: 2rem; margin: 0 0 24px; }
.ar-page-content { line-height: 1.75; }
.ar-post-meta { color: #64748b; font-size: 0.9rem; margin: -12px 0 24px; }
.ar-post-card { margin: 0 0 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ar-border); }
.ar-post-card-thumb { display: block; margin-bottom: 16px; border-radius: var(--ar-radius); overflow: hidden; }
.ar-post-card-title { margin: 0 0 8px; font-size: 1.4rem; }
.ar-post-card-title a { color: var(--ar-black); text-decoration: none; }
.ar-post-card-title a:hover { color: var(--ar-primary); }
.ar-pagination { margin-top: 32px; }

/* ==========================================================================
   1. Header — barre desktop, dropdown, boutons
   ========================================================================== */
.ar-header {
	background: var(--ar-white);
	border-bottom: 1px solid var(--ar-border);
	box-shadow: var(--ar-shadow-rest);
	position: sticky; top: 0; z-index: 1002;
	direction: ltr;
	color: var(--ar-black);
	transition: box-shadow 0.3s var(--ar-ease), border-color 0.3s var(--ar-ease);
}
.ar-header.is-scrolled {
	border-bottom-color: transparent;
	box-shadow: var(--ar-shadow-scrolled);
}
.ar-header a { color: inherit; text-decoration: none; }
.ar-header button { font-family: inherit; }
.ar-offcanvas a, .ar-offcanvas button { font-family: inherit; }

.ar-header a:focus-visible,
.ar-header button:focus-visible,
.ar-offcanvas a:focus-visible,
.ar-offcanvas button:focus-visible {
	outline: 2px solid var(--ar-primary);
	outline-offset: 3px;
	border-radius: 6px;
}

.ar-skip-link {
	position: absolute; left: 12px; top: -60px;
	background: var(--ar-primary); color: #fff; padding: 10px 16px;
	border-radius: 8px; font-weight: 700; font-size: 0.85rem; z-index: 2000;
	transition: top 0.2s var(--ar-ease);
}
.ar-skip-link:focus { top: 12px; }

.ar-navbar-inner {
	width: 100%; max-width: 1920px; margin: 0 auto;
	padding: 12px clamp(20px, 3vw, 48px);
	display: flex; justify-content: space-between; align-items: center;
	gap: clamp(12px, 2vw, 32px);
}
.ar-logo { flex-shrink: 0; }
.ar-logo a { display: flex; align-items: center; }
.ar-logo img { height: 20px; width: auto; display: block; }

.ar-desktop-nav-group { display: none; align-items: center; gap: clamp(20px, 2.5vw, 44px); }
@media (min-width: 1400px) { .ar-desktop-nav-group { display: flex; } }

.ar-nav-list {
	list-style: none; display: flex; flex-wrap: nowrap;
	gap: clamp(12px, 1.6vw, 28px); margin: 0; padding: 0;
	font-size: clamp(0.8rem, 0.46vw + 0.5rem, 0.92rem);
	font-weight: 700; align-items: center; min-width: 0;
}
.ar-nav-list a {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 2px; color: var(--ar-black); white-space: nowrap;
	transition: color 0.2s var(--ar-ease);
}
.ar-nav-list a::after {
	content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
	background: var(--ar-primary); border-radius: 2px;
	transition: width 0.25s var(--ar-ease), left 0.25s var(--ar-ease);
}
.ar-nav-list a:hover, .ar-nav-list a:focus-visible { color: var(--ar-primary); }
.ar-nav-list a:hover::after, .ar-nav-list a:focus-visible::after,
.ar-nav-list .current-item a::after { width: 100%; left: 0; }
.ar-nav-list .current-item a { color: var(--ar-primary); }

.ar-chevron { width: 11px; height: 11px; flex-shrink: 0; transition: transform 0.25s var(--ar-ease); }
.ar-dropdown:hover .ar-chevron,
.ar-dropdown:focus-within .ar-chevron { transform: rotate(180deg); }

.ar-dropdown { position: relative; }
.ar-dropdown::before {
	content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 10px;
}
.ar-dropdown-menu {
	position: absolute; top: 100%; left: 0; background: var(--ar-white);
	border: 1px solid var(--ar-border); border-radius: var(--ar-radius);
	box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--ar-logo-blue) 18%, transparent);
	list-style: none; padding: 8px; margin: 10px 0 0;
	min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.2s var(--ar-ease), transform 0.2s var(--ar-ease), visibility 0.2s;
}
.ar-dropdown:hover .ar-dropdown-menu,
.ar-dropdown:focus-within .ar-dropdown-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.ar-dropdown-menu li a {
	display: block; padding: 10px 14px; font-weight: 600; font-size: 0.88rem;
	border-radius: 7px; text-decoration: none; color: var(--ar-black);
	transition: background 0.15s, color 0.15s;
}
.ar-dropdown-menu li a::after { display: none; }
.ar-dropdown-menu li a:hover,
.ar-dropdown-menu li a:focus-visible {
	background: color-mix(in srgb, var(--ar-primary) 8%, transparent);
	color: var(--ar-primary);
}

.ar-desktop-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Sélecteurs volontairement rattachés à .ar-desktop-cta / .ar-offcanvas :
   ".ar-header a { color: inherit }" est plus spécifique qu'une simple classe
   de bouton isolée et écraserait sinon leur couleur.

   Bouton WhatsApp animé — partagé entre le header desktop et le panneau
   mobile (offcanvas) : fond blanc au repos, bordure en dégradé conique
   tournante, bascule en vert plein au survol. Tailles conservées à
   l'identique de l'ancienne version (aucun agrandissement) : seule
   l'animation de bordure change. */
.ar-desktop-cta .ar-btn-whatsapp-sec,
.ar-oc-whatsapp {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--ar-whatsapp);
	border-radius: var(--ar-radius);
	text-decoration: none; overflow: hidden; z-index: 1;
	box-shadow: 0 2px 8px color-mix(in srgb, var(--ar-whatsapp) 15%, transparent);
	transition: color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.ar-desktop-cta .ar-btn-whatsapp-sec {
	height: 38px; gap: 6px; padding: 0 13px; white-space: nowrap;
	font-weight: 700; font-size: 0.82rem;
}
.ar-oc-whatsapp {
	gap: 8px; padding: 13px; text-align: center; font-weight: 700; font-size: 0.9rem;
}
.ar-desktop-cta .ar-btn-whatsapp-sec svg { width: 15px; height: 15px; flex-shrink: 0; }
.ar-oc-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* La bordure animée est un carré fixe, centré sur le bouton et découplé de
   ses propres proportions (bouton large et bas) : en dimensionnant le
   dégradé tournant en pourcentage du bouton lui-même, la rotation déformait
   le cercle en ellipse et donnait cet effet "raté". En le fixant à une
   taille carrée constante, la rotation reste un cercle propre quel que
   soit le bouton, petit ou large. */
.ar-desktop-cta .ar-btn-whatsapp-sec::before,
.ar-oc-whatsapp::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 260px; height: 260px;
	background: conic-gradient(from 0deg, transparent 0%, transparent 70%, var(--ar-whatsapp) 90%, color-mix(in srgb, var(--ar-whatsapp) 70%, black) 95%, var(--ar-whatsapp) 100%);
	z-index: -2;
	animation: ar-wa-smooth-rotate 3.5s linear infinite;
}
@keyframes ar-wa-smooth-rotate {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.ar-desktop-cta .ar-btn-whatsapp-sec::after,
.ar-oc-whatsapp::after {
	content: '';
	position: absolute;
	inset: 2px;
	background: #fff;
	border-radius: calc(var(--ar-radius) - 2px);
	z-index: -1;
	transition: background 0.3s ease;
}
.ar-desktop-cta .ar-btn-whatsapp-sec:hover,
.ar-oc-whatsapp:hover {
	background: var(--ar-whatsapp); color: #fff; transform: translateY(-1px);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--ar-whatsapp) 35%, transparent);
}
.ar-desktop-cta .ar-btn-whatsapp-sec:hover::after,
.ar-oc-whatsapp:hover::after { background: var(--ar-whatsapp); }

.ar-desktop-cta .ar-btn-quote-main {
	display: inline-flex; align-items: center; gap: 6px; height: 38px; white-space: nowrap;
	background: var(--ar-primary); color: #fff; border: none;
	padding: 0 15px; border-radius: var(--ar-radius);
	font-weight: 700; font-size: 0.82rem;
	box-shadow: 0 4px 14px -2px color-mix(in srgb, var(--ar-primary) 40%, transparent);
	transition: background 0.2s var(--ar-ease), transform 0.2s var(--ar-ease), box-shadow 0.2s var(--ar-ease);
	text-decoration: none;
}
.ar-desktop-cta .ar-btn-quote-main svg { width: 15px; height: 15px; flex-shrink: 0; }
.ar-desktop-cta .ar-btn-quote-main:hover {
	background: var(--ar-primary-dark); transform: translateY(-1px);
	box-shadow: 0 6px 18px -2px color-mix(in srgb, var(--ar-primary) 50%, transparent);
}

.ar-mobile-actions { display: flex; align-items: center; gap: 6px; }
@media (min-width: 1400px) { .ar-mobile-actions { display: none; } }

.ar-mobile-whatsapp {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%; background: var(--ar-whatsapp); color: #fff;
	flex-shrink: 0; transition: transform 0.2s var(--ar-ease);
}
.ar-mobile-whatsapp svg { width: 17px; height: 17px; position: relative; z-index: 2; }
.ar-mobile-whatsapp:hover { transform: scale(1.06); }
.ar-mobile-whatsapp::before, .ar-mobile-whatsapp::after {
	content: ''; position: absolute; inset: 0; border-radius: 50%;
	background: var(--ar-whatsapp); z-index: 1;
	animation: ar-wa-pulse 2.4s var(--ar-ease) infinite;
}
.ar-mobile-whatsapp::after { animation-delay: 1.2s; }
@keyframes ar-wa-pulse {
	0% { transform: scale(1); opacity: 0.55; }
	100% { transform: scale(2); opacity: 0; }
}

.ar-burger {
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
	width: 40px; height: 40px; background: none; border: none; border-radius: 50%;
	cursor: pointer; flex-shrink: 0; transition: background 0.2s;
}
.ar-burger:hover { background: color-mix(in srgb, var(--ar-logo-blue) 6%, transparent); }
@media (min-width: 1400px) { .ar-burger { display: none; } }
.ar-burger span { width: 20px; height: 2.5px; background: var(--ar-black); border-radius: 2px; transition: transform 0.25s var(--ar-ease), opacity 0.25s var(--ar-ease); }
.ar-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--ar-primary); }
.ar-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ar-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--ar-primary); }

/* ==========================================================================
   2. Offcanvas mobile
   ========================================================================== */
.ar-offcanvas-backdrop {
	position: fixed; inset: 0; background: rgba(2, 6, 23, 0.6); backdrop-filter: blur(1px);
	opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 1290;
}
.ar-offcanvas-backdrop.is-open { opacity: 1; visibility: visible; }
.ar-offcanvas {
	position: fixed; top: 0; left: 0; bottom: 0;
	height: 100vh; height: 100dvh;
	width: 100%; max-width: 360px;
	background-color: #ffffff;
	z-index: 1300;
	transform: translateX(-100%);
	transition: transform 0.32s var(--ar-ease);
	display: flex; flex-direction: column;
	box-shadow: 15px 0 35px rgba(0,0,0,0.25);
}
.ar-offcanvas.is-open { transform: translateX(0); }

.ar-oc-header {
	background-color: var(--ar-logo-blue);
	color: #fff;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	position: relative; z-index: 1;
}
.ar-oc-header .ar-logo img { height: 19px; width: auto; display: block; }
.ar-oc-close {
	background: rgba(255,255,255,0.12); border: none; color: #fff; cursor: pointer;
	width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; transition: background 0.2s; flex-shrink: 0;
}
.ar-oc-close:hover { background: rgba(255,255,255,0.22); }

.ar-offcanvas-body {
	flex: 1; overflow-y: auto; padding: 14px 16px;
	display: flex; flex-direction: column;
	background-color: #ffffff;
	min-height: 0;
}
.ar-offcanvas-nav { list-style: none; margin: 0; padding: 0; }
.ar-offcanvas-item { margin-bottom: 2px; }
.ar-offcanvas-item a, .ar-oc-parent-toggle {
	position: relative;
	display: flex; align-items: center; justify-content: space-between; padding: 12px;
	font-weight: 600; font-size: 0.94rem; color: var(--ar-black); border-radius: 9px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}
.ar-offcanvas-item a:hover,
.ar-offcanvas-item a:focus-visible,
.ar-oc-parent-toggle:hover,
.ar-oc-parent-toggle:focus-visible {
	background: color-mix(in srgb, var(--ar-primary) 8%, transparent);
	color: var(--ar-primary);
}
.ar-offcanvas-item.current-item a {
	color: var(--ar-primary);
	background: color-mix(in srgb, var(--ar-primary) 6%, transparent);
	padding-left: 15px;
}
.ar-offcanvas-item.current-item a::before {
	content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
	background: var(--ar-primary); border-radius: 2px;
}
.ar-oc-link-left { display: flex; align-items: center; gap: 13px; }
.ar-oc-link-left .ar-icon { width: 18px; height: 18px; stroke: var(--ar-primary); flex-shrink: 0; }

.ar-oc-parent-toggle {
	width: 100%; background: none; border: none;
	cursor: pointer; font-family: inherit;
}
.ar-oc-chevron { width: 16px; height: 16px; stroke: var(--ar-black); flex-shrink: 0; transition: transform 0.25s var(--ar-ease); }
.ar-oc-parent-toggle[aria-expanded="true"] .ar-oc-chevron { transform: rotate(90deg); stroke: var(--ar-primary); }

.ar-oc-submenu {
	list-style: none; margin: 0; padding: 0; overflow: hidden;
	max-height: 0; transition: max-height 0.3s var(--ar-ease);
}
.ar-oc-submenu li { margin: 2px 0 2px 18px; }
.ar-oc-submenu li a {
	display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 9px 12px;
	font-weight: 500; font-size: 0.88rem; color: #333; border-radius: 0 8px 8px 0;
	border-left: 2px solid var(--ar-border); text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ar-oc-submenu li a .ar-icon { width: 15px; height: 15px; stroke: var(--ar-primary); flex-shrink: 0; }
.ar-oc-submenu li a:hover, .ar-oc-submenu li a:focus-visible {
	background: color-mix(in srgb, var(--ar-primary) 7%, transparent);
	color: var(--ar-primary);
	border-left-color: var(--ar-primary);
}

.ar-oc-buttons {
	display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; padding-bottom: 6px;
	border-top: 1px solid color-mix(in srgb, var(--ar-logo-blue) 8%, transparent);
}
/* Apparence de .ar-oc-whatsapp (fond, dégradé animé, survol) définie plus
   haut, partagée avec le bouton WhatsApp du header desktop. */
.ar-oc-quote {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--ar-primary); color: #fff; text-align: center; font-weight: 700; font-size: 0.9rem;
	padding: 13px; border-radius: var(--ar-radius); text-decoration: none;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--ar-primary) 30%, transparent);
	transition: background 0.2s;
}
.ar-oc-quote:hover { background: var(--ar-primary-dark); }
.ar-oc-quote svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
	.ar-header, .ar-header *, .ar-offcanvas, .ar-offcanvas *, .ar-offcanvas-backdrop {
		transition: none !important;
	}
	.ar-mobile-whatsapp::before, .ar-mobile-whatsapp::after { animation: none !important; display: none; }
	.ar-desktop-cta .ar-btn-whatsapp-sec::before,
	.ar-oc-whatsapp::before { animation: none !important; }
}

/* ==========================================================================
   3. Footer
   ========================================================================== */
.ar-footer { background: var(--ar-logo-blue); color: rgba(255,255,255,0.82); margin-top: 64px; }
.ar-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.ar-footer h3 {
	color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
	margin: 0 0 18px;
}

/* Flexbox à la place du grid auto-fit : les colonnes se répartissent
   proportionnellement (la marque et le contact sont plus larges) et
   passent à la ligne proprement quel que soit le nombre de colonnes
   réellement affichées (1 à 3 menus + contact sont optionnels). */
.ar-footer-inner {
	max-width: 1280px; margin: 0 auto; padding: 56px 24px;
	display: flex; flex-wrap: wrap; gap: 40px 32px;
}
.ar-footer-col { flex: 1 1 160px; min-width: 0; position: relative; }
.ar-footer-brand { flex: 2.4 1 300px; }
.ar-footer-contact { flex: 1.5 1 220px; }

/* Séparateurs entre les colonnes : une ligne verticale centrée dans
   l'espace (gap) qui sépare deux colonnes côte à côte. */
.ar-footer-col:not(:first-child)::before {
	content: '';
	position: absolute;
	top: 0; bottom: 0; left: -16px;
	width: 1px;
	background: rgba(255,255,255,0.14);
}

.ar-footer-logo { display: inline-flex; margin-bottom: 16px; }
.ar-footer-logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }
.ar-footer-tagline { font-size: 0.9rem; line-height: 1.6; margin: 0 0 20px; max-width: 42ch; }
.ar-footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.ar-footer-social a {
	width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.08); transition: background 0.2s, transform 0.2s; flex-shrink: 0;
}
.ar-footer-social a:hover { background: var(--ar-primary); transform: translateY(-2px); }
.ar-footer-social svg { width: 16px; height: 16px; }

.ar-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ar-footer-links a {
	font-size: 0.9rem; word-break: break-word;
	display: inline-block; position: relative;
	background-image: linear-gradient(#fff, #fff);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1px;
	transition: color 0.2s, transform 0.2s, background-size 0.25s ease;
}
.ar-footer-links a:hover {
	color: #fff;
	transform: translateX(4px);
	background-size: 100% 1px;
}

.ar-footer-contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ar-footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; min-width: 0; }
.ar-footer-contact-list li span,
.ar-footer-contact-list li a { min-width: 0; overflow-wrap: break-word; }
.ar-footer-contact-list .ar-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: #fff; opacity: 0.8; }
.ar-footer-contact-list a:hover { color: #fff; }
.ar-footer-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--ar-primary); color: #fff !important; font-weight: 700; font-size: 0.9rem;
	padding: 13px 18px; border-radius: var(--ar-radius); text-decoration: none;
	box-shadow: 0 4px 14px -2px color-mix(in srgb, var(--ar-primary) 40%, transparent);
	transition: background 0.2s, transform 0.2s;
	white-space: nowrap;
}
.ar-footer-cta:hover { background: var(--ar-primary-dark); transform: translateY(-1px); }
.ar-footer-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.ar-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.ar-footer-bottom-inner {
	max-width: 1280px; margin: 0 auto; padding: 20px 24px;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px;
	text-align: center;
}
.ar-footer-bottom-inner p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.ar-footer-bottom-inner a { color: #4dabf7; text-decoration: none; font-weight: 600; }
.ar-footer-bottom-inner a:hover { text-decoration: underline; }

/* --- Tablette : 2 colonnes de liens, marque en pleine largeur au-dessus --- */
@media (max-width: 900px) {
	.ar-footer-inner { padding: 48px 24px; gap: 36px 28px; }
	.ar-footer-brand { flex: 1 1 100%; }
	.ar-footer-brand .ar-footer-tagline { max-width: 46ch; }
	.ar-footer-col:not(.ar-footer-brand) { flex: 1 1 200px; }

	/* La marque passe en pleine largeur au-dessus : elle n'a plus de
	   colonne à sa gauche, donc pas de séparateur devant l'élément
	   qui la suit — les séparateurs restent entre les colonnes suivantes. */
	.ar-footer-brand + .ar-footer-col::before { display: none; }
}

/* --- Mobile : tout empilé sur une colonne, espaces équilibrés --- */
@media (max-width: 600px) {
	.ar-footer-inner { padding: 32px 20px 8px; gap: 22px; flex-direction: column; }
	/* Même spécificité que la règle tablette (.ar-footer-col:not(.ar-footer-brand))
	   pour bien la remplacer ici : sans ça, son flex-basis:200px restait actif
	   sur mobile et forçait chaque bloc à occuper 200px de haut, quel que soit
	   son contenu réel. */
	.ar-footer-col:not(.ar-footer-brand), .ar-footer-brand, .ar-footer-contact { flex: 1 1 auto; }

	.ar-footer-brand { text-align: center; }
	.ar-footer-logo { margin-left: auto; margin-right: auto; }
	.ar-footer-tagline { margin-left: auto; margin-right: auto; }
	.ar-footer-social { justify-content: center; }

	/* Les menus (Menu, Services, Légal, Contact) s'alignent à gauche. */
	.ar-footer-col:not(.ar-footer-brand) { text-align: left; }
	.ar-footer-links { align-items: flex-start; gap: 9px; }
	.ar-footer-contact-list { gap: 11px; margin-bottom: 18px; }
	.ar-footer-contact-list li { justify-content: flex-start; text-align: left; }
	.ar-footer-cta { width: 100%; }

	/* Titres de menu soulignés, à la place des séparateurs entre blocs. */
	.ar-footer h3 {
		display: inline-block;
		text-decoration: underline;
		text-underline-offset: 5px;
		text-decoration-color: rgba(255,255,255,0.35);
		margin-bottom: 12px;
	}

	/* Pas de séparateurs entre les menus sur mobile. */
	.ar-footer-col:not(:first-child)::before { display: none; }

	.ar-footer-bottom-inner { padding: 18px 20px; flex-direction: column; gap: 4px; }
}
