/* ===============================================================
   À PROPOS — Heritage Dark Concept  |  Accent: Amber #f59e0b
   =============================================================== */
:root {
    --am:     #f59e0b;
    --am-d:   #d97706;
    --am-rgb: 245,158,11;
    --navy:   #0b1a2e;
    --navy2:  #0f2340;
    --dark:   #081525;
}

/* HERO */
.ap-hero {
    position: relative;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}
.ap-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.ap-hero::after {
    content: '';
    position: absolute;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(var(--am-rgb),.12) 0%, transparent 65%);
    top: -300px; right: -300px;
    border-radius: 50%;
    pointer-events: none;
}
.ap-hero .container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ap-breadcrumb {
    display: flex; align-items: center; gap: .5rem;
    font-size: .82rem; color: rgba(255,255,255,.45);
    margin-bottom: 1.8rem; flex-wrap: wrap;
}
.ap-breadcrumb a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.ap-breadcrumb a:hover { color: var(--am); }
.ap-breadcrumb span { color: var(--am); }

.hero-label {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(var(--am-rgb),.12);
    border: 1px solid rgba(var(--am-rgb),.35);
    color: var(--am);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .45rem 1rem; border-radius: 50px;
    margin-bottom: 1.8rem;
}
.hero-label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--am);
    border-radius: 50%;
    animation: amPulse 2s ease-in-out infinite;
}
@keyframes amPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

.hero-title {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    font-weight: 900; color: #fff;
    line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-title span { 
    color: var(--am);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.6), 0 0 20px rgba(245, 158, 11, 0.3); 
}

.hero-desc {
    font-size: 1.05rem; color: rgba(255,255,255,.7);
    line-height: 1.8; margin-bottom: 2.5rem; max-width: 520px;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-am {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 2rem;
    background: linear-gradient(135deg, var(--am), var(--am-d));
    color: #fff; font-weight: 700; font-size: .95rem;
    border-radius: 50px; text-decoration: none; transition: all .3s;
    box-shadow: 0 8px 24px rgba(var(--am-rgb),.35);
}
.btn-am:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--am-rgb),.5); }

.btn-ghost-am {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 2rem; background: transparent;
    color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem;
    border-radius: 50px; border: 2px solid rgba(255,255,255,.2);
    text-decoration: none; transition: all .3s;
}
.btn-ghost-am:hover { border-color: var(--am); color: var(--am); }

/* HERO VISUAL */
.hero-visual {
    position: relative; height: 500px;
    display: flex; align-items: center; justify-content: center;
}
.hv-year {
    position: relative; z-index: 5;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--am-rgb),.2), rgba(var(--am-rgb),.06));
    border: 2px solid rgba(var(--am-rgb),.45);
    box-shadow: 0 0 60px rgba(var(--am-rgb),.2);
}
.hv-year-inner {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--am), var(--am-d));
    box-shadow: 0 0 40px rgba(var(--am-rgb),.6);
}
.hv-since { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: .12em; text-transform: uppercase; }
.hv-yr    { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }

.hv-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(var(--am-rgb),.2);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.hv-ring-1 { width: 280px; height: 280px; animation: spinRing 18s linear infinite; }
.hv-ring-2 { width: 380px; height: 380px; animation: spinRing 28s linear infinite reverse; border-style: solid; border-color: rgba(var(--am-rgb),.1); }
.hv-ring-3 { width: 460px; height: 460px; border-style: dashed; border-color: rgba(255,255,255,.04); }

@keyframes spinRing {
    to { transform: translate(-50%,-50%) rotate(360deg); }
}

