/* ===== Page sub-hero (used by Offres, À propos, Article, Contact) ===== */
.page-hero {
  padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .breadcrumb {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: var(--s-7);
}
.page-hero .breadcrumb a { color: var(--ink-60); }
.page-hero .breadcrumb a:hover { color: var(--sapin); }
.page-hero .breadcrumb .sep { color: var(--ink-40); }
.page-hero .breadcrumb .current { color: var(--sapin); font-weight: 700; }

.page-hero .page-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.page-hero h1 em { font-style: normal; color: var(--mint); }
.page-hero .page-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-60);
  max-width: 50ch;
  margin-top: var(--s-6);
}
@media (max-width: 880px) {
  .page-hero .page-hero-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ===== Offres — detailed offer cards ===== */
.offer-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 88px);
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.offer-detail:last-child { border-bottom: none; }
.offer-detail .offer-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.offer-detail .offer-side .offer-num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.offer-detail h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.offer-detail .offer-side .price-block {
  background: var(--light);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  border: 1px solid var(--line-soft);
}
.offer-detail .offer-side .price-block .label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.offer-detail .offer-side .price-block .amount {
  margin-top: 8px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.03em;
  color: var(--sapin);
  line-height: 1;
}
.offer-detail .offer-side .price-block .amount .unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-60);
  margin-left: 8px;
  letter-spacing: 0;
}
.offer-detail .offer-body p.lead { margin-bottom: var(--s-6); }

.offer-detail .offer-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.offer-feature {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.offer-feature .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.08em;
}
.offer-feature h4 {
  font-size: 17px;
  margin-top: 8px; margin-bottom: 6px;
}
.offer-feature p { font-size: 14px; color: var(--ink-60); line-height: 1.55; }

.offer-detail .offer-includes {
  margin-top: var(--s-6);
  padding: var(--s-6);
  border-radius: var(--r-xl);
  background: var(--sapin);
  color: var(--white);
}
.offer-detail .offer-includes h4 { color: var(--mint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s-4); }
.offer-detail .offer-includes ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.offer-detail .offer-includes ul li {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
}
.offer-detail .offer-includes ul li svg { color: var(--mint); margin-top: 5px; }

@media (max-width: 880px) {
  .offer-detail { grid-template-columns: 1fr; gap: var(--s-6); }
  .offer-detail .offer-side { position: static; }
  .offer-detail .offer-features-grid { grid-template-columns: 1fr; }
}

/* ===== Comparison table ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: var(--s-7);
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sapin);
  background: var(--light);
  border-bottom: 1px solid var(--line);
}
.compare-table thead th.featured { background: var(--sapin); color: var(--mint); }
.compare-table tbody th {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-60);
  width: 24%;
}
.compare-table .check { color: var(--mint); }
.compare-table .dash { color: var(--ink-40); }
.compare-table .col-featured { background: rgba(0,69,66,0.03); }
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
@media (max-width: 720px) {
  .compare-table { min-width: 620px; }
  .compare-table th, .compare-table td { padding: 14px 12px; font-size: 13.5px; }
}

/* ===== Responsive grids (manifeste, FAQ, etc.) ===== */
.manifest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 880px) {
  .manifest-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .faq-grid { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* ===== À propos ===== */
.about-portrait-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
}
.about-bio {
  display: flex; flex-direction: column; gap: var(--s-5);
}
.about-bio blockquote {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--sapin);
  margin: 0;
  padding-left: 24px;
  border-left: 3px solid var(--mint);
}
.about-signature {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-60);
  display: flex; gap: 10px; align-items: center;
  margin-top: var(--s-3);
}
.about-signature strong { color: var(--sapin); font-weight: 700; }
@media (max-width: 880px) {
  .about-portrait-row { grid-template-columns: 1fr; }
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: var(--s-7);
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-7);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .when {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--mint);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.timeline-item h3 { font-size: 22px; margin-bottom: 6px; }
.timeline-item p { color: var(--ink-60); font-size: 15px; }
.timeline-item .tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.timeline-item .tags .pill { background: var(--light); }
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.cert-card {
  padding: var(--s-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  text-align: left;
}
.cert-card .cert-name {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--sapin);
  font-size: 16px;
}
.cert-card .cert-issuer {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--ink-60);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.cert-card .cert-year {
  margin-top: var(--s-4);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--mint);
  letter-spacing: -0.02em;
}
@media (max-width: 1024px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cert-grid { grid-template-columns: 1fr; } }

