
:root{--ink:#173943;--green:#16786d;--soft:#edf5f0;--cream:#faf7f1;--muted:#596c70;--line:#dce7e3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:17px/1.65 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:#fff}a{color:var(--green)}a:focus-visible,button:focus-visible{outline:3px solid #e1a25e;outline-offset:3px}.wrap{max-width:1140px;margin:auto;padding:0 28px}.skip{position:absolute;left:-9999px;top:8px;background:white;padding:8px}.skip:focus{left:8px;z-index:100}.topbar{border-bottom:1px solid var(--line);background:#fff}.nav{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:22px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;color:var(--ink);line-height:1.1}.logo{display:grid;place-items:center;background:var(--ink);color:white;border-radius:11px;width:48px;height:48px;font-weight:800;letter-spacing:-.05em}.brand small{display:block;font-size:11px;letter-spacing:.075em;color:var(--green);margin-top:6px;text-transform:uppercase;font-weight:700}.menu{display:flex;gap:15px;flex-wrap:wrap;justify-content:end}.menu a{color:var(--ink);text-decoration:none;font-size:13px;font-weight:650}.menu a[aria-current=page]{color:var(--green);text-decoration:underline;text-underline-offset:7px}.hero{background:linear-gradient(120deg,#eaf4ed,#f9f7ef);padding:105px 0 90px}.hero-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:45px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:850}h1{font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.12;letter-spacing:-.045em;margin:16px 0 26px;max-width:850px}h2{font-size:clamp(1.8rem,3vw,2.75rem);line-height:1.2;letter-spacing:-.035em;margin:8px 0 24px}h3{font-size:1.25rem;line-height:1.3;margin:0 0 12px}p{margin:0 0 20px}.lead{font-size:1.18rem;max-width:735px;color:#3f5960}.actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:30px}.button{display:inline-block;padding:13px 22px;border-radius:7px;background:var(--green);color:white;text-decoration:none;font-weight:700}.button.alt{border:1px solid var(--green);color:var(--green);background:transparent}.panel{background:#fff;border:1px solid var(--line);padding:28px;border-radius:16px;box-shadow:0 13px 40px #1939430d}.hero-side .line{border-top:1px solid var(--line);padding:16px 0;font-size:15px}.hero-side .line:first-of-type{margin-top:20px}.section{padding:80px 0}.section.alt{background:var(--cream)}.section.soft{background:var(--soft)}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{padding:29px;background:white;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:start}.card p{color:var(--muted);font-size:15px}.card a{margin-top:auto;font-weight:750}.num{color:var(--green);font-size:13px;font-weight:800;letter-spacing:.1em;margin-bottom:15px}.duo{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}.checks{padding-left:21px}.checks li{margin:0 0 12px}.mini{font-size:14px;color:var(--muted)}.intro{max-width:800px}.banner{background:var(--ink);color:white;padding:55px 0}.banner p{color:#dcebe9}.banner .button{background:#fff;color:var(--ink)}.pagehead{background:var(--soft);padding:70px 0}.pagehead h1{font-size:clamp(2.5rem,4vw,4rem)}.article{max-width:790px}.article h2{font-size:1.8rem;margin-top:40px}.article ul li{margin-bottom:10px}.article p,.article li{color:#3f5960}.pill{display:inline-block;background:#e0efe8;padding:8px 14px;border-radius:99px;color:var(--green);font-size:14px;font-weight:700;margin:5px}.foot{background:#102e36;color:#e1eceb;padding:40px 0}.foot a{color:white}.footgrid{display:flex;justify-content:space-between;gap:35px;flex-wrap:wrap}.foot small{color:#c6d7d7}.notice{border-left:4px solid #e5a967;padding:18px;background:#fff8ee;color:#5d513d}.breadcrumbs{font-size:13px;margin-bottom:18px}.breadcrumbs a{color:var(--green)}@media(max-width:850px){.nav{align-items:start;flex-direction:column;padding:18px 0}.menu{justify-content:start}.hero-grid,.duo{grid-template-columns:1fr}.hero{padding:55px 0}.grid3{grid-template-columns:1fr}.section{padding:55px 0}.hero-side{display:none}}@media(max-width:500px){.wrap{padding:0 18px}.menu{gap:12px}.menu a{font-size:12px}h1{font-size:2.45rem}}

/* Pictogrammes SVG vectoriels : aucune illustration IA */
.service-icon{display:inline-flex;width:58px;height:58px;align-items:center;justify-content:center;padding:13px;color:var(--green);background:var(--soft);border:1px solid var(--line);border-radius:15px;margin-bottom:19px}.service-icon svg{display:block;width:84px;height:84px}.service-icon-page{width:176px;height:176px;margin-bottom:22px;padding:10px}.service-icon-page svg{width:108px;height:108px}

/* V8 : FAQ et articles */
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 44px;margin:26px 0 30px}.faq-grid h3{font-size:1.1rem;margin-bottom:7px}.faq-grid p{color:var(--muted)}.article .panel{margin:32px 0}.article .button{margin-top:12px}@media(max-width:700px){.faq-grid{grid-template-columns:1fr;gap:14px}}


