/*
 * Thème Abaxxi (2026), aligné sur abaxxi.fr.
 * Chargé après style.css : il remplace l'habillage de l'ancien thème sur toutes les pages
 * (en-tête, bandeau de titre, typographie, colonnes de contenu, pied de page sombre).
 */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/inter/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --ab-teal: #006363;
  --ab-teal-dark: #004d4d;
  --ab-jaune: #CCCC33;
  --ab-texte: #2D3748;
  --ab-gris: #555555;
  --ab-menu: #4A5568;
  --ab-fond-sombre: #172222;
  --ab-texte-clair: #C9D3D3;
  --ab-largeur: 1290px;
}

/* ---------- Base ---------- */
body {
  margin: 0;
  background: #fff;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ab-texte);
}
body a { color: var(--ab-teal); }
body a:hover { color: var(--ab-teal-dark); }
body h1, body h2, body h3, body h4 { font-family: inherit; line-height: 1.3; }
.ab-wrap { max-width: var(--ab-largeur); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ab-muted { color: var(--ab-texte-clair); }

.ab-btn, body .button.button-default {
  display: inline-block; background: var(--ab-jaune); color: #fff; border: 0; border-radius: 3px;
  padding: 10px 18px; font: 600 14.4px/1.2 "Inter", system-ui, sans-serif; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: filter .2s;
}
.ab-btn:hover, body .button.button-default:hover { filter: brightness(.92); color: #fff; }
.ab-btn:disabled { opacity: .6; cursor: wait; }
body .button.button-default span { color: #fff; }

/* ---------- En-tête blanc ---------- */
.ab-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,.07); }
.ab-header .ab-wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.ab-logo img { height: 72px; width: auto; display: block; }
.ab-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.ab-nav a { color: var(--ab-menu); text-decoration: none; font-size: 17px; }
.ab-nav a:hover { color: var(--ab-teal); }
.ab-nav-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--ab-menu); cursor: pointer; }