.hv-dot {
    position: absolute;
    top: 50%; left: 50%;
    width: 72px; height: 72px;
    margin: -36px 0 0 -36px;
}
.hv-dot-inner {
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(var(--am-rgb),.1);
    border: 1px solid rgba(var(--am-rgb),.35);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700;
    color: var(--am); text-align: center;
    transition: all .3s;
    animation: floatDot 3s ease-in-out infinite;
}
.hv-dot-inner strong { display: block; font-size: .9rem; color: #fff; }
.hv-dot:hover .hv-dot-inner {
    background: linear-gradient(135deg, var(--am), var(--am-d));
    color: #fff; border-color: transparent;
}
.hv-dot:nth-child(5) { transform: rotate(0deg)   translateX(190px); animation-delay: 0s; }
.hv-dot:nth-child(6) { transform: rotate(72deg)  translateX(190px); animation-delay: .5s; }
.hv-dot:nth-child(7) { transform: rotate(144deg) translateX(190px); animation-delay: 1s; }
.hv-dot:nth-child(8) { transform: rotate(216deg) translateX(190px); animation-delay: 1.5s; }
.hv-dot:nth-child(9) { transform: rotate(288deg) translateX(190px); animation-delay: 2s; }

@keyframes floatDot {
    0%, 100% { box-shadow: 0 0 0 rgba(var(--am-rgb),0); }
    50%       { box-shadow: 0 0 20px rgba(var(--am-rgb),.4); }
}

/* STATS BAR */
.ap-stats {
    background: linear-gradient(90deg, var(--navy2), var(--dark));
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.ap-stats .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-item { padding: 2rem 1.2rem; text-align: center; position: relative; }
.stat-item + .stat-item::before {
    content: ''; position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px; background: rgba(255,255,255,.07);
}
.stat-item .s-num { font-size: 2.4rem; font-weight: 900; color: var(--am); line-height: 1; margin-bottom: .4rem; }
.stat-item .s-lbl { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; }

/* MISSION */
.ap-mission { background: #fff; padding: 6rem 0; }
.ap-mission .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.miss-visual { position: relative; height: 440px; }
.miss-bg-card {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0b1a2e, #0f2340);
    border-radius: 24px; overflow: hidden;
}
.miss-bg-card::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 24px 24px;
}
.miss-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(var(--am-rgb),.25) 0%, transparent 70%);
    bottom: -80px; right: -80px; border-radius: 50%;
}
.miss-watermark {
    position: absolute;
    bottom: 1.5rem; left: 2rem;
    font-size: 7rem; font-weight: 900;
    color: rgba(var(--am-rgb),.08);
    line-height: 1; user-select: none;
}
.miss-pillars {
    position: absolute; inset: 2rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; z-index: 2;
}
.miss-pillar {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px; padding: 1.4rem 1.2rem; transition: all .3s;
}
.miss-pillar:hover {
    background: rgba(var(--am-rgb),.1);
    border-color: rgba(var(--am-rgb),.3);
}
.miss-pillar-icon { font-size: 1.6rem; color: var(--am); margin-bottom: .7rem; }
.miss-pillar h4 { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.miss-pillar p  { font-size: .78rem; color: rgba(255,255,255,.5); margin: 0; line-height: 1.5; }

.section-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(var(--am-rgb),.1); color: var(--am);
    font-size: .75rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem,3vw,2.6rem);
    font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 1rem;
}
.section-title span { color: var(--am); }
.section-sub {
    font-size: 1rem; color: #64748b; line-height: 1.8; margin-bottom: 2rem; max-width: 480px;
}
.miss-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.miss-list li { display: flex; align-items: flex-start; gap: .9rem; font-size: .95rem; color: #475569; line-height: 1.6; }
.miss-list li i { color: var(--am); font-size: 1rem; margin-top: .2rem; flex-shrink: 0; }

/* TIMELINE */
.ap-timeline { background: var(--navy); padding: 6rem 0; position: relative; overflow: hidden; }
.ap-timeline::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 28px 28px;
}
.ap-timeline .section-title { color: #fff; }
.ap-timeline .section-sub   { color: rgba(255,255,255,.55); }

.tl-track-wrap { position: relative; margin-top: 3.5rem; }
.tl-line {
    position: absolute; top: 48px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--am-rgb),.5) 15%, rgba(var(--am-rgb),.5) 85%, transparent 100%);
    z-index: 0;
}
.tl-track {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem; position: relative; z-index: 1;
}
.tl-item {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 0 .5rem; transition: all .3s;
}
.tl-dot {
    width: 96px; height: 96px; border-radius: 50%;
    background: rgba(var(--am-rgb),.08);
    border: 2px solid rgba(var(--am-rgb),.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--am);
    margin-bottom: 1.5rem; transition: all .3s;
    position: relative; z-index: 2;
    box-shadow: 0 0 0 6px rgba(var(--am-rgb),.04);
}
.tl-item:hover .tl-dot {
    background: linear-gradient(135deg, var(--am), var(--am-d));
    color: #fff; border-color: transparent;
    box-shadow: 0 0 30px rgba(var(--am-rgb),.5), 0 0 0 8px rgba(var(--am-rgb),.08);
    transform: scale(1.08);
}
.tl-year { font-size: 1.6rem; font-weight: 900; color: var(--am); margin-bottom: .4rem; }
.tl-ttl  { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.tl-desc { font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.6; }

.tl-item.tl-today .tl-dot {
    background: linear-gradient(135deg, var(--am), var(--am-d));
    color: #fff; border-color: transparent;
    box-shadow: 0 0 30px rgba(var(--am-rgb),.5), 0 0 0 8px rgba(var(--am-rgb),.08);
}
.tl-item.tl-today .tl-year { color: #fff; }

/* CHIFFRES CLÉS */
.ap-numbers {
    background: linear-gradient(135deg, var(--am-d), var(--am));
    padding: 5rem 0; position: relative; overflow: hidden;
}
.ap-numbers::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.num-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative; z-index: 1;
}
.num-item { text-align: center; padding: 2rem 1.5rem; position: relative; }
.num-item + .num-item::before {
    content: ''; position: absolute; left: 0; top: 15%; bottom: 15%;
    width: 1px; background: rgba(255,255,255,.25);
}
.num-item .n-val { font-size: 3.2rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: .4rem; }
.num-item .n-lbl { font-size: .85rem; color: rgba(255,255,255,.8); font-weight: 500; }

/* SAVOIR-FAIRE */
.ap-expertise { background: #f1f5f9; padding: 6rem 0; }
.exp-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; margin-top: 3.5rem;
}
.exp-card {
    background: #fff; border-radius: 20px; padding: 2rem 1.6rem;
    border: 2px solid #e2e8f0; text-align: center;
    transition: all .35s; position: relative; overflow: hidden;
}
.exp-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--am), var(--am-d));
    transform: scaleX(0); transition: transform .35s ease;
}
.exp-card:hover {
    border-color: rgba(var(--am-rgb),.35);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(var(--am-rgb),.1);
}
.exp-card:hover::after { transform: scaleX(1); }
.exp-icon {
    width: 64px; height: 64px; border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--am-rgb),.12), rgba(var(--am-rgb),.05));
    border: 1px solid rgba(var(--am-rgb),.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--am);
    margin: 0 auto 1.2rem; transition: all .35s;
}
.exp-card:hover .exp-icon {
    background: linear-gradient(135deg, var(--am), var(--am-d));
    color: #fff; border-color: transparent;
    box-shadow: 0 8px 20px rgba(var(--am-rgb),.4);
}
.exp-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
.exp-card p  { font-size: .85rem; color: #64748b; line-height: 1.65; margin: 0; }

/* CTA */
.ap-cta { background: var(--navy); padding: 5rem 0; position: relative; overflow: hidden; }
.ap-cta::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
}
.ap-cta::after {
    content: ''; position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--am-rgb),.12) 0%, transparent 65%);
    bottom: -200px; left: -200px; border-radius: 50%;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 900; color: #fff; margin-bottom: 1rem; }
