/* ==========================================
   SPÉCIALITÉS - DESIGN SIMPLE & ÉPURÉ
========================================== */
:root {
    --bleu: #173F8A;
    --bleu-dark: #0F2D5E;
    --orange: #F39C12;
    --noir: #101828;
    --gris: #667085;
    --off: #F7F9FB;
    --border: #E4E7EC;
    --font-titres: 'Cabinet Grotesk', 'EB Garamond', sans-serif;
    --font-corps: 'EB Garamond', 'Georgia', serif;
}

.spe-container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ==========================================
   OUVERTURE
========================================== */
.spe-hero {
    background: var(--off);
    text-align: center;
    padding: 110px 24px 90px;
    border-bottom: 1px solid var(--border);
}

.spe-label {
    display: inline-block;
    font-family: var(--font-titres);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange);
    margin-bottom: 22px;
}

.spe-hero h1 {
    font-family: var(--font-titres);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--noir);
    margin-bottom: 22px;
}

.spe-hero h1 span { color: var(--bleu); }

.spe-subtitle {
    font-family: var(--font-corps);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gris);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================================
   SECTIONS
========================================== */
.spe-section { padding: 80px 0; background: #FFFFFF; }
.spe-alt { background: var(--off); }

.spe-head { text-align: center; margin-bottom: 30px; }

.spe-head h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 10px;
}

.spe-head h2 span { color: var(--bleu); }

.spe-head p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gris);
}

.spe-lead {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    color: var(--gris);
    line-height: 1.85;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

/* ==========================================
   GRILLE DES SPÉCIALITÉS
========================================== */
.spe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.spe-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 38px 34px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.spe-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(23, 63, 138, 0.12);
    border-color: transparent;
}

.spe-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.spe-icon {
    width: 58px;
    height: 58px;
    background: var(--off);
    color: var(--bleu);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.spe-card:hover .spe-icon {
    background: var(--bleu);
    color: #FFFFFF;
}

.spe-card h3 {
    font-family: var(--font-titres);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--noir);
}

.spe-card p {
    font-family: var(--font-corps);
    font-size: 0.98rem;
    color: var(--gris);
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Compétences */
.spe-skills {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--off);
}

.spe-skills li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-family: var(--font-titres);
    font-size: 0.88rem;
    font-weight: 600;
    color: #344054;
    line-height: 1.5;
}

.spe-skills i {
    color: var(--bleu);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ==========================================
   CTA FINAL
========================================== */
.spe-cta { text-align: center; }

.spe-cta h2 {
    font-family: var(--font-titres);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 12px;
}

.spe-cta p {
    font-family: var(--font-corps);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gris);
    margin-bottom: 30px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.spe-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.spe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--bleu);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-titres);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.spe-btn:hover {
    background: var(--bleu-dark);
    transform: translateY(-3px);
    gap: 14px;
}

.spe-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    background: #FFFFFF;
    color: var(--bleu);
    border: 1px solid var(--border);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-titres);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.spe-btn-ghost:hover {
    border-color: var(--bleu);
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 900px) {
    .spe-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
    .spe-hero { padding: 80px 20px 65px; }
    .spe-section { padding: 60px 0; }
    .spe-card { padding: 28px 24px; }
    .spe-card h3 { font-size: 1.15rem; }
    .spe-cta-buttons { flex-direction: column; }
    .spe-btn, .spe-btn-ghost { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
    .spe-hero h1 { font-size: 1.9rem; }
    .spe-subtitle { font-size: 1rem; }
    .spe-head h2 { font-size: 1.5rem; }
    .spe-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .spe-btn, .spe-btn-ghost { padding: 13px 20px; font-size: 0.88rem; }
}