/*==================================================================
      PALANIDAS Sathursan - 10.12.2025 - Style de la technique
====================================================================*/

/* ========================================
   BACKGROUND
   ======================================== */
body {
    background-image: url(../image/Technique.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* ========================================
   CONTAINER PRINCIPAL
   ======================================== */
.contenu-technique {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 2.5rem auto;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* ========================================
   STYLE COMMUN SECTIONS
   ======================================== */
.contenu-technique section {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contenu-technique section h2 {
    color: rgb(83, 22, 22);
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid rgb(170, 19, 19);
    padding-bottom: 0.5rem;
}

.contenu-technique section p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ========================================
   SECTION INTRODUCTION
   ======================================== */
.section-intro {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
}

/* ========================================
   SECTION TECHNIQUES FONDAMENTALES
   ======================================== */
.section-techniques-fond {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
}

.intro-techniques {
    text-align: center;
    font-style: italic;
    color: rgb(83, 22, 22);
    margin-bottom: 2rem;
}

.techniques-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ========================================
   TECHNIQUE CARD — VERSION HORIZONTALE
   ======================================== */
.technique-card {
    display: flex;
    flex-direction: row; /* horizontal */
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
    border-radius: 15px;
    padding: 0.05rem;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(170, 19, 19, 0.3);
}

.technique-icon {
    font-size: 3rem;
    margin: 0;
}

.technique-card h3,
.technique-card p {
    text-align: left;
}

.utilisation {
    background: rgba(170, 19, 19, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.utilisation strong {
    color: rgb(170, 19, 19);
}

/* ========================================
   SECTION PROCESSUS DE CRÉATION
   ======================================== */
.section-processus {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
}

.intro-processus {
    text-align: center;
    font-style: italic;
    color: rgb(83, 22, 22);
    margin-bottom: 2rem;
}

.processus-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.etape {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etape:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(170, 19, 19, 0.3);
}

.etape-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: rgb(170, 19, 19);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.etape-contenu {
    display: flex;
    flex-direction: column;
}

.etape-contenu h3 {
    color: rgb(83, 22, 22);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.etape-contenu p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* ========================================
   SECTION OUTILS DU MANGAKA
   ======================================== */
.section-outils {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
}

.intro-outils {
    text-align: center;
    font-style: italic;
    color: rgb(83, 22, 22);
    margin-bottom: 2rem;
}

.categorie-outils {
    color: rgb(83, 22, 22);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid rgb(170, 19, 19);
    padding-bottom: 0.5rem;
}

.outils-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.outil-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border: 2px solid rgb(170, 19, 19);
    border-radius: 10px;
    padding: 1rem;
    width: calc(25% - 0.75rem);
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outil-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(170, 19, 19, 0.3);
}

.outil-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.outil-card h4 {
    color: rgb(83, 22, 22);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.outil-card p {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* ========================================
   SECTION COMPARAISON
   ======================================== */
.section-comparaison {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
}

.comparaison-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.methode-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d0 100%);
    border-left: 5px solid rgb(170, 19, 19);
    border-radius: 15px;
    padding: 1.5rem;
    width: calc(50% - 0.75rem);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(170, 19, 19, 0.3);
}

.methode-card.hybride {
    width: 100%;
    background: linear-gradient(135deg, rgba(170, 19, 19, 0.1) 0%, rgba(170, 19, 19, 0.05) 100%);
}

.methode-card h3 {
    color: rgb(83, 22, 22);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid rgb(170, 19, 19);
    padding-bottom: 0.5rem;
}

.methode-card p {
    margin: 0;
    color: #444;
    line-height: 1.8;
}

/* ========================================
   RESPONSIVE — TABLETTES (≤768px)
======================================== */
@media (max-width: 768px) {

    .contenu-technique {
        max-width: 95%;
        margin: 1.5rem auto;
        gap: 1.5rem;
    }

    .contenu-technique section {
        padding: 1.5rem;
        border-radius: 25px;
    }

    /* Technique card devient verticale */
    .technique-card {
        flex-direction: column;
        text-align: center;
    }

    .technique-card h3,
    .technique-card p {
        text-align: center;
    }

    /* Outils : 2 par ligne */
    .outil-card {
        width: calc(50% - 0.5rem);
    }

    /* Méthodes : 1 par ligne */
    .methode-card {
        width: 100%;
    }

    /* Étapes du processus */
    .etape {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .etape-contenu {
        align-items: center;
    }
}

/* ========================================
   RESPONSIVE — MOBILES (≤480px)
======================================== */
@media (max-width: 480px) {

    .contenu-technique {
        max-width: 95%;
        margin: 1rem auto;
        gap: 1rem;
    }

    .contenu-technique section {
        padding: 1rem;
        border-radius: 20px;
    }

    .contenu-technique section h2 {
        font-size: 1.5rem;
    }

    /* Icônes techniques */
    .technique-icon {
        font-size: 2rem;
    }

    .technique-card h3 {
        font-size: 1.2rem;
    }

    /* Outils : 1 par ligne */
    .outil-card {
        width: 100%;
    }

    /* Étapes : numéro plus petit */
    .etape-numero {
        min-width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Titre des catégories */
    .categorie-outils {
        font-size: 1.5rem;
    }
}