/* Echelle partagee : inspiration editoriale Caritas, adaptee au CCDD.
   Les couleurs, la composition et les polices du CCDD sont conservees. */
:root {
    --text-body: 1.0625rem; /* 17px */
    --text-intro: 1.25rem; /* 20px */
    --text-ui: .875rem; /* 14px */
    --text-small: .75rem; /* 12px */
    --title-hero: clamp(2.125rem, 1.35rem + 2.7vw, 3.5rem);
    --title-page: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
    --title-section: clamp(1.875rem, 1.4rem + 1.65vw, 2.5rem);
    --title-card: clamp(1.375rem, 1.1rem + .7vw, 1.75rem);
}
body { font-size: var(--text-body); line-height: 1.65; font-weight: 400; }

/* Titres : une taille par niveau, quelle que soit la page. */
.slide-title { font-size: var(--title-hero); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.page-header h1, .page-header--landscape h1 { font-size: var(--title-page); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.section-title, .mission-title, .about-title, .about-content h3,
.home-page .about-title, .cta-banner h3 { font-size: var(--title-section); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.service-card h4, .photo-service h4, .mvv-card h4, .partner-card h4,
.gallery-caption h4, .home-page .gallery-caption h4,
.home-page .gallery-section .column:first-child .gallery-caption h4 { font-size: var(--title-card); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.value-card h5, .process-step h5, .contact-text h5 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }

/* Texte courant : memes taille et interligne dans toutes les sections. */
.section-subtitle, .about-content p, .service-card p, .photo-service p,
.mvv-card p, .partner-card p, .value-card p, .process-step p,
.mission-copy p, .contact-text p, .cta-banner p, .slide-copy > p,
.contact-form .input, .contact-form .textarea { font-size: var(--text-body); line-height: 1.65; font-weight: 400; }
.mission-copy > p:first-child, .highlight-text { font-size: var(--text-intro); line-height: 1.55; font-weight: 400; }
.slide-copy > p { max-width: 34em; }

/* Navigation et actions : pas de reduction des boutons sur mobile. */
.navbar-item, .btn-primary, .btn-outline, .submit-btn,
.slide-actions .btn-primary, .slide-contact, .link-more,
.service-discover { font-size: var(--text-ui); line-height: 1.4; }
.navbar-item, .btn-primary, .btn-outline, .submit-btn,
.slide-actions .btn-primary, .link-more, .service-discover { font-weight: 600; }
.navbar-item { padding-inline: 8px; }
.btn-primary, .btn-outline, .submit-btn { white-space: normal; }
.slide-actions .btn-primary { flex-shrink: 0; }
.contact-form .label { font-size: var(--text-ui); line-height: 1.4; }

/* Textes secondaires : eviter les variations de 9 a 13px. */
.section-tag, .slide-copy .section-tag, .image-label, .home-page .image-label,
.stat-label, .home-page .stat-label, .slide-location,
.slide-photo figcaption, .tag-pill, .service-number, .form-note,
.breadcrumb-nav, .footer-bottom, .footer-photo-credit { font-size: var(--text-small); line-height: 1.5; }
.section-tag { letter-spacing: .1em; }
.slide-photo figcaption { max-width: 350px; }
.stats-heading, .expertise-ribbon span, .partner-pill,
.footer-description, .footer-links a, .footer-contact-item,
.form-status { font-size: var(--text-ui); line-height: 1.6; }
.footer-title { font-size: 1rem; line-height: 1.4; font-weight: 600; }
.signature .signature-name { font-size: 1.25rem; line-height: 1.4; }
.signature .signature-title { font-size: var(--text-ui); line-height: 1.5; }
.stat-number, .home-page .stat-number { font-size: 2.75rem; line-height: 1.1; font-weight: 600; }
.experience-seal { font-size: var(--text-small); }
.experience-seal strong { font-size: 2.25rem; }
.landscape-strip-title { font-size: var(--text-body); line-height: 1.5; }

/* La marque garde sa propre taille ; les icones restent independantes. */
.logo-text, .footer-logo-text { font-size: 1.875rem; line-height: 1.05; }
.logo-text small { font-size: .6875rem; line-height: 1.4; }
@media (max-width: 768px) {
    :root { --text-body: 1rem; --text-intro: 1.125rem; }
    .stat-number, .home-page .stat-number { font-size: 2.25rem; }
    .slide-copy { width: calc(100% - 90px); padding-inline: 20px; }
    .slide-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
    .slide-photo figcaption { max-width: none; }
    .expertise-ribbon span { font-size: var(--text-small); }
}