/* ===== Article (blog) ===== */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin-inline: auto;
}
.article-cover {
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.article-meta .cat { color: var(--sapin); font-weight: 700; }
.article-meta .sep { color: var(--ink-40); }

.article-shell h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.article-shell .article-lead {
  margin-top: var(--s-6);
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.5;
  color: var(--ink-60);
  font-weight: 500;
}

.article-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-top: clamp(40px, 5vw, 72px);
}
.article-body h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
}
.article-body h3 {
  font-size: 21px;
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
}
.article-body p { margin-bottom: 1.1em; }
.article-body a { color: var(--sapin); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 1.2em; }
.article-body ul li, .article-body ol li { margin-bottom: 8px; }
.article-body blockquote {
  margin: var(--s-7) 0;
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--mint);
  background: var(--light);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.article-body blockquote p {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--sapin);
  margin: 0;
}
.article-body .pull-figure {
  margin: var(--s-7) 0;
  background: var(--sapin);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: var(--s-7);
}
.article-body .pull-figure .figure-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.article-body .pull-figure .figure-stat {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.03em;
  color: var(--mint);
  line-height: 1;
  margin-top: 12px;
}
.article-body .pull-figure .figure-caption {
  margin-top: var(--s-4);
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 56ch;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 14px;
}
.toc h5 {
  font-family: var(--ff-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sapin);
  margin-bottom: var(--s-3);
}
.toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.toc a { color: var(--ink-60); display: flex; gap: 10px; padding: 4px 0; transition: color var(--t-fast); }
.toc a:hover { color: var(--sapin); }
.toc a .toc-num { font-family: var(--ff-mono); font-size: 11px; color: var(--mint); flex-shrink: 0; padding-top: 1px; }

.article-author-card {
  margin-top: clamp(40px, 5vw, 64px);
  padding: var(--s-6);
  background: var(--light);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-5);
  align-items: start;
}
.article-author-card .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #00DF8B, #004542);
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
}
.article-author-card strong { font-family: var(--ff-display); font-weight: 700; color: var(--sapin); font-size: 17px; display: block; }
.article-author-card span { font-size: 13.5px; color: var(--ink-60); }
.article-author-card p { font-size: 14.5px; color: var(--ink-60); margin-top: 10px; line-height: 1.55; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
}
.contact-form .form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
}
.contact-form .form-grid .full { grid-column: 1 / -1; }
.contact-form label {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sapin);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.contact-form input { height: 52px; padding: 0 16px; }
.contact-form select { height: 52px; padding: 0 16px; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23004542' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.contact-form textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--sapin); }

.contact-form .topic-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.topic-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-60);
  cursor: pointer;
  transition: all var(--t-fast);
}
.topic-chip.is-active { border-color: var(--sapin); background: var(--sapin); color: var(--white); }
.topic-chip:hover { border-color: var(--sapin); color: var(--sapin); }
.topic-chip.is-active:hover { color: var(--white); }

.contact-side {
  display: flex; flex-direction: column; gap: var(--s-5);
}
.contact-card {
  padding: var(--s-6);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}
.contact-card.dark { background: var(--sapin); color: var(--white); border-color: transparent; }
.contact-card h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mint);
  margin-bottom: var(--s-4);
}
.contact-card .info-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px 0;
  font-size: 15px;
}
.contact-card .info-row svg { color: var(--mint); margin-top: 3px; }
.contact-card .info-row a { color: inherit; }
.contact-card .info-row a:hover { color: var(--mint); }
.contact-card.dark .info-row { color: rgba(255,255,255,0.85); }

.contact-card .calendar-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: var(--s-3);
}
.contact-card .calendar-strip .slot {
  text-align: center;
  padding: 10px 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.contact-card .calendar-strip .slot strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0;
}
.contact-card .calendar-strip .slot.free { background: rgba(0,223,139,0.16); }
.contact-card .calendar-strip .slot.free strong { color: var(--mint); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

/* ===== Misc ===== */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--line);
}
.kpi:last-child { border-right: none; }
.kpi .kpi-num {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--sapin);
  line-height: 1;
}
.kpi .kpi-num em { font-style: normal; color: var(--mint); }
.kpi .kpi-label { margin-top: 12px; font-size: 14px; color: var(--ink-60); line-height: 1.45; }
@media (max-width: 880px) {
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: none; }
  .kpi:nth-last-child(-n+2) { border-bottom: none; }
}