/* V9 — Direction graphique inspirée de la palette vive de Minerva.
   Identité propre à Alain Titone : aucun logo, photo ou dessin Minerva réutilisé. */
:root{--ink:#111111;--green:#087f50;--soft:#e8fff0;--cream:#f6f6f3;--muted:#414141;--line:#d9d9d9;--mint:#5af2a0;--sky:#74cbf3;--coral:#ff817a}
body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.6}
a{color:#08613f;text-underline-offset:3px}
a:focus-visible{outline:3px solid var(--sky)}
.topbar{border-bottom:2px solid var(--ink)}
.brand small{color:#484848;letter-spacing:.035em}.logo{display:grid;place-items:center;width:58px;height:58px;background:#fff;color:#111;border-radius:50%;font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:900;letter-spacing:-.03em;border:2px solid #111;box-shadow:inset 0 0 0 6px var(--mint)}
.menu a{font-weight:750}.menu a[aria-current=page]{color:#0d7049;text-decoration-color:var(--mint)}
.hero{background:#fff;padding:95px 0 92px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0 auto 0 0;width:11px;background:linear-gradient(180deg,var(--mint) 0 40%,var(--sky) 40% 71%,var(--coral) 71%)}
.hero .eyebrow{display:inline-block;background:var(--mint);color:#080808;letter-spacing:.06em;padding:7px 12px;font-size:12px}
.hero h1{font-size:clamp(2.2rem,4.4vw,4.2rem);font-weight:850;letter-spacing:-.055em;line-height:1.12;max-width:760px}
.lead{color:#333}.button{border-radius:0;background:#111;color:#fff;transition:transform .16s ease,background .16s ease}
.button:hover{transform:translateY(-2px);background:#2c2c2c}.button.alt{border:2px solid #111;color:#111;background:#fff}
.button.alt:hover{background:var(--sky)}
.panel{border-radius:0;border:2px solid #111;box-shadow:none}
.hero-side{background:var(--sky);transform:rotate(1.2deg)}.hero-side .eyebrow{background:#fff}
.hero-side h3{font-size:1.7rem;letter-spacing:-.04em}
.section{padding:85px 0}.section.alt{background:#f6f6f3}.section.soft{background:#e6f7ff}
.section>.wrap>.eyebrow,.duo .eyebrow{color:#111;border-left:6px solid var(--mint);padding-left:10px;letter-spacing:.07em}
h1,h2,h3{font-weight:800}h2{letter-spacing:-.047em}
.card{border:2px solid #111;border-radius:0;position:relative;overflow:hidden;min-height:300px;transition:transform .16s ease}
.card:hover{transform:translateY(-4px)}
.grid3 .card:nth-child(1){border-top:9px solid var(--mint)}
.grid3 .card:nth-child(2){border-top:9px solid var(--sky)}
.grid3 .card:nth-child(3){border-top:9px solid var(--coral)}
.service-icon{background:transparent;border:0;border-radius:0;color:#111;width:156px;height:156px;padding:10px}
.grid3 .card:nth-child(2) .service-icon{background:transparent}
.grid3 .card:nth-child(3) .service-icon{background:transparent}
.card a{color:#111;text-decoration-thickness:2px}
.pagehead{background:var(--mint);border-bottom:2px solid #111}.pagehead .eyebrow{color:#111}.pagehead .service-icon{margin-top:10px}
.pill{border-radius:0;background:var(--sky);color:#111}
.banner{background:var(--ink);border-top:10px solid var(--coral)}.banner .button{background:var(--mint);color:#111}
.foot{background:#111;color:#fff}.foot small{color:#dadada}
.notice{border-left-color:var(--coral);background:#fff4f2;color:#282828}
@media(max-width:850px){.hero{padding:60px 0}.hero::before{width:6px}.card{min-height:0}.hero-side{transform:none}}



/* Seul remplacement graphique : logo AT du bandeau. */
.brand .site-logo{display:block;width:72px;height:72px;object-fit:contain;flex-shrink:0}
@media(max-width:500px){.brand .site-logo{width:62px;height:62px}}


/* V21.1 — Ajustement graphique leger pour comparaison en Preview.
   Aucun changement de contenu, de navigation, de logo ou de SEO.
   Les couleurs restent basees sur la palette originale : menthe, ciel, corail, noir. */
:root {
  --mint-wash: #eef9f2;
  --sky-wash: #edf7fc;
  --warm-wash: #fcfaf7;
  --coral-wash: #fff6f3;
}

/* Hierarchie typographique un peu moins uniforme, sans changer de police. */
body { letter-spacing: .002em; }
h1 {
  font-size: clamp(2.32rem, 4.5vw, 4.4rem);
  line-height: 1.105;
  letter-spacing: -.046em;
}
h2 {
  font-size: clamp(1.95rem, 3.12vw, 2.98rem);
  line-height: 1.17;
  letter-spacing: -.038em;
  font-weight: 770;
}
h3 {
  font-size: 1.28rem;
  line-height: 1.34;
  letter-spacing: -.013em;
}
.section { padding-top: 82px; padding-bottom: 88px; }
.section.alt { background: #f5f8f6; }
.section.soft { background: #eef7fc; }

/* Aplats discrets, plus rythmes, surtout sur l'accueil.
   Chaque selecteur suit les sections existantes et ne change pas le HTML. */
.hero {
  background: linear-gradient(108deg, #effaf3 0%, #f8fbf9 55%, #fffdfb 100%);
}
.hero .eyebrow { background: var(--mint); }
.hero-side {
  transform: none;
  background: #edf7fc;
  border: 1.5px solid #242424;
  border-top: 6px solid var(--sky);
}
.hero-side h3 { font-size: 1.55rem; }
.hero + .section { background: var(--warm-wash); }
.hero + .section + .section { background: var(--sky-wash); }
.hero + .section + .section + .section { background: var(--mint-wash); }
.hero + .section + .section + .section + .section { background: #fff; }
.hero + .section + .section + .section + .section + .section { background: #edf7fc; }

/* Des encadres moins generiques : fonds delicatement teintes, angles mesures. */
.panel {
  border: 1.5px solid #292929;
  border-radius: 5px;
  box-shadow: none;
}
.card {
  border: 1.5px solid #303030;
  border-radius: 5px;
  box-shadow: none;
}
.grid3 .card:nth-child(1) {
  background: #f3faf5;
  border-top: 7px solid var(--mint);
}
.grid3 .card:nth-child(2) {
  background: #f1f8fd;
  border-top: 7px solid var(--sky);
}
.grid3 .card:nth-child(3) {
  background: #fff7f4;
  border-top: 7px solid var(--coral);
}
.pagehead {
  background: #dcf8e9;
  border-bottom: 1.5px solid #242424;
}
/* Une touche de couleur conservee sans bordures trop dominantes. */
.banner { border-top-width: 7px; }

@media (max-width: 850px) {
  .section { padding-top: 55px; padding-bottom: 59px; }
  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero-side { transform: none; }
  .card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .button { transition: none; }
}


/* V21.2 : footer logo blanc. */
.footer-logo-line{display:flex;align-items:center;gap:14px;margin:0 0 7px}
.footer-logo-white{width:55px;height:55px;display:block;flex:0 0 55px;object-fit:contain}
.footer-logo-line strong{font-size:1.15rem;line-height:1.1;color:white}
@media(max-width:500px){.footer-logo-white{width:48px;height:48px;flex-basis:48px}}


/* V21.4 — Menu inférieur commun à toutes les pages. */
.foot .footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 22px;
  align-items: start;
  width: 100%;
  padding: 0 0 24px;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.26);
}
.foot .footer-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 1;
  overflow-wrap: break-word;
  width: auto;
  min-width: 0;
  padding: 3px 0;
}
.foot .footer-nav a:hover,
.foot .footer-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot .footer-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #a7e7c6;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
@media (min-width: 1200px) {
  .foot .footer-nav { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 700px) {
  .foot .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
  .foot .footer-nav a { font-size: 13px; }
}


/* V21.4 — Variante « accents de couleur » (Preview).
   Ajustement uniquement visuel : structure, navigation, contenus, quiz et
   simulateur restent strictement inchanges. */
:root {
  --at-mint-surface: #e4f6eb;
  --at-sky-surface: #e5f2fb;
  --at-coral-surface: #fff0e9;
  --at-cream-surface: #fbf8f1;
}

/* Fonds de section affirmes, sans ajouter d'ornements. */
.section.alt { background: #eaf6f0; }
.section.soft { background: #e7f3fa; }

/* Accueil : couleurs pour rythmer quelques passages, sans modifier la structure. */
.hero-side { background: #e4f3fc; }
.hero + .section { background: #fcfaf6; }
.hero + .section + .section { background: var(--at-mint-surface); }
.hero + .section + .section + .section { background: var(--at-coral-surface); }
.hero + .section + .section + .section + .section { background: #fff; }
.hero + .section + .section + .section + .section + .section { background: var(--at-sky-surface); }
.hero + .section + .section + .section + .section + .section + .section { background: #f0f8f2; }

/* Trois prestations : tons un peu plus visibles, conformes aux pictogrammes. */
.grid3 .card:nth-child(1) { background: #e9f8ef; }
.grid3 .card:nth-child(2) { background: #eaf5fc; }
.grid3 .card:nth-child(3) { background: #fff0eb; }

/* Legers aplats sur les encadres de pages de prestation. */
.section:not(.alt):not(.soft) .panel { background: #f7fbf9; }
.section.alt .panel { background: #fcfdfb; }
.hero-side.panel { background: #e4f3fc; }

/* Les outils gardent leurs formulaires blancs ; seul leur entete est colore. */
.diagnostic-card .diagnostic-top,
.sim-card .diagnostic-top { background: #eaf6f0; }

/* Pas de modification du menu noir, du footer, des boutons ou de l'impression. */
@media print {
  .section.alt, .section.soft, .diagnostic-card .diagnostic-top,
  .sim-card .diagnostic-top { background: transparent; }
}


/* V21.5 — Bandeaux d'introduction des trois expertises.
   Seule la zone .pagehead est modifiee, sans effet sur les sections suivantes. */
.pagehead-ingenierie { background: #13543e; }
.pagehead-formation { background: #14577a; }
.pagehead-qualite { background: #963f38; }

.pagehead-ingenierie,
.pagehead-formation,
.pagehead-qualite { color: #fff; }

.pagehead-ingenierie h1,
.pagehead-formation h1,
.pagehead-qualite h1,
.pagehead-ingenierie .lead,
.pagehead-formation .lead,
.pagehead-qualite .lead,
.pagehead-ingenierie .eyebrow,
.pagehead-formation .eyebrow,
.pagehead-qualite .eyebrow { color: #fff; }

.pagehead-ingenierie .breadcrumbs,
.pagehead-formation .breadcrumbs,
.pagehead-qualite .breadcrumbs { color: rgba(255,255,255,.9); }

.pagehead-ingenierie .breadcrumbs a,
.pagehead-formation .breadcrumbs a,
.pagehead-qualite .breadcrumbs a { color: #fff; text-underline-offset: 3px; }

.pagehead-ingenierie .service-icon-page,
.pagehead-formation .service-icon-page,
.pagehead-qualite .service-icon-page {
  color: #fff;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.24);
}

@media print {
  .pagehead-ingenierie,
  .pagehead-formation,
  .pagehead-qualite { background: #fff; color: #111; }
  .pagehead-ingenierie h1, .pagehead-ingenierie .lead, .pagehead-ingenierie .eyebrow,
  .pagehead-formation h1, .pagehead-formation .lead, .pagehead-formation .eyebrow,
  .pagehead-qualite h1, .pagehead-qualite .lead, .pagehead-qualite .eyebrow,
  .pagehead-ingenierie .breadcrumbs, .pagehead-formation .breadcrumbs, .pagehead-qualite .breadcrumbs,
  .pagehead-ingenierie .breadcrumbs a, .pagehead-formation .breadcrumbs a, .pagehead-qualite .breadcrumbs a,
  .pagehead-ingenierie .service-icon-page, .pagehead-formation .service-icon-page, .pagehead-qualite .service-icon-page {
    color: #111;
  }
  .pagehead-ingenierie .service-icon-page,
  .pagehead-formation .service-icon-page,
  .pagehead-qualite .service-icon-page { background: transparent; border-color: #555; }
}


/* V21.6 — Ajustements bandeaux et pied de page */

.pagehead-ingenierie .service-icon-page,
.pagehead-formation .service-icon-page,
.pagehead-qualite .service-icon-page {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: rgba(255,255,255,.96);
}
.pagehead-ingenierie .service-icon-page svg,
.pagehead-formation .service-icon-page svg,
.pagehead-qualite .service-icon-page svg {
  opacity: .95;
}
.banner .wrap,
.banner .duo { grid-template-columns: 1fr; }
.banner-copy { max-width: 760px; }
.banner-copy h2 { margin-bottom: 12px; }
.foot .footer-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}
.footgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 26px 40px;
  align-items: start;
}
.footer-brand-block small { display:block; margin-top: 6px; }
.footer-cta { margin-top: 18px; }
.foot .footer-button {
  background: var(--mint);
  color: #111;
}
.foot .footer-button:hover { background: #7bf0b0; }
.footer-contact-block {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding-top: 4px;
}
.footer-contact-block a { color:#fff; }
.footer-contact-block small a { color:#cfe2df; }
@media (max-width: 700px) {
  .foot .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footgrid { grid-template-columns: 1fr; gap: 22px; }
}
@media print {
  .pagehead-ingenierie .service-icon-page,
  .pagehead-formation .service-icon-page,
  .pagehead-qualite .service-icon-page {
    color:#111;
    opacity:1;
  }
}


/* V21.6 B — Alternative de pied de page, plus compacte et CTA mieux visible.
   Les pages, les menus et les outils interactifs restent inchangés. */
.foot {
  padding-top: 30px;
  padding-bottom: 32px;
}
.foot .footer-nav {
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: clamp(20px,6vw,74px);
  row-gap: 7px;
  margin-bottom: 19px;
  padding-bottom: 17px;
}
.foot .footer-nav a {
  padding: 2px 0;
  line-height: 1.38;
}
.footgrid {
  gap: 18px 32px;
}
.footer-logo-line {
  margin-bottom: 4px;
}
.footer-brand-block small {
  line-height: 1.5;
  margin-top: 4px;
}
.footer-cta {
  margin-top: 13px;
}
.foot .footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  background: var(--mint);
  color: #111;
  border: 2px solid #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}
.foot .footer-button:hover {
  background: #caffdf;
  color: #111;
  transform: translateY(-2px);
}
.foot .footer-button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}
.footer-contact-block { gap: 8px; }
@media(max-width: 700px) {
  .foot { padding-top: 27px; padding-bottom: 30px; }
  .foot .footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:9px; }
  .footgrid { gap: 18px; }
  .foot .footer-button { min-height: 44px; }
}


/* V21.6C — Footer : bouton sans filet blanc, adresse et mentions sous le bouton.
   Menu sur deux colonnes, autres styles et contenus preserves. */
.foot .footer-button {
  border: none;
  box-shadow: none;
}
.footgrid {
  display: block;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 15px;
  line-height: 1.6;
}
.footer-meta a { color: #fff; }
.footer-meta small { display: block; margin: 0; }
.footer-meta small a { color: #d9e8e4; }
@media (max-width: 700px) {
  .footer-meta { margin-top: 13px; }
}
