/* ============================================================
   CBATP — Styles spécifiques pages "À propos"
   À ajouter à la fin de cbatp-design-system.css OU charger séparément
   ============================================================ */

/* ============================================================
   PAGE HEADER (bandeau d'introduction commun à toutes les pages)
   ============================================================ */

.cbatp-page-banner {
    position: relative;
    padding: 80px 0 100px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cbatp-navy) 0%, var(--cbatp-navy-dark) 100%);
}
.cbatp-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,31,64,0.92) 0%, rgba(0,51,102,0.78) 100%),
        var(--banner-bg, url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=80')) center/cover;
    z-index: 0;
}
.cbatp-page-banner > .container { position: relative; z-index: 2; }

.cbatp-page-banner-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--cbatp-orange-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    padding-left: 44px;
    position: relative;
}
.cbatp-page-banner-eyebrow::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 2px;
    background: var(--cbatp-orange);
}

.cbatp-page-banner h1 {
    color: #fff;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    font-weight: 800;
}
.cbatp-page-banner h1 .accent { color: var(--cbatp-orange); }

.cbatp-page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    line-height: 1.7;
    margin-bottom: 0;
}

.cbatp-page-banner-breadcrumb {
    margin-top: 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.cbatp-page-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.cbatp-page-banner-breadcrumb a:hover { color: var(--cbatp-orange); }
.cbatp-page-banner-breadcrumb .current { color: #fff; font-weight: 500; }

/* ============================================================
   ABOUT INDEX — Sections présentation
   ============================================================ */

.cbatp-about-intro {
    padding: 100px 0;
    background: #fff;
}

.cbatp-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 992px) {
    .cbatp-about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

.cbatp-about-intro-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 24px;
    color: var(--cbatp-ink);
    letter-spacing: -0.02em;
}

.cbatp-about-intro-text p {
    font-size: 16px;
    color: var(--cbatp-slate-700);
    line-height: 1.85;
    margin-bottom: 18px;
}

.cbatp-about-intro-text p strong {
    color: var(--cbatp-ink);
    font-weight: 600;
}

.cbatp-about-intro-image {
    border-radius: var(--cbatp-radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.15);
    aspect-ratio: 4/5;
}
.cbatp-about-intro-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* ============================================================
   VALEURS / MISSIONS (cards verticales avec gros chiffre)
   ============================================================ */

.cbatp-values {
    padding: 100px 0;
    background: var(--cbatp-slate-50);
}

.cbatp-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .cbatp-values-grid { grid-template-columns: 1fr; } }

.cbatp-value-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--cbatp-radius-xl);
    border: 1px solid var(--cbatp-slate-100);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.cbatp-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.08);
    border-color: var(--cbatp-orange);
}

.cbatp-value-number {
    font-family: var(--cbatp-font-display);
    font-size: 64px;
    font-weight: 800;
    color: var(--cbatp-slate-100);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.cbatp-value-card h3 {
    font-size: 20px;
    color: var(--cbatp-ink);
    margin-bottom: 12px;
}

.cbatp-value-card p {
    font-size: 15px;
    color: var(--cbatp-slate-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   ÉQUIPE — Cartes membres
   ============================================================ */

.cbatp-team {
    padding: 100px 0;
    background: #fff;
}

.cbatp-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
@media (max-width: 992px) { .cbatp-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cbatp-team-grid { grid-template-columns: 1fr; } }

.cbatp-team-card {
    background: #fff;
    border-radius: var(--cbatp-radius-xl);
    overflow: hidden;
    border: 1px solid var(--cbatp-slate-100);
    transition: all 0.3s ease;
}
.cbatp-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.1);
}

.cbatp-team-photo {
    aspect-ratio: 1/1;
    background-color: var(--cbatp-slate-100);
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}
.cbatp-team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,31,64,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.cbatp-team-card:hover .cbatp-team-photo::after { opacity: 1; }

.cbatp-team-social {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.cbatp-team-card:hover .cbatp-team-social {
    opacity: 1;
    transform: translateY(0);
}
.cbatp-team-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--cbatp-navy);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.cbatp-team-social a:hover {
    background: var(--cbatp-orange);
    color: #fff;
}

.cbatp-team-info {
    padding: 24px;
    text-align: center;
}
.cbatp-team-info h4 {
    font-size: 17px;
    color: var(--cbatp-ink);
    margin-bottom: 4px;
    font-weight: 700;
}
.cbatp-team-info span {
    font-size: 13px;
    color: var(--cbatp-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   SAFETY / QHSE — Liste icônes
   ============================================================ */

.cbatp-safety-section { padding: 100px 0; background: #fff; }
.cbatp-safety-section.alt { background: var(--cbatp-slate-50); }

.cbatp-safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .cbatp-safety-grid { grid-template-columns: 1fr; } }

.cbatp-safety-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border-radius: var(--cbatp-radius-xl);
    border: 1px solid var(--cbatp-slate-100);
    transition: all 0.3s;
}
.cbatp-safety-item:hover {
    border-color: var(--cbatp-orange);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 51, 102, 0.06);
}

.cbatp-safety-icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(247, 123, 1, 0.1);
    color: var(--cbatp-orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}

.cbatp-safety-text h4 {
    font-size: 18px;
    color: var(--cbatp-ink);
    margin-bottom: 8px;
    font-weight: 700;
}
.cbatp-safety-text p {
    font-size: 14px;
    color: var(--cbatp-slate-500);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   PDG / CITATION
   ============================================================ */

.cbatp-pdg-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cbatp-slate-50) 0%, #fff 100%);
}

