
/* ===================================================================================

* Theme Name: Agntix Child
* Theme URI: https://wp.storebuild.shop/agntix/
* Author: themepure
* Author URI: https://themeforest.net/user/themepure
* Description: Agntix - Digital Agency Wordpress Theme
* Version: 1.0.0
* Template: agntix
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: agntix-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Tested up to: 6.7
Requires PHP: 7.4

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */


/*
 * SerialStudio — Agntix Child Theme
 * Grille portfolios + cartes projets — v2
 * À coller à la suite du contenu existant de style.css
 * ─────────────────────────────────────────────────────
 */

/* ── En-tête archive ─────────────────────────────────── */

.tp-projets-archive__header {
    text-align: center;
}

.tp-projets-archive__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.tp-projets-archive__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ── Carte projet ────────────────────────────────────── */

.tp-projet-card {
    background: #16181C;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tp-projet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Thumbnail */
.tp-projet-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.tp-projet-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.tp-projet-card:hover .tp-projet-card__img {
    transform: scale(1.05);
}

/* Body */
.tp-projet-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

/* Catégories */
.tp-projet-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-projet-card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--tp-theme-primary, #ff5722);
    text-decoration: none;
    transition: opacity 0.2s;
}

.tp-projet-card__cat:hover {
    opacity: 0.75;
    color:#FFF;
}

/* Titre */
.tp-projet-card__title {
    font-size: 18px;
    line-height: 1.35;
    margin: 0;
}

.tp-projet-card__title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tp-projet-card__title a:hover {
    color: var(--tp-theme-primary, #ff5722);
}

/* Excerpt */
.tp-projet-card__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ── CTA bouton — version visible ────────────────────── */

.tp-projet-card__btn {
    margin-top: auto;
    padding-top: 16px;
}

.tp-projet-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 10px 18px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.tp-projet-card__cta:hover {
    background: var(--tp-theme-primary, #ff5722);
    border-color: var(--tp-theme-primary, #ff5722);
    color: #000000;
    gap: 14px;
}

.tp-projet-card__cta-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.tp-projet-card__cta:hover .tp-projet-card__cta-arrow {
    transform: translateX(3px);
}

/* ── Grille responsive ───────────────────────────────── */

.tp-projets-archive .row {
    align-items: stretch;
}

.tp-projets-archive .row > [class*="col-"] {
    display: flex;
}

@media (max-width: 767px) {
    .tp-projets-archive .row > [class*="col-"] {
        margin-bottom: 24px;
    }
}