/* ---------- Bandeau de titre des pages (ancien .header2) ---------- */
body .header2 {
  position: relative; box-sizing: border-box; width: 100%; margin: 0; padding: 72px max(24px, calc((100% - var(--ab-largeur)) / 2 + 24px)) 48px;
  background: var(--ab-teal) url("/media/accueil/hero.webp") center / cover no-repeat; color: #fff;
}
body .header2::before { content: ""; position: absolute; inset: 0; background: rgba(0, 99, 99, .82); }
body .header2 > * { position: relative; }
body .header2 .titre1, body .header2 h1 {
  color: #fff; font-size: 44px; font-weight: 700; line-height: 1.15; margin: 0 0 18px; padding: 0; text-align: left;
}
body .header2 .breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; background: none; font-size: 15px; }
body .header2 .breadcrumb li, body .header2 .breadcrumb a { color: rgba(255,255,255,.88); text-decoration: none; }
body .header2 .breadcrumb a:hover { color: #fff; text-decoration: underline; }
body .header2 .breadcrumb li + li::before { content: none; }

/* ---------- Introduction (titre et chapeau) ---------- */
body .intro { display: block; max-width: var(--ab-largeur); margin: 0 auto; padding: 48px 24px 8px; box-sizing: border-box; }
body .intro h1 { color: var(--ab-teal); font-size: 34px; font-weight: 700; margin: 0 0 14px; text-align: left; }
body .intro h2 { color: var(--ab-gris); font-size: 20px; font-weight: 400; line-height: 1.55; margin: 0; max-width: 900px; text-align: left; }
body .intro img { border: 0; }

/* ---------- Contenu + colonne latérale (ancien .blog2) ---------- */
body .blog2 {
  max-width: var(--ab-largeur); margin: 0 auto; padding: 32px 24px 48px; box-sizing: border-box;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px;
}
body .content { background: #fff; box-shadow: none; padding: 0; }
body .content h1 { color: var(--ab-texte); font-size: 34px; }
body .content h2 { color: var(--ab-teal); font-size: 28px; font-weight: 700; text-align: left; margin: 36px 0 14px; }
body .content h3 { color: var(--ab-gris); font-size: 22px; font-weight: 600; text-align: left; margin: 28px 0 10px; }
body .content h4 { color: var(--ab-texte); font-size: 18px; font-weight: 600; text-align: left; margin: 22px 0 8px; }
body .content p, body .content ul, body .content ol { text-align: left; margin-right: 0; color: var(--ab-texte); }
body .content ul { list-style: disc; list-style-image: none; padding-left: 1.3em; }
body .content li::marker { color: var(--ab-jaune); }
body .content img { box-shadow: none; border-radius: 4px; max-width: 100%; margin: 4px 1.5em 12px 0; }
body .content blockquote { border-left: 3px solid var(--ab-jaune); margin: 20px 0; padding: 4px 0 4px 18px; color: var(--ab-gris); font-style: italic; }
body .content table { border-collapse: collapse; }

body .sidebar { box-sizing: border-box; }
body .sidebar h2 { color: var(--ab-teal); font-size: 22px; font-weight: 700; text-align: left; margin: 36px 0 16px; }
body .sidebar img, body .sidebar .media-object { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08); margin: 0 0 16px; display: block; }
body .sidebar p { margin: 0 0 12px; }

/* ---------- Grilles de cartes (missions, actualités) ---------- */
body .welcome, body .element4, body .element4bis { max-width: var(--ab-largeur); margin: 0 auto; padding: 24px; box-sizing: border-box; background: none; }
body .welcome h2, body .element4 h2, body .element4bis h2 { color: var(--ab-gris); font-size: 28px; font-weight: 600; text-align: left; }
body .welcome h4, body .welcome h4 a, body .element4 h3, body .element4 h3 a, body .element4bis h3, body .element4bis h3 a { color: var(--ab-teal); font-weight: 600; text-decoration: none; }
body .welcome > ul > li, body .element4 > ul > li, body .element4bis > ul > li { border-radius: 8px; }
body .welcome img, body .element4 img, body .element4bis img { border-radius: 6px; }

/* ---------- Page Cas clients ---------- */
.cc-liste { padding-top: 8px; padding-bottom: 32px; }
.cc-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cc-carte { background: #fff; border: 1px solid #e3e8e8; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: box-shadow .2s, transform .2s; }
.cc-carte:hover { box-shadow: 0 8px 24px rgba(0,0,0,.10); transform: translateY(-2px); }
.cc-carte a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.cc-carte img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-bottom: 3px solid var(--ab-jaune); }
.cc-carte img.cc-contain { object-fit: contain; background: #f4f6f6; padding: 12px; box-sizing: border-box; }
.cc-corps { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cc-tag { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ab-gris); margin: 0 0 8px; text-align: left; }
.cc-carte h3 { color: var(--ab-teal); font-size: 19px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; text-align: left; }
.cc-resultat { font-weight: 600; color: var(--ab-texte); margin: 0 0 16px; padding-left: 10px; border-left: 3px solid var(--ab-jaune); text-align: left; }
.cc-lire { margin-top: auto; color: var(--ab-teal); font-weight: 600; }
.cc-carte a:hover .cc-lire, .cc-carte a:focus-visible .cc-lire { text-decoration: underline; }
@media (max-width: 960px) { .cc-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cc-grille { grid-template-columns: 1fr; } }

/* ---------- Pages de cas client (cs-) ---------- */
.cs-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.cs-chiffre { background: rgba(204, 204, 51, .10); border-left: 3px solid var(--ab-jaune); padding: 14px 16px; }
.cs-chiffre strong { display: block; font-size: 30px; line-height: 1.1; color: var(--ab-teal); }
.cs-chiffre span { font-size: 15px; color: var(--ab-gris); }
.cs-figure { margin: 24px 0; }
.cs-figure img { float: none !important; display: block; width: 100%; margin: 0 !important; border: 1px solid #e3e6e6; }
.cs-figure figcaption { font-size: 14px; color: var(--ab-gris); margin-top: 8px; }
.cs-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 24px 0; counter-reset: phase; }
.cs-phase { padding: 18px 18px 14px; border-top: 6px solid var(--ab-teal); background: #f4f8f8; position: relative; }
.cs-phase:nth-child(2) { border-top-color: #2f8585; background: #f1f6f6; }
.cs-phase:nth-child(3) { border-top-color: var(--ab-jaune); background: #fafaf0; }
.cs-phase h4 { margin: 0 0 10px !important; color: var(--ab-teal) !important; font-size: 17px !important; text-transform: uppercase; letter-spacing: 1px; }
.cs-phase ul { margin: 0; padding-left: 1.1em; }
.cs-phase li { margin-bottom: 6px; font-size: 16px; }
.cs-flux { list-style: none !important; padding: 0 !important; margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: etape; }
.cs-flux li { counter-increment: etape; background: #fff; border: 1px solid #dfe5e5; border-radius: 6px; padding: 40px 14px 14px; position: relative; font-size: 15.5px; }
.cs-flux li::before { content: counter(etape); position: absolute; top: 10px; left: 14px; width: 24px; height: 24px; border-radius: 50%;
                      background: var(--ab-teal); color: #fff; font-weight: 700; font-size: 14px; line-height: 24px; text-align: center; }
.cs-flux li::marker { content: none; }
.cs-citation { font-size: 20px; font-style: italic; color: var(--ab-teal); border-left: 3px solid var(--ab-jaune); padding-left: 18px; margin: 24px 0; }
.cs-cta { background: var(--ab-teal); color: #fff; padding: 24px 28px; margin: 32px 0 8px; }
.cs-cta h2 { color: #fff !important; margin: 0 0 8px !important; font-size: 26px !important; }
.cs-cta p { color: #fff !important; margin: 0 0 16px; }
@media (max-width: 760px) { .cs-phases, .cs-flux { grid-template-columns: 1fr; } }
.cs-matrice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 8px; }
.cs-bloc { background: #f4f8f8; border-top: 4px solid var(--ab-teal); padding: 12px 14px; }
.cs-bloc b { display: block; font-size: 13px; color: var(--ab-jaune-fonce, #8a8a1f); letter-spacing: .05em; }
.cs-bloc span { display: block; font-weight: 600; color: var(--ab-teal); font-size: 16px; line-height: 1.3; }
.cs-bloc-total { background: var(--ab-teal); border-top-color: var(--ab-jaune); }
.cs-bloc-total b, .cs-bloc-total span { color: #fff; }
.cs-poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.cs-pole { text-align: center; border: 2px solid var(--ab-teal); border-radius: 50px; padding: 14px 12px; font-weight: 600; color: var(--ab-teal); }
.cs-leviers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.cs-levier { background: var(--ab-teal); color: #fff; border-radius: 6px; padding: 16px 14px; font-weight: 600; line-height: 1.3; border-bottom: 4px solid var(--ab-jaune); }
.cs-flux.cs-flux-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cs-flux.cs-flux-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cs-matrice, .cs-leviers { grid-template-columns: 1fr 1fr; } .cs-poles { grid-template-columns: 1fr; } }

/* ---------- Formulaires des pages (ebooks, brochure) ---------- */
body .contact-form input[type=text], body .contact-form input[type=email], body .contact-form textarea {
  box-sizing: border-box; border: 1px solid #c9c9c9; border-radius: 3px; padding: 10px 12px; font: inherit; color: var(--ab-texte); background: #fff;
}

/* ---------- Pied de page sombre ---------- */
.ab-footer { background: var(--ab-fond-sombre); color: var(--ab-texte-clair); margin-top: 48px; }
.ab-footer a { color: #fff; text-decoration: none; }
.ab-footer a:hover { color: var(--ab-jaune); }
.ab-footer-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; padding-top: 64px; padding-bottom: 48px; }
.ab-footer h2 { color: #fff; font-size: 28px; font-weight: 700; margin: 0 0 8px; text-align: left; }
.ab-footer p { margin: 0 0 16px; text-align: left; }
.ab-form { display: grid; gap: 12px; margin-top: 20px; max-width: 640px; }
.ab-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-form textarea, .ab-form input {
  box-sizing: border-box; width: 100%; font: inherit; color: #fff; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22); border-radius: 3px; padding: 12px 14px;
}
.ab-form textarea::placeholder, .ab-form input::placeholder { color: rgba(255,255,255,.55); }
.ab-form textarea:focus, .ab-form input:focus { outline: 2px solid var(--ab-jaune); outline-offset: 1px; border-color: transparent; }
.ab-form .ab-btn { justify-self: start; }
.ab-form-msg { color: var(--ab-jaune); min-height: 1.6em; margin: 0; }
.ab-footer-logo img { height: 64px; width: auto; background: #fff; padding: 8px 12px; border-radius: 4px; display: inline-block; margin-bottom: 16px; }
.ab-footer-links { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.ab-linkedin::before { content: "in"; display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; margin-right: 8px;
                       background: #fff; color: var(--ab-fond-sombre); border-radius: 3px; font-weight: 700; font-size: 13px; }
.ab-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.ab-footer-bottom .ab-wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 18px; padding-bottom: 18px; }
.ab-footer-bottom a { color: var(--ab-texte-clair); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .ab-nav-toggle { display: block; }
  .ab-nav { display: none; position: absolute; top: 96px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  .ab-nav.ab-open { display: block; }
  .ab-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .ab-nav li a { display: block; padding: 10px 0; }
  body .header2 { padding: 48px 20px 32px; }
  body .header2 .titre1, body .header2 h1 { font-size: 30px; }
  body .intro { padding: 32px 20px 4px; }
  body .intro h1 { font-size: 26px; }
  body .blog2 { display: block; padding: 20px; }
  body .content { grid-column: auto; }
  body .content img { float: none; display: block; margin: 12px 0; }
  body .content dl, body .content dt, body .content dd { max-width: 100%; box-sizing: border-box; }
  body .content dl { display: block; }
  body .content dt, body .content dd { display: block; width: auto; float: none; margin-left: 0; }
  body .welcome img, body .element4 img, body .element4bis img, body .sidebar img { max-width: 100%; height: auto; }
  body .content table { display: block; overflow-x: auto; }
  .ab-footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .ab-form-row { grid-template-columns: 1fr; }
}

/* Séparateur unique du fil d'Ariane */
body .header2 .breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: rgba(255,255,255,.6); }

/* Titres de section placés directement dans les pages (ex. « Nos actualités ») */
body > h2, body > section > h2 { max-width: var(--ab-largeur); margin-left: auto; margin-right: auto; padding: 0 24px; box-sizing: border-box; color: var(--ab-gris); font-size: 28px; }
body .element4bis { padding-top: 32px; }

/* Plan du site */
.ab-plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 48px; padding-top: 40px; padding-bottom: 8px; }
.ab-plan-section h2 { color: var(--ab-teal); font-size: 22px; font-weight: 700; margin: 16px 0 10px; text-align: left; }
.ab-plan-section ul { list-style: none; margin: 0; padding: 0; }
.ab-plan-section li { padding: 6px 0; border-bottom: 1px solid #eef0f0; }
.ab-plan-section a { color: var(--ab-texte); text-decoration: none; }
.ab-plan-section a:hover { color: var(--ab-teal); }
.ab-plan-xml { color: var(--ab-gris); font-size: 15px; padding-top: 16px; }