.cbatp-pdg-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 992px) {
    .cbatp-pdg-grid { grid-template-columns: 1fr; gap: 40px; }
}

.cbatp-pdg-photo {
    position: relative;
    border-radius: var(--cbatp-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--cbatp-navy), var(--cbatp-navy-dark));
}
.cbatp-pdg-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.cbatp-pdg-photo::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--cbatp-orange);
    opacity: 0.15;
    z-index: 1;
}

.cbatp-pdg-quote-mark {
    font-family: var(--cbatp-font-display);
    font-size: 140px;
    color: var(--cbatp-orange);
    line-height: 0.6;
    margin-bottom: 16px;
    font-weight: 800;
    opacity: 0.25;
}

.cbatp-pdg-quote {
    font-family: var(--cbatp-font-display);
    font-size: 22px;
    line-height: 1.6;
    color: var(--cbatp-ink);
    font-weight: 500;
    margin-bottom: 24px;
}

.cbatp-pdg-content p {
    font-size: 16px;
    color: var(--cbatp-slate-700);
    line-height: 1.85;
    margin-bottom: 18px;
}

.cbatp-pdg-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--cbatp-slate-100);
}
.cbatp-pdg-author-line {
    width: 40px; height: 2px;
    background: var(--cbatp-orange);
}
.cbatp-pdg-author strong {
    display: block;
    color: var(--cbatp-ink);
    font-size: 17px;
    font-weight: 700;
}
.cbatp-pdg-author span {
    font-size: 14px;
    color: var(--cbatp-slate-500);
}

/* ============================================================
   PARTENAIRES (page dédiée)
   ============================================================ */

.cbatp-partners-page {
    padding: 100px 0;
    background: #fff;
}

.cbatp-partners-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .cbatp-partners-page-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cbatp-partners-page-grid { grid-template-columns: repeat(2, 1fr); } }

.cbatp-partner-card {
    background: #fff;
    border: 1px solid var(--cbatp-slate-100);
    border-radius: var(--cbatp-radius-xl);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cbatp-partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 51, 102, 0.08);
    border-color: var(--cbatp-orange);
}
.cbatp-partner-card img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}
.cbatp-partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.cbatp-partner-card-name {
    font-family: var(--cbatp-font-display);
    font-weight: 700;
    color: var(--cbatp-slate-500);
    font-size: 22px;
    letter-spacing: -0.02em;
}
.cbatp-partner-card:hover .cbatp-partner-card-name {
    color: var(--cbatp-navy);
}

/* ============================================================
   VISION / MISSION (split image + texte)
   ============================================================ */

.cbatp-vision-section {
    padding: 100px 0;
    background: #fff;
}
.cbatp-vision-section.alt { background: var(--cbatp-slate-50); }

.cbatp-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.cbatp-vision-grid.reverse > :first-child { order: 2; }
@media (max-width: 992px) {
    .cbatp-vision-grid { grid-template-columns: 1fr; gap: 40px; }
    .cbatp-vision-grid.reverse > :first-child { order: 0; }
}

.cbatp-vision-image {
    border-radius: var(--cbatp-radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 50px rgba(0, 51, 102, 0.12);
}
.cbatp-vision-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.cbatp-vision-text h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    margin-bottom: 20px;
    color: var(--cbatp-ink);
}

.cbatp-vision-text p {
    font-size: 16px;
    color: var(--cbatp-slate-700);
    line-height: 1.8;
    margin-bottom: 18px;
}

.cbatp-vision-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.cbatp-vision-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--cbatp-slate-700);
}
.cbatp-vision-list li i {
    color: var(--cbatp-orange);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}
