/* Acti Ferm : styles des sections. Les couleurs et polices viennent de theme.json. */
:root {
	--af-red: var(--wp--preset--color--rouge, #c41e2c);
	--af-blue: var(--wp--preset--color--bleu, #1f5f9e);
	--af-steel: var(--wp--preset--color--anthracite, #2a3038);
	--af-ink: var(--wp--preset--color--encre, #1d2229);
	--af-muted: var(--wp--preset--color--gris, #5a6370);
	--af-bg: var(--wp--preset--color--fond, #f5f6f8);
	--af-blue-soft: var(--wp--preset--color--bleu-clair, #e6eef7);
	--af-line: #dde1e7;
	--af-display: var(--wp--preset--font-family--titres, "Barlow Condensed", Arial, sans-serif);
	--af-gutter-l: max(16px, env(safe-area-inset-left, 0px));
	--af-gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--af-bg); }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.af-main > * + * , .af-main { margin-block-start: 0; }
section[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 3px solid var(--af-blue); outline-offset: 3px; }

/* Petits libellés */
.af-eyebrow {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--af-red); font-weight: 600; margin-bottom: .2rem !important;
}
.af-intro, .af-lead { color: var(--af-muted); }
.af-hero .af-lead { max-width: 56ch; }

/* Bandeau du haut */
.af-topbar { background: var(--af-steel); color: #f1f3f6; font-size: .9rem; padding-block: 8px; }
.af-topbar p { margin: 0; text-align: center; }
.af-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2fc25b; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(47,194,91,.6); animation: af-pulse 2s infinite; }
@keyframes af-pulse { 70% { box-shadow: 0 0 0 8px rgba(47,194,91,0); } 100% { box-shadow: 0 0 0 0 rgba(47,194,91,0); } }
@media (prefers-reduced-motion: reduce) { .af-dot { animation: none; } }

/* En-tête */
.af-header { background: #fff; border-bottom: 1px solid var(--af-line); padding-block: 8px; position: sticky; top: 0; z-index: 50; }
.admin-bar .af-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .af-header { top: 46px; } }
.af-header-row { gap: 16px; }
.af-header-actions { gap: 18px; }
.af-logo { margin: 0 !important; }
.af-logo img { display: block; height: auto; }
.af-nav { font-weight: 600; gap: 22px; }
.af-nav a { color: var(--af-ink); text-decoration: none; }
.af-nav a:hover { color: var(--af-red); }
.af-head-call .wp-block-button__link { font-size: 1.1rem; padding: 10px 16px; }
@media (max-width: 599px) {
	.af-head-call .wp-block-button__link { font-size: 1rem; padding: 9px 12px; }
	.af-topbar { font-size: .82rem; }
}

/* Héros */
.af-hero {
	background: var(--af-steel) url(../images/hero.jpg) center / cover no-repeat;
	color: #f1f3f6; padding-block: clamp(44px, 7vw, 88px);
}
.af-hero h1 { color: #fff; margin-top: .3rem; }
.af-hero .af-mark { background: none; color: var(--af-red); }
.af-hero .af-lead { color: #c4ccd6; font-size: 1.12rem; }
.af-hero-ctas .wp-block-button__link { font-size: 1.35rem; padding: 14px 24px; }
.af-hero .is-style-outline .wp-block-button__link { color: #fff; border: 2px solid #fff; background: transparent; }
.af-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.af-chips li { font-size: .88rem; font-weight: 600; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px 12px; }
.af-chips li::before { content: "✓"; color: #2fc25b; margin-right: 6px; font-weight: 700; }
@media (max-width: 599px) { .af-hero-ctas .wp-block-button { width: 100%; } .af-hero-ctas .wp-block-button__link { width: 100%; } }

/* Plaque d'urgence */
.af-plate {
	background: linear-gradient(160deg, #3a414b, #22272e);
	border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 26px;
	box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
	position: relative;
}
.af-plate::before, .af-plate::after { content: ""; position: absolute; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9ced6, #6b7380); }
.af-plate::before { left: 12px; } .af-plate::after { right: 12px; }
.af-plate-label { font-family: ui-monospace, Menlo, monospace; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #a9b2bf; text-align: center; margin: 0; }
.af-plate-num { text-align: center; margin: .2rem 0 1rem; font-family: var(--af-display); font-weight: 800; font-size: clamp(2.1rem, 6vw, 3rem); letter-spacing: .04em; }
.af-plate-num a { color: #fff; text-decoration: none; }
.af-plate-grid { gap: 1px !important; background: rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; margin: 0; }
.af-plate-grid .wp-block-column { display: grid; gap: 1px; }
.af-plate-grid p { background: #262b33; padding: 12px 14px; margin: 0; }
.af-plate-grid small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #a9b2bf; }
.af-plate-grid strong { font-family: var(--af-display); font-size: 1.3rem; color: #fff; }

/* Bandeau confiance */
.af-trust { background: #fff; border-bottom: 1px solid var(--af-line); }
.af-trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.af-trust-list li { padding: 20px 16px; border-right: 1px solid var(--af-line); font-size: .85rem; color: var(--af-muted); }
.af-trust-list li:last-child { border-right: 0; }
.af-trust-list strong { display: block; font-family: var(--af-display); font-size: 1.15rem; text-transform: uppercase; color: var(--af-ink); line-height: 1.1; }
.af-trust-list strong::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--af-blue); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 600px) { .af-trust-list { grid-template-columns: 1fr 1fr; } .af-trust-list li { border-right: 0; border-bottom: 1px solid var(--af-line); } }

/* Sections */
.af-section { padding-block: clamp(52px, 8vw, 92px); }
.af-section-tight { padding-top: clamp(24px, 4vw, 40px); }
.af-section h2 { margin-top: 0; }

/* Prestations */
.af-domains { gap: 28px !important; margin-top: 2rem; }
.af-domain { background: #fff; border: 1px solid var(--af-line); border-radius: 12px; overflow: hidden; }
.af-domain-img { margin: 0 !important; }
.af-domain-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.af-domain-title { margin: 0 !important; padding: 20px 26px; color: #fff; font-size: 1.9rem !important; }
.af-domain-title.af-lock { background: var(--af-blue); }
.af-domain-title.af-glass { background: linear-gradient(135deg, #2b6c8f, #3b8fb3); }
.af-checks { list-style: none; padding: 6px 26px 22px; margin: 0; }
.af-checks li { padding: 14px 0 14px 32px; border-bottom: 1px solid var(--af-line); color: var(--af-muted); font-size: .96rem; position: relative; }
.af-checks li:last-child { border-bottom: 0; }
.af-checks li::before { content: "✓"; position: absolute; left: 0; top: 13px; color: var(--af-red); font-weight: 800; font-size: 1.1rem; }
.af-checks strong { display: block; color: var(--af-ink); font-size: 1.05rem; }

/* Urgence */
.af-urgent { background: var(--af-red); color: #fff; padding-block: 34px; }
.af-urgent h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.af-urgent p { margin: .3rem 0 0; opacity: .92; }
.af-urgent-row { gap: 20px; align-items: center; }
.af-btn-white .wp-block-button__link { background: #fff !important; color: var(--af-red) !important; font-size: 1.4rem; }

/* Étapes */
.af-steps { counter-reset: af-step; gap: 20px !important; margin-top: 1.6rem; }
.af-step { counter-increment: af-step; background: #fff; border: 1px solid var(--af-line); border-radius: 10px; padding: 24px; }
.af-step::before { content: counter(af-step); font-family: var(--af-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--af-blue); display: block; margin-bottom: 8px; }
.af-step h3 { margin: 0 0 6px; }
.af-step p { color: var(--af-muted); font-size: .97rem; margin: 0; }

/* Galerie */
.af-gallery { gap: 16px; margin-top: 1.6rem; }
.af-gallery .wp-block-image { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--af-steel); }
.af-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.af-gallery .wp-block-image:hover img { transform: scale(1.04); }
.af-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(10,12,15,.85)); color: #fff; text-align: left; font-family: var(--af-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 599px) { .af-gallery { grid-template-columns: 1fr 1fr !important; gap: 10px; } .af-gallery figcaption { font-size: .9rem; padding: 20px 10px 8px; } }

/* Engagements */
.af-commit { background: var(--af-blue-soft); }
.af-commit-cols { gap: 36px !important; }
.af-since { font-family: var(--af-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: .9; color: var(--af-blue); margin: .2rem 0 !important; }
.af-commit-photo { margin-top: 1.6rem !important; }
.af-commit-photo img { border-radius: 12px; width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.af-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.af-cards li { background: #fff; border-radius: 8px; padding: 16px 18px 16px 50px; position: relative; color: var(--af-muted); font-size: .95rem; }
.af-cards li::before { content: "✓"; position: absolute; left: 18px; top: 15px; color: var(--af-blue); font-weight: 800; font-size: 1.2rem; }
.af-cards strong { display: block; color: var(--af-ink); font-size: 1.02rem; }

/* Zones */
.af-zones { gap: 24px !important; margin-top: 1.6rem; }
.af-zone { background: #fff; border: 1px solid var(--af-line); border-radius: 12px; padding: 24px; }
.af-zone h3 { margin-top: 0; }
.af-zone-idf { margin-top: 24px; }
.af-towns, .af-depts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.af-towns li { border: 1px solid var(--af-line); border-radius: 6px; padding: 5px 11px; font-size: .93rem; }
.af-towns li strong { color: var(--af-red); }
.af-depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.af-depts li { border: 1px solid var(--af-line); border-radius: 6px; padding: 8px 12px; font-weight: 600; }
.af-depts strong { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; background: var(--af-blue); color: #fff; border-radius: 4px; padding: 2px 7px; margin-right: 8px; font-weight: 500; }
.af-note { color: var(--af-muted); font-size: .93rem; margin-top: 14px; }

/* FAQ */
.af-faq { background: #fff; border: 1px solid var(--af-line); border-radius: 10px; padding: 0 22px; margin-top: 12px !important; }
.af-faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.af-faq summary::-webkit-details-marker { display: none; }
.af-faq summary::after { content: "+"; font-family: var(--af-display); font-size: 1.6rem; line-height: 1; color: var(--af-red); }
.af-faq[open] summary::after { content: "–"; }
.af-faq p { color: var(--af-muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.af-contact { background: var(--af-steel); color: #f1f3f6; }
.af-contact h2 { color: #fff; }
.af-contact p { color: #c4ccd6; }
.af-contact .is-style-outline .wp-block-button__link { color: #fff; border: 2px solid #fff; background: transparent; }
.af-contact-cols { gap: 40px !important; }
.af-coords { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.af-coords li { background: rgba(255,255,255,.06); border-radius: 10px; padding: 14px 18px; font-size: 1.12rem; font-weight: 700; word-break: break-word; }
.af-coords small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a9b2bf; font-weight: 500; }
.af-coords a { color: #fff; }

/* Pied de page */
.af-footer { background: #0b0d10; color: #b8c0cb; font-size: .9rem; padding-block: 44px 28px; }
.af-footer h4 { color: #fff; font-size: 1.1rem; margin: 0 0 10px; }
.af-footer a { color: #e3e7ec; }
.af-footer .af-logo img { background: #fff; border-radius: 8px; padding: 4px 8px; }
.af-legal { border-top: 1px solid #222830; padding-top: 18px; margin-top: 24px; font-size: .82rem; color: #7d8794; }

/* Barre d'appel mobile */
.af-callbar { display: none; }
@media (max-width: 859px) {
	body { padding-bottom: 64px; }
	.af-callbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; margin: 0 !important;
		background: var(--af-red);
		padding: 10px var(--af-gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--af-gutter-l);
	}
	.af-callbar p { margin: 0; text-align: center; }
	.af-callbar a { color: #fff; text-decoration: none; font-family: var(--af-display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
}

/* Pages intérieures */
.af-page { padding-block: 48px 72px; }

/* Éditeur : garder la barre d'appel visible sans la fixer */
.editor-styles-wrapper .af-callbar { display: block; position: static; background: var(--af-red); padding: 10px; }
.editor-styles-wrapper .af-header { position: static; }

/* v1.0.1 : menu « burger » jusqu'à 1100px pour éviter un menu sur deux lignes */
.af-head-call .wp-block-button__link { white-space: nowrap; }
.af-nav .wp-block-navigation__container { flex-wrap: nowrap; }
@media (max-width: 1099px) {
	.af-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.af-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* v1.0.3 : menu mobile plein écran, fond anthracite, liens blancs, bouton d'appel */
.af-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: linear-gradient(160deg, #2a3038 0%, #1d2229 70%) !important;
	color: #fff !important;
	padding: 0 !important;
	border-top: 5px solid #c41e2c;
}
.af-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
.af-nav .is-menu-open .wp-block-navigation__responsive-dialog { padding: 22px 24px 32px; min-height: 100%; }
.af-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; top: 18px; right: 18px; background: rgba(255,255,255,.08); border-radius: 50%; padding: 8px; }
.af-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; }
.af-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px !important; align-items: stretch !important; gap: 0 !important; }
.af-nav .is-menu-open .wp-block-navigation__responsive-container-content::before {
	content: "Acti Ferm · Dépannage 24h/24";
	display: block; font-family: var(--af-display); font-weight: 700; letter-spacing: .08em;
	font-size: .85rem; color: #e8a0a6; text-transform: uppercase; margin-bottom: 18px;
}
.af-nav .is-menu-open .wp-block-navigation__container { width: 100%; gap: 0 !important; align-items: stretch !important; }
.af-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
.af-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex !important; align-items: center; justify-content: space-between; width: 100%;
	padding: 16px 4px !important; color: #fff !important;
	font-family: var(--af-display); font-size: 1.6rem; text-transform: uppercase; font-weight: 700; letter-spacing: .02em;
}
.af-nav .is-menu-open .wp-block-navigation-item__content::after { content: "›"; color: #c41e2c; font-size: 2rem; line-height: 1; }
.af-nav .is-menu-open .wp-block-navigation-item__content:hover,
.af-nav .is-menu-open .wp-block-navigation-item__content:active { color: #ff6b76 !important; }
.af-nav .is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; }
.af-nav .is-menu-open .wp-block-navigation-item { padding: 0 !important; margin: 0 !important; }
body:has(.af-nav .is-menu-open) .af-callbar { display: none !important; }
.af-menu-call {
	display: block; margin-top: 28px; padding: 16px 20px; border-radius: 10px;
	background: #c41e2c; color: #fff !important; text-align: center; text-decoration: none !important;
	font-family: var(--af-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em;
	box-shadow: 0 8px 24px rgba(196,30,44,.35);
}
.af-menu-call small { display: block; font-family: var(--af-text, inherit); font-weight: 600; font-size: .9rem; opacity: .9; letter-spacing: 0; }
.af-menu-mail { display: block; margin-top: 14px; text-align: center; color: #cfd6df !important; font-size: 1rem; }
.af-nav:not(:has(.is-menu-open)) .af-menu-call, .af-nav:not(:has(.is-menu-open)) .af-menu-mail { display: none; }

/* v1.0.2 : formulaire WPForms lisible dans la section Contact (carte blanche) */
.af-contact .wpforms-container,
.af-contact div.wpforms-container-full {
	background: #fff; color: var(--af-ink); border-radius: 12px;
	padding: 24px !important; margin: 24px 0 0 !important;
	box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.af-contact .wpforms-container .wpforms-field-label,
.af-contact .wpforms-container .wpforms-field-sublabel,
.af-contact .wpforms-container label,
.af-contact .wpforms-container .wpforms-title { color: var(--af-ink) !important; }
.af-contact .wpforms-container .wpforms-title { font-family: var(--af-display); text-transform: uppercase; font-size: 1.6rem; }
.af-contact .wpforms-container input, .af-contact .wpforms-container select, .af-contact .wpforms-container textarea {
	border-radius: 6px !important; border: 1px solid var(--af-line) !important; background: var(--af-bg) !important; color: var(--af-ink) !important; font-size: 1rem !important; max-width: 100% !important;
}
.af-contact .wpforms-container button[type=submit], .af-contact .wpforms-container .wpforms-submit {
	background: var(--af-red) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important;
	font-family: var(--af-display) !important; font-weight: 700 !important; font-size: 1.2rem !important; text-transform: uppercase; letter-spacing: .03em; padding: 12px 22px !important; height: auto !important;
}
.af-contact .wpforms-confirmation-container-full { background: var(--af-blue-soft) !important; color: var(--af-ink) !important; border: 0 !important; border-radius: 8px; }
.af-contact .wpforms-confirmation-container-full p { color: var(--af-ink) !important; }

/* v1.0.4 : bouton « Menu » bien visible à côté du numéro */
.af-nav .wp-block-navigation__responsive-container-open {
	align-items: center; gap: 6px;
	background: #1f5f9e; color: #fff; border-radius: 8px;
	padding: 9px 11px; line-height: 1;
	font-family: var(--af-display); font-weight: 700; font-size: 1rem;
	text-transform: uppercase; letter-spacing: .04em;
	box-shadow: 0 2px 6px rgba(31,95,158,.3);
}
.af-nav .wp-block-navigation__responsive-container-open svg {
	width: 22px; height: 22px; fill: currentColor;
}
.af-nav .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
.af-nav .wp-block-navigation__responsive-container-open:hover,
.af-nav .wp-block-navigation__responsive-container-open:focus { background: #174a7c; color: #fff; }
@media (max-width: 380px) {
	.af-nav .wp-block-navigation__responsive-container-open::after { content: none; }
	.af-nav .wp-block-navigation__responsive-container-open { padding: 9px; }
}
.af-nav .wp-block-navigation__responsive-container-open svg { display: none; }
.af-nav .wp-block-navigation__responsive-container-open::before {
	content: ""; display: block; width: 22px; height: 16px;
	background:
		linear-gradient(currentColor 0 0) top / 100% 3px no-repeat,
		linear-gradient(currentColor 0 0) center / 100% 3px no-repeat,
		linear-gradient(currentColor 0 0) bottom / 100% 3px no-repeat;
	border-radius: 2px;
}

/* v1.0.5 : bouton « retour en haut » */
.af-totop {
	position: fixed; right: 18px; bottom: 22px; z-index: 75;
	width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff;
	background: #1f5f9e; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,.28);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.af-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.af-totop:hover, .af-totop:focus-visible { background: #c41e2c; }
.af-totop svg { width: 24px; height: 24px; }
@media (max-width: 859px) { .af-totop { bottom: 80px; right: 14px; } }
body:has(.af-nav .is-menu-open) .af-totop { display: none; }

/* v1.0.8 : liste « Prestations » du formulaire avec un vrai bouton déroulant */
.af-contact .wpforms-container .wpforms-field-select select,
.af-contact .wpforms-container select {
	-webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
	padding-right: 64px !important; cursor: pointer;
	background-color: #f5f6f8 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Crect width='44' height='44' rx='8' fill='%23c41e2c'/%3E%3Cpath d='M14 18l8 8 8-8' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 40px 40px !important;
}
.af-contact .wpforms-container select:focus { border-color: #c41e2c !important; box-shadow: 0 0 0 3px rgba(196,30,44,.15) !important; }
.af-contact .wpforms-container select::-ms-expand { display: none; }

/* v1.0.9 : ligne fixe 01 85 43 02 04 (le portable reste pour les urgences) */
.af-btn-fixe .wp-block-button__link { background: #1f5f9e !important; color: #fff !important; border-color: #1f5f9e !important; }
.af-btn-fixe .wp-block-button__link:hover { background: #174a7c !important; }
.af-plate-fixe { text-align: center; margin: -.4rem 0 1rem !important; font-family: ui-monospace, Menlo, monospace; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #a9b2bf; }
.af-plate-fixe a { display: block; margin-top: 4px; font-family: var(--af-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; color: #fff !important; text-decoration: none; text-transform: none; }
.af-menu-fixe { background: #1f5f9e !important; box-shadow: 0 8px 24px rgba(31,95,158,.35) !important; margin-top: 14px !important; }
@media (max-width: 859px) {
	.af-callbar { padding: 0 !important; }
	.af-callbar p { display: grid; grid-template-columns: 1fr 1fr; }
	.af-callbar a { display: block; padding: 8px 6px; font-size: 1.15rem !important; line-height: 1.15; text-align: center; }
	.af-callbar a small { display: block; font-size: .68rem; letter-spacing: .08em; opacity: .9; font-weight: 700; }
	.af-callbar .af-call-urg { background: #c41e2c; }
	.af-callbar .af-call-fixe { background: #1f5f9e; }
}

/* v1.0.10 : petit logo « urgence » (gyrophare) devant le portable en haut de page */
.af-head-call .wp-block-button__link { display: inline-flex !important; align-items: center; gap: 7px; }
.af-head-call .wp-block-button__link::before {
	content: ""; flex: none; width: 20px; height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M7 18v-6a5 5 0 0 1 10 0v6h1.5a1 1 0 0 1 1 1v2h-15v-2a1 1 0 0 1 1-1H7Zm4-5.5v4h2v-4h-2Z'/%3E%3Cpath d='M11 1h2v3h-2zM3.5 4.9l1.4-1.4 2.1 2.1-1.4 1.4zM17 5.6l2.1-2.1 1.4 1.4-2.1 2.1zM1 11h3v2H1zM20 11h3v2h-3z'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: af-blink 1.6s ease-in-out infinite;
}
@keyframes af-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .af-head-call .wp-block-button__link::before { animation: none; } }
@media (max-width: 380px) {
	.af-head-call .wp-block-button__link { gap: 4px; padding: 9px 9px !important; font-size: .95rem !important; }
	.af-head-call .wp-block-button__link::before { width: 16px; height: 16px; }
}
