/* Antola — flux d'information. Couleurs du logo (marine, vert) et du thème Jevelin. */
:root {
	--af-marine: #0a1442;
	--af-bleu: #344568;
	--af-violet: #4e4891;
	--af-vert: #2b8a3c;
	--af-vert-clair: #e8f3ea;
	--af-fond: #f6f7fb;
	--af-trait: #dfe2ec;
	--af-texte: #3d3d3d;
	--af-gris: #6a6f80;
}

/* ---------- Schéma du flux ---------- */
.af-flux { max-width: 1200px; margin: 0 auto; padding: 32px 0 8px; text-align: center; }
.af-flux-titre { color: var(--af-marine); font-size: 32px; line-height: 1.25; margin: 0 0 10px; }
.af-flux-chapo { color: var(--af-gris); font-size: 18px; line-height: 1.5; margin: 0 auto 28px; max-width: 720px; }
.af-flux-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: none; }
.af-etape { position: relative; margin: 0; padding: 0; }
.af-etape::before { content: none; }
.af-etape-lien {
	display: flex; flex-direction: column; align-items: center; height: 100%; box-sizing: border-box;
	padding: 26px 22px 22px; background: #fff; border: 1px solid var(--af-trait); border-top: 4px solid var(--af-bleu);
	border-radius: 10px; color: var(--af-texte); text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(10, 20, 66, .05); transition: box-shadow .2s, transform .2s;
}
.af-etape-2 .af-etape-lien { border-top-color: var(--af-violet); }
.af-etape-3 .af-etape-lien { border-top-color: var(--af-vert); }
.af-etape-lien:hover, .af-etape-lien:focus { box-shadow: 0 8px 24px rgba(10, 20, 66, .12); transform: translateY(-2px); }
.af-etape-lien:focus-visible { outline: 3px solid var(--af-vert); outline-offset: 3px; }
.af-actif .af-etape-lien { background: var(--af-fond); }
.af-etape-icone { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--af-fond); color: var(--af-bleu); margin-bottom: 14px; }
.af-etape-2 .af-etape-icone { color: var(--af-violet); }
.af-etape-3 .af-etape-icone { color: var(--af-vert); background: var(--af-vert-clair); }
.af-etape-icone .af-ico { width: 36px; height: 36px; }
.af-etape-num { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--af-marine); color: #fff; font-size: 13px; font-weight: 700; line-height: 26px; }
.af-etape-label { display: block; color: var(--af-marine); font-size: 20px; font-weight: 700; line-height: 1.3; }
.af-etape-logiciel { display: block; margin: 6px 0 10px; color: var(--af-violet); font-size: 15px; font-weight: 600; }
.af-etape-3 .af-etape-logiciel { color: var(--af-vert); }
.af-etape-texte { display: block; font-size: 15px; line-height: 1.55; color: var(--af-gris); flex: 1; }
.af-etape-plus { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--af-bleu); font-size: 14px; font-weight: 600; }
.af-fleche { position: absolute; top: 50%; right: -42px; width: 36px; transform: translateY(-50%); color: var(--af-trait); text-align: center; }
.af-fleche .af-ico { width: 32px; height: 32px; color: #b5bbcf; }
.af-ico-sm { width: 16px; height: 16px; }

/* ---------- Appel à l'action ---------- */
.af-cta { text-align: center; margin: 28px 0 8px; }
.af-bouton {
	display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 6px;
	background: var(--af-vert); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important;
	transition: background .2s;
}
.af-bouton:hover, .af-bouton:focus { background: #23722f; }
.af-bouton:focus-visible { outline: 3px solid var(--af-marine); outline-offset: 3px; }
.af-cta-note { margin: 10px 0 0; color: var(--af-gris); font-size: 14px; }

/* ---------- Blocs (modules, usages, étapes d'accompagnement) ---------- */
.af-bloc { padding: 4px 0 8px; }
.af-icone { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--af-fond); color: var(--af-bleu); margin-bottom: 10px; }
.af-icone .af-ico { width: 28px; height: 28px; }
.af-bloc-titre { color: var(--af-marine); font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.af-bloc-texte { color: var(--af-texte); font-size: 15px; line-height: 1.6; }
.af-bloc-texte ul { margin: 0 0 0 1.1em; padding: 0; }
.af-bloc-texte li { margin: 0 0 4px; }
.af-bloc-texte p:last-child { margin-bottom: 0; }

/* ---------- Encadré (coût de Dolibarr…) ---------- */
.af-encadre { background: var(--af-fond); border-left: 4px solid var(--af-vert); border-radius: 8px; padding: 24px 28px; }
.af-encadre h2, .af-encadre h3 { color: var(--af-marine); margin-top: 0; }
.af-encadre dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.af-encadre dt { font-weight: 700; color: var(--af-marine); }
.af-encadre dd { margin: 0; color: var(--af-texte); }

/* ---------- Captures ---------- */
.af-capture { margin: 0 0 8px; }
.af-capture img { display: block; width: 100%; height: auto; border: 1px solid var(--af-trait); border-radius: 8px; box-shadow: 0 4px 18px rgba(10, 20, 66, .08); }
.af-capture figcaption { margin-top: 8px; color: var(--af-gris); font-size: 13px; line-height: 1.45; text-align: left; }
.af-manque { color: #b00; font-weight: 700; }

/* ---------- FAQ ---------- */
.af-faq { border-bottom: 1px solid var(--af-trait); padding: 4px 0; }
.af-faq summary { cursor: pointer; list-style: none; position: relative; padding: 14px 36px 14px 0; color: var(--af-marine); font-size: 18px; font-weight: 600; }
.af-faq summary::-webkit-details-marker { display: none; }
.af-faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 24px; color: var(--af-vert); }
.af-faq[open] summary::after { content: "–"; }
.af-faq-reponse { padding: 0 0 14px; color: var(--af-texte); font-size: 16px; line-height: 1.6; }

/* ---------- Bandeau d'accueil ---------- */
/* Texte resserré sur le tiers gauche : la photo reste visible sur le reste du bandeau. */
.af-bandeau { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(500px, 68vh, 700px); background: var(--af-marine); }
.af-bandeau-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.af-bandeau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 66, .88) 0%, rgba(10, 20, 66, .74) 30%, rgba(10, 20, 66, .18) 50%, rgba(10, 20, 66, 0) 62%); }
.af-bandeau-contenu { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 24px; box-sizing: border-box; }
.af-bandeau-titre { max-width: 500px; margin: 0 0 26px; color: #fff; font-size: 40px; line-height: 1.18; }
.af-metiers { list-style: none; margin: 0; padding: 0; max-width: 540px; }
.af-metiers li { margin: 0 0 14px; padding: 0; }
.af-metiers li::before { content: none; }
.af-metiers a { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; }
.af-metiers .af-ico { flex: none; width: 44px; height: 44px; padding: 11px; box-sizing: border-box; border-radius: 50%; background: var(--af-vert); color: #fff; }
.af-metiers span { font-size: 15px; line-height: 1.4; color: #dfe4f2; }
.af-metiers strong { display: block; color: #fff; font-size: 19px; }
.af-metiers a:hover strong, .af-metiers a:focus strong { text-decoration: underline; }
.af-metiers a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* ---------- Menu principal du thème (Jevelin), aux couleurs du bandeau ---------- */
#header-navigation .sh-nav > li.menu-item { padding: 0 11px; }
#header-navigation .sh-nav > li.menu-item > a {
	color: var(--af-marine); font-size: 15px; font-weight: 600;
	background: linear-gradient(var(--af-vert), var(--af-vert)) no-repeat left calc(100% - 14px) / 0 3px; transition: color .2s, background-size .2s;
}
#header-navigation .sh-nav > li.menu-item:hover:not(.sh-nav-social) > a { color: var(--af-vert); background-size: 100% 3px; }
#header-navigation .sh-nav > li.menu-item ul { background-color: #fff !important; border-top: 3px solid var(--af-vert); border-radius: 0 0 8px 8px; box-shadow: 0 10px 28px rgba(10, 20, 66, .14); padding: 10px 0; width: 260px; }
#header-navigation .sh-nav > li.menu-item ul a { color: var(--af-marine) !important; font-size: 15px; font-weight: 500; }
#header-navigation .sh-nav > li.menu-item:not(.menu-item-cart) ul a:hover { color: var(--af-vert) !important; background: var(--af-vert-clair); border-color: transparent !important; }
/* Écrans moyens : le menu doit tenir sur une ligne à côté du logo */
@media (max-width: 1399px) {
	#header-navigation .sh-nav > li.menu-item { padding: 0 7px; }
	#header-navigation .sh-nav > li.menu-item > a { font-size: 14px; }
}
@media (max-width: 1299px) {
	#header-navigation .sh-nav > li.menu-item { padding: 0 5px; }
	#header-navigation .sh-nav > li.menu-item > a { font-size: 13px; }
}
@media (max-width: 1199px) {
	.sh-header .header-logo img { max-width: 220px; height: auto; }
}

/* ---------- Sections de présentation (accueil) ---------- */
.af-presentation { padding-top: 56px; padding-bottom: 56px; }
.af-fond { background: var(--af-fond); }
.af-surtitre { margin: 0 0 6px; color: var(--af-vert); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.af-presentation h2 { margin: 0 0 14px; color: var(--af-marine); font-size: 30px; line-height: 1.25; }
.af-presentation p { font-size: 16px; line-height: 1.65; }
.af-chiffres { color: var(--af-marine); font-weight: 600; }
.af-puces { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; padding: 0; }
.af-puces li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid var(--af-trait); border-radius: 20px; background: #fff; color: var(--af-bleu); font-size: 14px; }
.af-puces li::before { content: none; }
.af-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.af-bouton-contour { background: transparent; color: var(--af-marine) !important; border: 2px solid var(--af-marine); padding: 12px 22px; }
.af-bouton-contour:hover, .af-bouton-contour:focus { background: var(--af-marine); color: #fff !important; }

/* ---------- Petits écrans ---------- */
@media (max-width: 860px) {
	.af-flux { padding-top: 20px; }
	.af-bandeau { min-height: 0; }
	.af-bandeau::after { background: rgba(10, 20, 66, .78); }
	.af-bandeau-contenu { padding: 28px 18px; }
	.af-bandeau-titre { font-size: 30px; }
	.af-metiers strong { font-size: 18px; }
	.af-metiers span { font-size: 14px; }
	.af-presentation { padding-top: 36px; padding-bottom: 36px; }
	.af-presentation h2 { font-size: 24px; }
	.af-presentation .af-capture { margin-top: 20px; }
	.af-flux-titre { font-size: 25px; }
	.af-flux-chapo { font-size: 16px; margin-bottom: 20px; }
	.af-flux-etapes { grid-template-columns: 1fr; gap: 34px; }
	.af-fleche { top: auto; bottom: -33px; right: 50%; transform: translateX(50%) rotate(90deg); }
	.af-encadre { padding: 18px 18px; }
	.af-bouton { padding: 13px 18px; font-size: 15px; }
	.af-etape-lien { padding: 20px 18px 18px; }
	.af-etape-icone { width: 60px; height: 60px; margin-bottom: 10px; }
	.af-encadre dl { grid-template-columns: 1fr; gap: 2px; }
	.af-encadre dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.af-etape-lien, .af-bouton { transition: none; }
	.af-etape-lien:hover { transform: none; }
}

/* ---------- Pages de l'offre ---------- */
.af-section { padding-top: 28px; }
.af-accueil { padding-bottom: 12px; }
.af-intro { font-size: 18px; line-height: 1.65; color: var(--af-texte); max-width: 860px; }
.af-encadre-note { margin: 16px 0 0; font-size: 14px; color: var(--af-gris); }
.af-a-completer { display: inline-block; padding: 2px 8px; background: #fff3cd; color: #7a4b00; font-weight: 700; border: 1px dashed #c98a00; }

/* Sur mobile (colonnes empilées par WPBakery sous 768 px), le texte passe avant la capture */
@media (max-width: 767px) {
	#solutions.vc_row { display: flex; flex-direction: column-reverse; }
}