.cta-inner p  { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-am-outline {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 2.2rem; background: transparent;
    color: rgba(255,255,255,.85); font-weight: 700;
    border-radius: 50px; border: 2px solid rgba(255,255,255,.2);
    text-decoration: none; transition: all .3s; font-size: .95rem;
}
.btn-am-outline:hover { border-color: var(--am); color: var(--am); }

/* RESPONSIVE */
@media (max-width: 1100px) {
    .ap-hero .container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { height: 360px; }
    .ap-mission .container { grid-template-columns: 1fr; gap: 3rem; }
    .miss-visual { height: 320px; }
    .ap-stats .container { grid-template-columns: repeat(3,1fr); }
    .stat-item:nth-child(4)::before, .stat-item:nth-child(1)::before { display: none; }
    .tl-track { grid-template-columns: repeat(3,1fr); }
    .exp-grid { grid-template-columns: repeat(2,1fr); }
    .num-grid  { grid-template-columns: repeat(2,1fr); }
    .num-item:nth-child(2)::before { display: none; }
}
@media (max-width: 768px) {
    .ap-stats .container { grid-template-columns: repeat(2,1fr); }
    .stat-item:nth-child(3)::before { display: none; }
    .tl-track { grid-template-columns: 1fr; gap: 2rem; }
    .tl-line  { display: none; }
    .exp-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}
