/* ============================================================
   STYLES COMMUNS AUX PAGES INTERNES
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* Page Hero */
.page-hero {
  background: linear-gradient(120deg, #002D57 0%, #00417D 60%, #0056A4 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  display: none;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  line-height: 1.7;
}

/* Service detail sections */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:nth-child(even) { background: var(--gray-50); }
.service-detail:last-of-type { border-bottom: none; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 320px;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.service-detail-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.service-detail-body > p {
  color: var(--gray-500);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-check {
  width: 22px; height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-item span {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
  line-height: 1.5;
}

/* Page CTA */
.page-cta {
  background: var(--blue);
  padding: 72px 0;
  text-align: center;
}
.page-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0;
}
.page-cta p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  margin-bottom: 32px;
}
.page-cta .cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Who we are page */
.about-section { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .22s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue); }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }

/* News page */
.news-page { padding: 80px 0; background: var(--gray-50); }
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-page .news-card { scroll-margin-top: 112px; }
.news-page .news-card:target {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail-grid.reverse,
  .about-grid { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .service-detail-img { height: 240px; }
}
@media (max-width: 768px) {
  .news-page-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .page-cta .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .news-page-grid { grid-template-columns: 1fr; }
}


/* Article and legal pages */
.article-hero {
  background:
    linear-gradient(110deg, rgba(0,45,87,.98) 0%, rgba(0,65,125,.92) 58%, rgba(232,119,34,.74) 100%);
  padding: 72px 0 64px;
}
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 52px;
  align-items: center;
}
.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  color: rgba(255,255,255,.86);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 0;
  background: rgba(255,255,255,.08);
}
.article-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: 0;
}
.article-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 700px;
}
.article-hero-img {
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-content-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 34%);
}
.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 760px);
  gap: 56px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 112px;
}
.article-aside-inner {
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.article-aside-label {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.article-aside ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-aside li {
  color: var(--gray-600);
  font-size: .86rem;
  line-height: 1.55;
}
.article-content,
.legal-content {
  max-width: 760px;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.85;
}
.article-content h2,
.legal-content h2 {
  color: var(--gray-900);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  margin: 42px 0 14px;
  letter-spacing: 0;
}
.article-content h2:first-child,
.legal-content h2:first-child { margin-top: 0; }
.article-content h3 {
  color: var(--gray-900);
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 26px 0 10px;
  font-weight: 700;
  letter-spacing: 0;
}
.article-content p,
.legal-content p {
  margin-bottom: 16px;
}
.article-list {
  display: grid;
  gap: 8px;
  margin: -4px 0 24px;
  padding: 0;
}
.article-list li {
  position: relative;
  padding-left: 24px;
  color: var(--gray-700);
  font-size: .96rem;
  line-height: 1.65;
}
.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.article-quote {
  margin: 14px 0 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-900);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.65;
}
.article-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}
.article-definition-grid > div {
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}
.article-definition-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
}
.article-definition-grid p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
}
.article-comparison {
  display: grid;
  margin: 20px 0 26px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.article-comparison > div {
  display: grid;
  grid-template-columns: .7fr 1.2fr 1.1fr;
}
.article-comparison > div:first-child {
  background: var(--blue);
  color: var(--white);
}
.article-comparison span,
.article-comparison strong {
  padding: 13px 14px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  font-size: .9rem;
  line-height: 1.45;
}
.article-comparison > div:first-child strong {
  border-color: rgba(255,255,255,.18);
}
.article-comparison span:last-child,
.article-comparison strong:last-child { border-right: 0; }
.article-comparison > div:last-child span { border-bottom: 0; }
.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--blue-bg);
  border: 1px solid rgba(0,65,125,.14);
}
.article-cta h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.article-cta p {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--gray-600);
}
.article-return { margin-top: 28px; }
.legal-content-section {
  padding: 72px 0;
  background: var(--gray-50);
}
.legal-shell {
  display: flex;
  justify-content: center;
}
.legal-content {
  width: 100%;
  max-width: 860px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.legal-content h2 {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.legal-content h2:first-child {
  padding-top: 0;
  border-top: 0;
}
.legal-content p {
  color: var(--gray-600);
  font-size: .94rem;
}
.about-section--editorial {
  background: var(--white);
}
.about-grid--top {
  align-items: stretch;
}
.about-grid--top .about-img {
  min-height: 460px;
  height: auto;
  border-radius: var(--radius);
}
.about-copy .section-title {
  text-align: left;
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}
.about-copy p {
  color: var(--gray-600);
  line-height: 1.78;
  margin-bottom: 18px;
}
.about-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 40px;
  align-items: start;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.about-panel h2 {
  color: var(--gray-900);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.about-panel p {
  color: var(--gray-600);
  line-height: 1.75;
}
.about-panel p + p { margin-top: 14px; }
.about-copy p strong,
.about-panel p strong {
  color: var(--gray-900);
  font-weight: 700;
}
.about-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.about-service-list li {
  padding: 13px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 600;
  transition: all .22s ease;
}

@media (max-width: 980px) {
  .article-hero-grid,
  .article-layout,
  .about-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article-aside { position: static; }
  .article-hero-img { height: 280px; }
}

@media (max-width: 640px) {
  .article-hero { padding: 48px 0; }
  .article-content-section,
  .legal-content-section { padding: 48px 0; }
  .legal-content,
  .article-cta { padding: 24px 20px; }
  .article-definition-grid,
  .article-comparison > div { grid-template-columns: 1fr; }
  .article-comparison > div:first-child { display: none; }
  .article-comparison span,
  .article-comparison strong { border-right: 0; }
  .about-service-list { grid-template-columns: 1fr; }
}

/* ============================================================
   PREMIUM CORPORATE POLISH - INTERNAL PAGES
   ============================================================ */
.page-hero,
.article-hero {
  background: linear-gradient(115deg, #001F3D 0%, #00417D 58%, #0E6A9B 100%);
  border-bottom: 1px solid rgba(0,45,87,.12);
}

.page-hero {
  padding: 72px 0 64px;
}

.page-hero h1,
.article-hero h1 {
  font-size: 2.55rem;
  line-height: 1.14;
}

.page-hero p,
.article-hero p {
  color: rgba(255,255,255,.84);
}

.breadcrumb {
  color: rgba(255,255,255,.58);
}

.breadcrumb a {
  color: rgba(255,255,255,.78);
}

.service-detail {
  background: var(--surface);
  border-bottom-color: var(--line);
}

.service-detail:nth-child(even) {
  background: var(--surface-soft);
}

.service-detail-img {
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(18,35,52,.14);
}

.service-detail-body h2 {
  color: var(--ink);
}

.service-detail-body > p,
.benefit-item span,
.about-copy p,
.about-panel p,
.article-content,
.legal-content {
  color: var(--muted);
}

.benefit-check {
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(0,65,125,.18);
}

.page-cta {
  background: linear-gradient(115deg, #00335F 0%, #00417D 100%);
}

.page-cta h2 {
  color: var(--white);
}

.article-hero {
  padding: 76px 0 68px;
}

.article-meta span {
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
}

.article-hero-img {
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(0,0,0,.22);
}

.article-content-section,
.legal-content-section {
  background: var(--surface-soft);
}

.article-layout {
  grid-template-columns: 300px minmax(0, 780px);
}

.article-aside-inner,
.legal-content,
.article-definition-grid > div,
.article-comparison,
.article-cta {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.article-aside-inner {
  border-left-color: var(--orange);
}

.article-content h2,
.article-content h3,
.legal-content h2,
.about-panel h2,
.about-copy .section-title {
  color: var(--ink);
}

.article-content p,
.legal-content p {
  color: var(--muted);
}

.article-list li {
  color: var(--ink);
}

.article-quote {
  background: #FFFFFF;
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.article-cta {
  background: #FFFFFF;
  border-left: 4px solid var(--blue);
}

.legal-content {
  background: var(--surface);
}

.about-panel {
  border-top-color: var(--line);
}

.about-service-list li {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(18,35,52,.03);
}

.about-service-list li:hover {
  background: var(--blue-bg);
  border-color: var(--blue);
  color: var(--blue-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

@media (hover: none) {
  .about-service-list li:hover {
    background: var(--surface);
    border-color: var(--line);
    color: var(--gray-700);
    box-shadow: 0 1px 0 rgba(18,35,52,.03);
    transform: none;
  }
}

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-hero h1,
  .article-hero h1 { font-size: 2rem; }
}

/* ── Prix de départ des prestations ── */
.service-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 2px 14px;
  margin-bottom: 26px;
  border-left: 3px solid var(--orange);
}
.service-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.service-price-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  line-height: 1.2;
}
.service-price-amount strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  margin-right: 2px;
}
.service-price-detail {
  font-size: 0.74rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.service-price-note {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 0 40px;
  font-size: 0.82rem;
  color: var(--gray-500);
  text-align: center;
  line-height: 1.6;
}
