/* ============================================
   BTS SIO STYLESHEET
   Thème : Professionnel / Services IT / Enterprise
   ============================================ */

:root {
    --primary-blue: #1e40af;
    --dark-blue: #1e3a8a;
    --light-blue: #dbeafe;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVBAR (navigation retour + pages sœurs)
   ============================================ */

.sio-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.25);
    padding: 0.75rem 1.5rem;
}

.sio-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sio-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.sio-nav-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(249, 115, 22, 0.5);
    color: #f97316;
}

.sio-nav-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #f97316;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex: 1;
    text-align: center;
}

.sio-nav-siblings {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sio-nav-siblings a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
}

.sio-nav-siblings a:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.4);
    color: #f97316;
}

@media (max-width: 600px) {
    .sio-nav-title {
        display: none;
    }

    .sio-nav-siblings a span {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-specialites {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.spec-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.spec-card.primary {
    background: rgba(249, 115, 22, 0.2);
    border: 2px solid var(--accent-orange);
    transform: scale(1.05);
}

.spec-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.spec-card.primary:hover {
    transform: scale(1.1) translateY(-5px);
}

.spec-card i {
    font-size: 2.5rem;
    color: var(--accent-orange);
}

.spec-card span {
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-hero-main {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    color: var(--white);
    padding: 1.3rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
    margin-top: 2rem;
}

.btn-hero-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
    color: var(--white);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--medium-gray);
    max-width: 750px;
    margin: 0 auto;
}

/* ============================================
   POURQUOI BTS SIO
   ============================================ */

.section-why {
    background: var(--light-gray);
}

.why-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
    margin: 0 auto 2rem;
}

.why-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.why-intro {
    font-size: 1.25rem;
    color: var(--medium-gray);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.why-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
}

.why-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(30, 64, 175, 0.1);
    font-family: 'Roboto Mono', monospace;
}

.why-card i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    display: block;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ============================================
   COMPÉTENCES TECHNIQUES
   ============================================ */

.section-competences {
    background: var(--white);
}

.competences-tabs {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.comp-category {
    background: var(--light-gray);
    border-radius: 25px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.comp-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(30, 64, 175, 0.2);
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.category-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.skill-info {
    flex: 1;
    min-width: 250px;
}

.skill-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.skill-desc {
    display: block;
    font-size: 0.95rem;
    color: var(--medium-gray);
}

.skill-level {
    width: 300px;
    height: 10px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 10px;
    transition: width 1s ease;
}

/* ============================================
   PROJETS
   ============================================ */

.section-projets {
    background: var(--light-gray);
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.projet-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.projet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.projet-card.featured {
    grid-column: span 2;
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--white) 0%, #fff7ed 100%);
}

.projet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.projet-visual {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.projet-visual.small {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.projet-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.projet-periode {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.projet-desc {
    font-size: 1.05rem;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.projet-techno {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.projet-techno span {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.projet-competences {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comp-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.comp-tag i {
    color: var(--accent-green);
}

.projet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.projet-link:hover {
    background: var(--dark-blue);
    color: var(--white);
    transform: translateX(5px);
}

/* ============================================
   SOFT SKILLS
   ============================================ */

.section-soft-skills {
    background: var(--white);
}

.soft-card {
    background: var(--light-gray);
    border-radius: 25px;
    padding: 3rem;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.soft-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.soft-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.soft-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.soft-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.soft-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
}

.soft-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.soft-item span {
    color: var(--dark-gray);
    line-height: 1.6;
}

.soft-footer {
    color: var(--medium-gray);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

/* ============================================
   OPTIONS BTS
   ============================================ */

.section-options {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.options-header {
    text-align: center;
    margin-bottom: 4rem;
}

.options-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.options-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
}

.option-card.slam {
    border-left: 5px solid var(--accent-orange);
}

.option-card.slam.featured-option {
    border: 3px solid var(--accent-orange);
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 15px 50px rgba(249, 115, 22, 0.2);
}

.option-card.slam.featured-option:hover {
    background: rgba(249, 115, 22, 0.1);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3);
}

.option-card.sisr {
    border-left: 5px solid var(--accent-green);
}

.option-card.sisr.secondary-option {
    opacity: 0.85;
}

.option-card.sisr.secondary-option:hover {
    opacity: 1;
}

.option-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.featured-option .option-badge {
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

.option-card.sisr .option-badge {
    background: var(--accent-green);
}

.option-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.option-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.option-atouts h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-orange);
}

.option-card.sisr .option-atouts h4 {
    color: var(--accent-green);
}

.option-atouts ul {
    list-style: none;
    padding: 0;
}

.option-atouts li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.option-atouts i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.option-card.sisr .option-atouts i {
    color: var(--accent-green);
}

/* ============================================
   CTA SECTION
   ============================================ */

.section-cta {
    background: var(--light-gray);
}

.cta-box {
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: var(--white);
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.3);
}

.btn-cta-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(30, 64, 175, 0.4);
    color: var(--white);
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cta-contact a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-contact a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.cta-contact i {
    font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE — see css/bts-sio-responsive.css
   ============================================ */