/* =========================================================
   EURL SOCIÉTÉ DENIS — PAGE À PROPOS / EXPERTISES v2
   Variables redéclarées ici pour garantir l'indépendance
   ========================================================= */

/* Fallback variables (déjà définies dans main.css) */
:root {
    --navy:        #1a3c6e;
    --navy-dark:   #122d56;
    --gold:        #f5a623;
    --gold-light:  #f7b84b;
    --text:        #2c2c2c;
    --text-light:  #6b7280;
    --text-xlight: #9ca3af;
    --bg:          #fafafa;
    --bg-card:     #ffffff;
    --bg-blue:     #eef2f9;
    --bg-blue-alt: #f7faff;
    --border:      #dde3ed;
    --radius:      10px;
    --radius-lg:   16px;
    --shadow:      0 2px 16px rgba(26,60,110,0.08);
    --shadow-lg:   0 8px 40px rgba(26,60,110,0.14);
    --transition:  0.25s cubic-bezier(0.4,0,0.2,1);
}

.about-page {
    background: var(--bg);
}

/* ─── Intro dirigeant ──────────────────────────────────── */
.ceo-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    position: relative;
}

.ceo-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
}

.ceo-container {
    display: grid;
    grid-template-columns: 1fr 280px;
}

.ceo-content {
    padding: 3.5rem;
}

.ceo-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    background: rgba(245,166,35,0.10);
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
}

.ceo-content h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1.75rem;
}

.ceo-quote p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.ceo-signature {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.ceo-signature strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.ceo-signature span {
    font-size: 0.85rem;
    color: var(--text-xlight);
}

.ceo-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.ceo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Section titre ────────────────────────────────────── */
.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* ─── Grille services ──────────────────────────────────── */
.services-section {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ─── Carte service ────────────────────────────────────── */
.service-card {
    background: #ffffff;
    border: 1px solid #dde3ed;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 2px 16px rgba(26,60,110,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #1a3c6e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(26,60,110,0.14);
    border-color: rgba(26,60,110,0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ─── Icône service ────────────────────────────────────── */
.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f9;
    border: 1.5px solid rgba(26,60,110,0.15);
    border-radius: 14px;
    color: #1a3c6e;
}

/* ─── Badge ────────────────────────────────────────────── */
.service-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1a3c6e;
    background: #eef2f9;
    border: 1px solid rgba(26,60,110,0.2);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.7rem;
}

/* ─── Titre carte ──────────────────────────────────────── */
.service-card h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #1a3c6e;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

/* ─── Corps texte ──────────────────────────────────────── */
.service-content > p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

/* ─── Listes ───────────────────────────────────────────── */
.service-features,
.service-partners {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0;
    list-style: none;
}

.service-features li,
.service-partners li {
    font-size: 0.875rem;
    color: #6b7280;
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.55;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5a623;
    flex-shrink: 0;
}

.service-partners li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a3c6e;
    font-size: 0.75rem;
    top: 0.05em;
}

/* ─── Bloc partenariat ─────────────────────────────────── */
.service-partnership {
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
    background: #f7faff;
    border-left: 3px solid #1a3c6e;
    border-radius: 0 8px 8px 0;
}

.service-partnership > p:first-child {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1a3c6e;
    margin-bottom: 0.35rem;
}

/* ─── Zone d'intervention ──────────────────────────────── */
.intervention-zone {
    background: #1a3c6e;
    border-radius: 16px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.intervention-zone::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: #f5a623;
}

.intervention-zone .section-title {
    color: #ffffff;
}

.intervention-zone .section-title::after {
    background: #f5a623;
}

.zone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.zone-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.25s ease;
}

.zone-card:hover {
    background: rgba(245,166,35,0.1);
    border-color: rgba(245,166,35,0.4);
    transform: translateY(-3px);
}

.zone-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: 50%;
    color: #f5a623;
}

.zone-card h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.zone-card ul,
.zone-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    list-style: none;
    padding: 0;
    margin: 0;
}

.zone-note {
    margin-top: 2.5rem;
    text-align: center;
    padding: 1.25rem;
    background: rgba(245,166,35,0.08);
    border: 1px solid rgba(245,166,35,0.25);
    border-radius: 10px;
}

.zone-note p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin: 0;
}

.zone-note strong { color: #f5a623; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1000px) {
    .ceo-container { grid-template-columns: 1fr; }
    .ceo-image { min-height: 280px; max-height: 320px; order: -1; }
    .ceo-content { padding: 2.5rem 2rem; }
    .zone-grid { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
    .ceo-content { padding: 2rem 1.5rem; }
    .service-card { padding: 1.75rem 1.5rem; }
    .intervention-zone { padding: 2.5rem 1.5rem; }
}
