/* Erwan Peau dit Taillis, consultant SEO : design du site actuel (fond blanc, motif de croix, charte bleu marine, orange et jaune doré, titres Jost (géométrique type Futura)), décliné en plusieurs pages. Thème clair unique. */
:root {
  --bg: #FFFFFF;
  --soft: #FBF8F3;
  --surface: #FFFFFF;
  --ink: #1B2440;
  --muted: #4A5370;
  --faint: #8C93A8;
  --line: #E8E3DA;
  --primary: #B9501A;
  --primary-dark: #9A4113;
  --primary-soft: #FDF0E7;
  --primary-line: #F6D6C2;
  --accent: #F4C54A;
  --accent-soft: #FEF6DC;
  --pink: #8A3B12;
  --orange: #E9733D;
  --sky: #2F4A7A;
  --night: #2B3A5E;
  --header: #222D41;
  --night-deep: #161F36;
  --night-ink: #F3EFE6;
  --night-muted: #A9B1C6;
  --todo: #F59E0B;
  --todo-soft: #FEF3C7;

  --f-display: "Jost", "Futura", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; color: var(--ink); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}
.grad { background: linear-gradient(90deg, var(--primary), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(64px, 9vw, 112px); }
.band--soft { background: var(--soft); }
.pattern {
  background-color: var(--soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52'%3E%3Cpath d='M26 21v10M21 26h10' stroke='%23E8E3DA' stroke-width='1.2'/%3E%3C/svg%3E");
}
/* Scintillement des croix au survol (canvas ajouté par le script du gabarit) */
.pattern { position: relative; }
.pattern > .wrap { position: relative; z-index: 1; }
.sparkle { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.eyebrow { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.section-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--tight { margin-bottom: 0; }
.more { font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.more:hover { text-decoration: underline; }

.todo { background: var(--todo-soft); border-bottom: 2px dashed var(--todo); padding: 0 4px; border-radius: 3px; color: var(--ink); }
.mock-banner { background: var(--todo); color: var(--ink); font-size: 0.82rem; font-weight: 500; text-align: center; padding-block: 7px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 1.05rem;
  padding: 15px 30px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--night); color: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(31, 43, 71, 0.6); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--blue { background: var(--primary); color: #FFFFFF; }
.btn--blue:hover { background: var(--primary-dark); }
.btn--white { background: #FFFFFF; color: var(--ink); }
.btn--line { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.3); }
.btn--line:hover { border-color: #FFFFFF; }
.btn--sm { padding: 10px 22px; font-size: 0.98rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.actions--start { justify-content: flex-start; }

/* En-tête et navigation */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header);
  border-bottom: 2px solid rgba(244, 197, 74, 0.55);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
}
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.brand i { font-style: normal; color: var(--orange); }
.brand--logo { display: inline-flex; line-height: 0; }
.brand--logo img { display: block; height: 54px; width: auto; }
.site-footer .brand--logo img { height: 64px; }
@media (max-width: 480px) { .brand--logo img { height: 42px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: #CDD3E1; text-decoration: none; font-weight: 500; }
.nav-link:hover, .nav-link[aria-current] { color: #FFFFFF; }
.nav-link[aria-current="page"], .nav-link[aria-current="true"] { color: var(--accent); }
.nav-link[aria-current] { font-weight: 600; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 70; background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 24px; }
.nav-drop > .nav-link::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav-menu {
  position: absolute; top: 100%; left: -18px; width: 320px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(31, 43, 71, 0.35);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: grid; gap: 1px; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.nav-menu a small { color: var(--muted); font-weight: 400; font-size: 0.82rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--primary-soft); }
.mnav { display: none; }
.mnav summary { list-style: none; cursor: pointer; font-weight: 600; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: transparent; color: #FFFFFF; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { border-color: var(--accent); color: var(--accent); }
.mnav-panel {
  position: absolute; top: calc(100% + 8px);
  left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  box-shadow: 0 24px 48px -24px rgba(31, 43, 71, 0.35); display: grid; gap: 2px; max-height: 75vh; overflow-y: auto;
}
.mnav-panel a { padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--primary-soft); }
.mnav-panel .mnav-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); padding: 10px 12px 4px; }
@media (max-width: 1120px) {
  .nav > .nav-drop, .nav > .nav-link { display: none; }
  .mnav { display: block; }
  .nav { gap: 10px; }
}

/* Héros de l'accueil */
.hero { padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 120px); text-align: center; }
.hero .wrap { display: grid; justify-items: center; gap: 28px; }
.pin {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  font-family: var(--f-body); font-size: 0.98rem; font-weight: 500; letter-spacing: 0; line-height: 1.3;
  color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); padding: 7px 16px; border-radius: 999px;
}
.pin svg { width: 16px; height: 16px; flex: none; }
.slogan { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.slogan span { display: block; }
.hero .lede { margin-inline: auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks svg { width: 17px; height: 17px; color: var(--primary); flex: none; }

/* Héros des pages intérieures */
.page-hero { padding-block: clamp(44px, 6vw, 80px) clamp(52px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 22px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -0.03em; max-width: 21ch; }
.page-hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }

/* Chiffres */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding-block: 26px; padding-inline: 20px; display: grid; gap: 2px; align-content: start; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; justify-self: start; }
.trust-item span { font-size: 0.9rem; color: var(--muted); }
.trust--band { border: 1px solid var(--line); border-radius: var(--radius); }
.trust--band .wrap { padding: 0; }
.trust--band .trust-item:first-child { padding-left: 24px; }
@media (max-width: 860px) {
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust--band .trust-item { padding-inline: 20px; }
}

/* Deux colonnes */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; }
.prose p { color: var(--muted); max-width: 66ch; }
.prose p strong { color: var(--ink); }
.prose .punch { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }

/* Illustration recherche + IA */
.serp {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; margin: 0;
  box-shadow: 0 30px 60px -32px rgba(185, 80, 26, 0.45); padding: 20px; display: grid; gap: 14px; min-width: 0;
}
.serp-query {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; font-size: 0.95rem; background: var(--soft); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.serp-query svg { width: 17px; height: 17px; flex: none; color: var(--faint); }
.serp-result { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--primary-soft); }
.rank { justify-self: start; font-size: 0.72rem; font-weight: 600; background: var(--primary); color: #FFFFFF; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.serp-site { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fav { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: #FFFFFF; font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; }
.serp-site div { min-width: 0; }
.serp-site b { display: block; font-size: 0.9rem; font-weight: 600; }
.serp-site small { display: block; font-size: 0.76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--primary-dark); margin-top: 6px; }
.serp-snippet { font-size: 0.92rem; color: var(--muted); }
.serp-snippet b { color: var(--ink); font-weight: 600; }
.ai-answer { display: grid; gap: 8px; padding: 16px; border-radius: 12px; background: var(--accent-soft); }
.ai-question { justify-self: end; max-width: 85%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: 0.94rem; }
.ai-label { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.ai-label svg { width: 15px; height: 15px; }
.ai-answer p { font-size: 0.94rem; }
.ai-answer p b { font-weight: 600; }
.serp-caption { font-size: 0.78rem; color: var(--faint); text-align: center; }

/* Cartes de services (accueil) */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service:hover { box-shadow: 0 20px 40px -28px rgba(31, 43, 71, 0.35); transform: translateY(-2px); }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--primary); }
.service-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--tint, var(--primary-soft)); color: var(--tone, var(--primary)); }
.service-icon svg { width: 23px; height: 23px; }
/* Icônes du pack Agence Taillis (fond marine) */
.service-icon:has(img) { width: 56px; height: 56px; background: none; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 18px -10px rgba(31, 43, 71, 0.6); }
.service-icon img { display: block; width: 100%; height: 100%; }
.hero-icon { display: block; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 16px; box-shadow: 0 10px 22px -12px rgba(31, 43, 71, 0.6); }
.section-icon { display: block; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 4px; box-shadow: 0 10px 22px -12px rgba(31, 43, 71, 0.6); }


/* Séparateur en flèche dorée sous les titres centrés */
.section-head--center h2::after { content: ""; display: block; width: 150px; height: 26px; margin: 18px auto 0; background: url("img/separateur.svg") center / contain no-repeat; }
.service p { color: var(--muted); font-size: 0.98rem; }
.service-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.price-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.price { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--tone, var(--primary)); }
.tag { font-family: var(--f-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent); color: var(--night); padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.s-site { --tone: var(--ink); --tint: #F1F5F9; }
.s-seo { --tone: var(--primary); --tint: var(--primary-soft); }
.s-local { --tone: var(--sky); --tint: #E7ECF5; }
.s-geo { --tone: #9A6B00; --tint: var(--accent-soft); }
.s-agent { --tone: var(--pink); --tint: #F7E6DC; }
.s-audit { --tone: var(--primary); --tint: #FFEBDD; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* Blocs de contenu */
.features { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.features--2 { --cols: 2; }
.features--4 { --cols: 4; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature p { color: var(--muted); font-size: 0.98rem; }
.feature .num { font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; color: var(--primary); }
.band--soft .feature { background: var(--surface); }
@media (max-width: 1000px) { .features--4 { --cols: 2; } }
@media (max-width: 860px) { .features { --cols: 2; } }
@media (max-width: 620px) { .features, .features--4, .features--2 { --cols: 1; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; color: var(--muted); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: grid; gap: 14px; box-shadow: 0 24px 48px -32px rgba(185, 80, 26, 0.45);
}
.price-card .amount { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; }
.price-card .unit { color: var(--muted); font-size: 0.95rem; }
.price-card p { color: var(--muted); font-size: 0.96rem; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.price-card .btn { justify-self: start; }

.callout { background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 14px; padding: 20px 24px; color: var(--ink); }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; grid-template-rows: auto auto auto 1fr auto; min-width: 0; }
.price-item .amount { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--tone, var(--primary)); line-height: 1.1; }
.price-item .unit { font-size: 0.9rem; color: var(--muted); }
.price-item p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; }
.step-num { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); }
.step-num::before {
  counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--primary)); color: #FFFFFF; font-family: var(--f-display); font-weight: 800; font-size: 1.05rem;
}
.step p { color: var(--muted); }
.step .cost { font-weight: 600; font-size: 0.94rem; color: var(--ink); }
@media (max-width: 1000px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps--4 { grid-template-columns: 1fr; } }

/* Portrait et fiche */
.portrait { position: relative; margin: 0 auto; max-width: 400px; width: 100%; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: linear-gradient(135deg, var(--accent), var(--orange)); z-index: 0; }
.portrait img { position: relative; z-index: 1; }
.portrait figcaption { z-index: 2; }

/* Section marine (touche personnelle) */
.band--night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.band--night h2 { color: #FFFFFF; }
.band--night .eyebrow { color: var(--accent); }
.band--night .prose p { color: var(--night-muted); }
.band--night .prose p strong { color: #FFFFFF; }
.band--night .prose .punch { color: var(--accent); }
.band--night a { color: var(--accent); }
.pizza { align-items: center; }

/* Mes outils de cœur */
.band--night .lede { color: var(--night-muted); margin-inline: auto; }
.heart { width: 0.9em; height: 0.9em; fill: var(--orange); vertical-align: -0.08em; }
.tool-groups { display: grid; gap: 34px; }
.tool-group-title { font-family: var(--f-display); font-size: 0.84rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; text-align: center; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform .15s ease, border-color .15s ease; }
.tool:hover { transform: translateY(-2px); border-color: var(--accent); }
.tool b { display: block; color: #FFFFFF; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.2; }
.tool small { display: block; color: var(--night-muted); font-size: 0.85rem; }
.tool-mark { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--night); background: var(--accent); }
.tool--seo .tool-mark { background: var(--orange); color: #FFFFFF; }
.tool--ia .tool-mark { background: var(--accent); }
.tool--site .tool-mark { background: #FFFFFF; }
.checklist--night li { color: var(--night-muted); }
.checklist--night li strong { color: #FFFFFF; }
.checklist--night li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2B47' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.pizza-photo { margin: 0 auto; max-width: 440px; position: relative; }
.pizza-photo::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; top: 18%; border-radius: 50% 50% 28px 28px; background: radial-gradient(circle at 50% 35%, var(--orange), var(--primary)); }
.pizza-photo img { position: relative; display: block; width: 100%; height: auto; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; border-radius: 24px; background: var(--night); }
.portrait--full img { aspect-ratio: 2 / 3; object-position: 50% 50%; }
.portrait figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 16px; font-size: 0.92rem; color: var(--muted);
}
.portrait figcaption b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; }
@media (max-width: 860px) { .portrait { max-width: 460px; } }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.96rem; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* FAQ */
.faq { display: grid; max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; }
.faq summary h3 { font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; color: var(--muted); max-width: 70ch; }

/* Zones */
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.zone-list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.zone-list li b { font-weight: 600; }
.zone-list li span { font-size: 0.88rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.zone-list li.home b { color: var(--primary); }
.zone-note { font-size: 0.82rem; color: var(--faint); margin-top: 14px; }
@media (max-width: 480px) { .zone-list { grid-template-columns: 1fr; } }

/* Médaillon */
.me { display: flex; align-items: center; gap: 16px; }
.me img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; border: 3px solid var(--line); flex: none; }
.me b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); }
.me span { font-size: 0.92rem; color: var(--muted); }

/* Bandeau de contact (bas de page) */
.cta { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; }
.cta::before { width: 420px; height: 420px; background: var(--orange); top: -160px; right: -120px; }
.cta::after { width: 380px; height: 380px; background: var(--accent); bottom: -180px; left: -140px; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta h2 { color: #FFFFFF; }
.cta .eyebrow { color: var(--accent); }
.cta .lede { color: var(--night-muted); }
.cta-copy { display: grid; gap: 22px; }
.cta .me img { width: 96px; height: 96px; border-color: rgba(255, 255, 255, 0.15); }
.cta .me b { color: #FFFFFF; }
.cta .me span { color: var(--night-muted); }
.cta-side { display: grid; gap: 18px; }
.contact-lines { display: grid; gap: 10px; font-size: 1.02rem; }
.contact-lines a { font-weight: 600; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines span { color: var(--muted); }
.cta .contact-lines a { color: #FFFFFF; }
.cta .contact-lines span { color: var(--night-muted); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* Formulaire */
.form { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 24px 48px -32px rgba(185, 80, 26, 0.45); }
.form h2 { font-size: 1.5rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form-foot { font-size: 0.82rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.94rem; font-weight: 600; color: var(--primary); }
.form .btn { justify-self: start; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }

/* Pages légales */
.legal-prose { max-width: 780px; display: grid; gap: 14px; }
.legal-prose h2 { font-size: 1.45rem; margin-top: 22px; }
.legal-prose p, .legal-prose li { color: var(--muted); }
.legal-prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

/* Pied de page */
.site-footer { background: var(--night-deep); color: var(--night-muted); padding-block: 52px 32px; font-size: 0.94rem; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer .footer-title { color: #FFFFFF; font-family: var(--f-display); font-weight: 700; font-size: 1rem; margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--night-muted); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .brand { color: #FFFFFF; }
.site-footer p { margin-top: 12px; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2C3A5C; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.84rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Encart recruteurs (accueil) */
.recruit { margin: 26px auto 0; max-width: 720px; padding: 14px 20px; border-radius: 14px; background: var(--accent-soft); border: 1px solid #F1DC9A; color: var(--ink); font-size: 0.98rem; }
.recruit a { font-weight: 600; color: var(--primary); white-space: nowrap; }

/* Frise (parcours) */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; display: grid; gap: 22px; border-left: 2px solid var(--primary-line); }
.timeline > li { position: relative; display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.timeline > li::before { content: ""; position: absolute; left: -35px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 0 4px var(--bg); }
.timeline h3 { margin: 0; }
.timeline p { color: var(--muted); margin: 0; }
.timeline .checklist { margin-top: 6px; gap: 10px; }
.when { font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.where { font-size: 0.92rem; color: var(--faint) !important; }

/* Conférences */
.talks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.talk { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: 0 24px 48px -36px rgba(185, 80, 26, 0.45); }
.talk h2, .talk h3 { margin: 0; }
.talk p { color: var(--muted); margin: 0; }
.talk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.talk-meta .tag { margin-left: 0; }
@media (max-width: 860px) { .talks { grid-template-columns: 1fr; } }
.talks--list { grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
.talk .checklist { margin-top: 4px; gap: 10px; }

/* Blog : liste */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; min-width: 0; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: 0 24px 48px -32px rgba(185, 80, 26, 0.5); transform: translateY(-2px); }
.post-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.post-meta { font-size: 0.8rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

/* Blog : article */
.article { max-width: 760px; margin-inline: auto; gap: 14px; }
.article h2 { margin: 26px 0 0; font-size: 1.6rem; }
.article h3 { margin: 14px 0 0; font-size: 1.2rem; }
.article ul, .article ol { margin: 0; padding-left: 1.3em; color: var(--muted); display: grid; gap: 8px; max-width: 66ch; }
.article li strong, .article p em { color: var(--ink); }
.article-foot { max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.article-foot h2 { font-size: 1.2rem; margin: 0 0 10px; }
.pillar { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--primary-soft); border: 1px solid var(--primary-line); color: var(--ink); font-size: 0.96rem; }
.pillar a { font-weight: 600; }
.post-grid + .actions { margin-top: 28px; }
.related { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Fond de carte topographique (pack Agence Taillis) : en fin de fichier pour passer après les règles background */
.band--night, .cta, .site-footer { background-image: url("img/topo.svg"); background-size: cover; background-position: center; }

/* Halo lumineux sur les courbes de niveau (canvas ajouté par le script du gabarit) */
.topo-glow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-footer { position: relative; }
.band--night > .wrap, .cta > .wrap, .site-footer > .wrap { position: relative; z-index: 1; }

/* Passions illustrées (page À propos) */
.passions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.passions li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--night-muted); font-size: 0.98rem; transition: transform .15s ease, border-color .15s ease; }
.passions li:hover { transform: translateX(4px); border-color: rgba(244, 197, 74, 0.5); }
.passions strong { color: #FFFFFF; }
.passion-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.passion-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.passion-icon svg .fill { fill: currentColor; stroke: none; }
.passion-icon--orange { background: rgba(233, 115, 61, 0.16); color: var(--orange); border: 1px solid rgba(233, 115, 61, 0.45); }
.passion-icon--gold { background: rgba(244, 197, 74, 0.14); color: var(--accent); border: 1px solid rgba(244, 197, 74, 0.45); }
