/* ============================================================
   CDTP — home.css
   Styles de la homepage (page-home.php).
   Chargé uniquement sur is_front_page() via functions.php.
   Dépendances : tokens.css (variables), global.css (reset).
   ============================================================ */

/* ── Override Blocksy — fond global ─────────────────────────── */
/* Blocksy injecte un fond plus clair sur html/body. On le force. */
html,
body {
    background: var(--ink-1000) !important;
    color: var(--paper-100);
}

/* ── Conteneur global ────────────────────────────────────────── */
.cdtp-home {
    position: relative;
    color: var(--paper-100);
}

/* ── Utilitaires partagés entre sections ─────────────────────── */
.cdtp-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--blood-300);
    margin: 0 0 18px 0;
    text-transform: uppercase;
}

.cdtp-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--blood-500);
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(200, 38, 28, 0.6);
    flex-shrink: 0;
}

.cdtp-amp {
    font-family: var(--font-amp);
    font-style: italic;
    color: var(--blood-500);
    margin-right: 6px;
}

.cdtp-amp-lg {
    font-family: var(--font-amp);
    font-style: italic;
    color: var(--blood-500);
    font-size: 96px;
    line-height: 1;
    display: block;
    transform: translateY(-0.05em);
}

.cdtp-ticker-dot {
    color: var(--paper-100);
    font-weight: 700;
}

.cdtp-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 17px 26px;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background 120ms, border-color 120ms, transform 80ms;
}

.cdtp-btn--red {
    background: var(--blood-600);
    color: var(--paper-100);
    border: 1px solid var(--blood-700);
    box-shadow: var(--shadow-action);
}

.cdtp-btn--red:hover {
    background: var(--blood-500);
}

/* ════════════════════════════════════════════════════════════════
   1. HERO
   ════════════════════════════════════════════════════════════════ */

.cdtp-hero {
    position: relative;
    padding: 88px 32px 0;
    overflow: hidden;
}

.cdtp-hero__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: center;
    padding-bottom: 72px;
}

/* ── Colonne texte ── */
.cdtp-hero__text {
    min-width: 0;
}

.cdtp-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--blood-300);
    margin: 0 0 18px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cdtp-hero__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--blood-500);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(200, 38, 28, 0.6);
}

.cdtp-hero__title {
    font-family: var(--font-blackletter);
    font-weight: 400;
    font-size: clamp(56px, 9vw, 132px);
    line-height: 0.9;
    color: var(--paper-100);
    margin: 0 0 8px -4px;
    text-shadow: 6px 6px 0 var(--ink-1000), 0 0 24px rgba(0, 0, 0, 0.55);
    letter-spacing: 0.005em;
}

.cdtp-hero__script {
    font-family: var(--font-script);
    font-size: 64px;
    line-height: 1;
    color: var(--blood-300);
    margin: 4px 0 28px 8px;
    transform: rotate(-2deg);
}

.cdtp-hero__body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--fg-1);
    max-width: 500px;
    margin: 0 0 32px 0;
}

.cdtp-hero__actions {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.cdtp-hero__scriptlink {
    font-family: var(--font-script);
    font-size: 30px;
    color: var(--paper-100);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
}

/* ── Colonne featured ── */
.cdtp-hero__featured {
    position: relative;
}

.cdtp-hero__featured-halo {
    position: absolute;
    inset: -12% -6%;
    background: radial-gradient(ellipse 70% 55% at 50% 38%,
        rgba(246, 241, 234, 0.34) 0%,
        rgba(200, 38, 28, 0.11) 30%,
        transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(2px);
}

.cdtp-hero__featured-frame {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    background: var(--ink-1000);
    border: 1px solid var(--ink-700);
    overflow: hidden;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
}

.cdtp-hero__featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cdtp-hero__featured-frame--empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdtp-hero__featured-placeholder {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
}

.cdtp-hero__featured-card {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding: 16px 18px;
    background: var(--ink-800);
    border: 1px solid var(--ink-700);
    display: grid;
    gap: 4px;
}

.cdtp-hero__featured-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--blood-600);
    color: var(--paper-100);
    padding: 4px 8px;
    margin-bottom: 4px;
    width: fit-content;
}

.cdtp-hero__featured-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--paper-100);
    margin: 0;
    letter-spacing: -0.01em;
}

.cdtp-hero__featured-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--fg-3);
    text-transform: uppercase;
    margin: 0;
}

.cdtp-hero__featured-meta .woocommerce-Price-amount {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--fg-3);
}

.cdtp-hero__featured-quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.005em;
    color: var(--paper-200);
    margin: 12px 0 0 0;
}

/* ── Ticker ── */
.cdtp-hero__ticker {
    position: relative;
    margin: 0 -32px;
    padding: 14px 32px;
    background: var(--blood-700);
    overflow: hidden;
    margin-top: 0;
}

.cdtp-hero__ticker-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paper-100);
    font-weight: 700;
}


/* ════════════════════════════════════════════════════════════════
   2. MANIFESTE
   ════════════════════════════════════════════════════════════════ */

.cdtp-manif {
    position: relative;
    padding: 120px 32px 96px;
    color: var(--paper-100);
}

.cdtp-manif__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.cdtp-manif__eyebrow-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.cdtp-manif__title-wrap {
    margin-bottom: 56px;
}

.cdtp-manif__title {
    font-family: var(--font-blackletter);
    font-weight: 400;
    font-size: clamp(48px, 8vw, 120px);
    line-height: 0.92;
    color: var(--paper-100);
    text-shadow: 5px 5px 0 var(--ink-1000);
    letter-spacing: 0.005em;
    text-align: center;
    margin: 0 0 8px 0;
}

.cdtp-manif__script {
    font-family: var(--font-script);
    font-size: 52px;
    line-height: 1;
    color: var(--blood-300);
    margin: 8px 0 0 8px;
    transform: rotate(-2deg);
    text-align: center;
}

.cdtp-manif__body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 0;
    border-top: 1px dashed var(--ink-700);
    border-bottom: 1px dashed var(--ink-700);
    margin-bottom: 64px;
}

.cdtp-manif__lead {
    font-family: var(--font-sans);
    font-size: 20px;
    line-height: 1.5;
    color: var(--paper-100);
    margin: 0;
    text-wrap: pretty;
}

.cdtp-manif__divider {
    display: grid;
    place-items: center;
    font-family: var(--font-amp);
    font-style: italic;
    font-size: 96px;
    color: var(--blood-500);
    line-height: 1;
}

.cdtp-manif__items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.cdtp-manif__item {
    display: grid;
    gap: 14px;
    align-content: start;
    padding-top: 20px;
    border-top: 2px solid var(--blood-500);
}

.cdtp-manif__item-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--blood-500);
    font-weight: 700;
}

.cdtp-manif__item-text {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.55;
    color: var(--fg-1);
    margin: 0;
    text-wrap: pretty;
}

.cdtp-manif__item-title {
    color: var(--paper-100);
    font-weight: 700;
    display: inline;
    margin-right: 4px;
}


/* ════════════════════════════════════════════════════════════════
   3. SÉLECTION
   ════════════════════════════════════════════════════════════════ */

.cdtp-sel {
    position: relative;
    padding: 60px 32px 96px;
    background: var(--ink-1000);
    border-top: 1px solid var(--ink-700);
    border-bottom: 1px solid var(--ink-700);
}

.cdtp-sel__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.cdtp-sel__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 56px;
}

.cdtp-sel__title {
    font-family: var(--font-blackletter);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 88px);
    line-height: 0.92;
    color: var(--paper-100);
    margin: 0 0 8px -3px;
    text-shadow: 4px 4px 0 var(--ink-1000);
}

.cdtp-sel__script {
    font-family: var(--font-script);
    font-size: 40px;
    line-height: 1;
    color: var(--paper-100);
    margin: 4px 0 0 8px;
    transform: rotate(-2deg);
}

.cdtp-sel__alllink {
    font-family: var(--font-script);
    font-size: 32px;
    line-height: 1.1;
    color: var(--paper-100);
    text-decoration: none;
    text-align: right;
    flex-shrink: 0;
}

.cdtp-sel__arrow {
    display: block;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--blood-500);
    letter-spacing: -0.05em;
}

.cdtp-sel__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cdtp-sel__card-wrap {
    /* rien par défaut */
}

.cdtp-sel__card-wrap--down {
    transform: translateY(28px);
}

.cdtp-sel__empty {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--fg-3);
    text-align: center;
    padding: 40px 0;
}

/* ── Carte produit (density comfortable) ── */
.cdtp-card {
    position: relative;
    background: var(--ink-800);
    border: 1px solid var(--ink-700);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 120ms cubic-bezier(0.16, 0.84, 0.30, 1),
                border-color 120ms;
}

.cdtp-card:hover {
    transform: translateY(-3px);
    border-color: var(--ink-500);
}

.cdtp-card__photo-link {
    display: block;
}

.cdtp-card__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--ink-1000);
    overflow: hidden;
}

.cdtp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 200ms cubic-bezier(0.16, 0.84, 0.30, 1);
}

.cdtp-card:hover .cdtp-card__img {
    transform: scale(1.03);
}

.cdtp-card__sold-stamp {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    background: rgba(10, 8, 7, 0.62);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--paper-300);
    pointer-events: none;
}

.cdtp-card__body {
    padding: 20px 22px 22px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.cdtp-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--paper-100);
    margin: 0;
}

.cdtp-card__title a {
    color: inherit;
    text-decoration: none;
}

.cdtp-card__desc {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.5;
    color: var(--fg-2);
    margin: 0;
}

.cdtp-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-3);
    padding-top: 8px;
    border-top: 1px dashed var(--ink-700);
}

.cdtp-card__price,
.cdtp-card__price .woocommerce-Price-amount {
    color: var(--paper-100);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.cdtp-card__add {
    margin-top: 4px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 14px;
    cursor: pointer;
    background: transparent;
    color: var(--paper-100);
    border: 1px solid var(--ink-500);
    border-radius: 2px;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: all 120ms cubic-bezier(0.16, 0.84, 0.30, 1);
}

.cdtp-card__add:hover {
    background: var(--blood-600);
    border-color: var(--blood-500);
    color: var(--paper-100);
}

.cdtp-card__add--sold {
    color: var(--fg-3);
    border-style: dashed;
    cursor: default;
}

.cdtp-card__add--sold:hover {
    background: transparent;
    border-color: var(--ink-500);
    color: var(--fg-3);
}


/* ════════════════════════════════════════════════════════════════
   4. ATELIER
   ════════════════════════════════════════════════════════════════ */

.cdtp-atel {
    position: relative;
}

.cdtp-atel__brick {
    position: relative;
    padding: 88px 32px 80px;
    background: var(--ink-1000);
    border-top: 1px solid var(--ink-700);
    border-bottom: 1px solid var(--ink-700);
    overflow: hidden;
}

.cdtp-atel__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: var(--grain-svg);
    background-size: 220px 220px;
    mix-blend-mode: overlay;
    opacity: 0.32;
}

.cdtp-atel__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.cdtp-atel__head-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 64px;
}

.cdtp-atel__title {
    font-family: var(--font-blackletter);
    font-weight: 400;
    font-size: clamp(56px, 8.5vw, 128px);
    line-height: 0.9;
    color: var(--paper-100);
    margin: 0 0 8px -4px;
    text-shadow: 6px 6px 0 var(--ink-1000), 0 0 24px rgba(0, 0, 0, 0.55);
}

.cdtp-atel__script {
    font-family: var(--font-script);
    font-size: 52px;
    line-height: 1;
    color: var(--blood-300);
    margin: 4px 0 0 8px;
    transform: rotate(-2deg);
}

.cdtp-atel__aside {
    background: rgba(20, 17, 15, 0.78);
    border: 1px solid var(--ink-700);
    backdrop-filter: blur(6px);
    padding: 28px 28px 24px;
}

.cdtp-atel__aside-title {
    font-family: var(--font-script);
    font-size: 36px;
    line-height: 1;
    color: var(--paper-100);
    margin: 0;
}

.cdtp-atel__aside-text {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--fg-1);
    margin: 16px 0 22px 0;
}

.cdtp-atel__stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px dashed var(--ink-600);
    padding-top: 18px;
}

.cdtp-atel__stat {
    display: grid;
    gap: 4px;
}

.cdtp-atel__stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    color: var(--blood-300);
    line-height: 1;
    letter-spacing: -0.02em;
}

.cdtp-atel__stat-lab {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--paper-300);
}

.cdtp-atel__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 56px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.cdtp-atel__step {
    display: grid;
    gap: 12px;
    align-content: start;
}

.cdtp-atel__step-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cdtp-atel__step-n {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--blood-600);
    color: var(--paper-100);
    padding: 4px 10px;
    flex-shrink: 0;
}

.cdtp-atel__step-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        var(--paper-300) 0 4px,
        transparent 4px 8px
    );
    opacity: 0.4;
}

.cdtp-atel__step-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--paper-100);
    margin: 0;
}

.cdtp-atel__step-desc {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.6;
    color: var(--paper-200);
    margin: 0;
    text-wrap: pretty;
}

.cdtp-atel__foot {
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px dashed var(--ink-700);
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.005em;
    color: var(--paper-100);
    max-width: 900px;
}


/* ════════════════════════════════════════════════════════════════
   5. CITATION
   ════════════════════════════════════════════════════════════════ */

.cdtp-cit {
    position: relative;
    padding: 128px 32px 96px;
}

.cdtp-cit__eyebrow-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    max-width: 1240px;
    margin: 0 auto 40px;
}

.cdtp-cit__inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
}

.cdtp-cit__quote {
    position: relative;
    padding-left: 12px;
    margin: 0;
    border: none;
}

.cdtp-cit__openquote {
    font-family: var(--font-blackletter);
    font-size: 180px;
    line-height: 0.5;
    color: var(--blood-500);
    position: absolute;
    left: -8px;
    top: -32px;
    pointer-events: none;
    user-select: none;
    opacity: 0.55;
}

.cdtp-cit__text {
    position: relative;
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(20px, 1.9vw, 26px);
    line-height: 1.45;
    color: var(--paper-100);
    margin: 0 0 24px 0;
    text-wrap: pretty;
}

.cdtp-cit__author {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--paper-200);
    margin: 0;
    font-style: normal;
}

.cdtp-cit__author cite {
    font-style: italic;
}

.cdtp-cit__divider {
    display: grid;
    place-items: center;
    font-family: var(--font-amp);
    font-style: italic;
    font-size: 128px;
    color: var(--blood-500);
    line-height: 1;
    opacity: 0.6;
}

.cdtp-cit__tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-3);
    text-align: center;
    margin-top: 64px;
    display: flex;
    justify-content: center;
    gap: 8px;
}


/* ════════════════════════════════════════════════════════════════
   6. INSTAGRAM
   ════════════════════════════════════════════════════════════════ */

.cdtp-insta {
    position: relative;
    padding: 96px 32px;
    background: var(--ink-1000);
    border-top: 1px solid var(--ink-700);
}

.cdtp-insta__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.cdtp-insta__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 48px;
}

.cdtp-insta__at-icon {
    vertical-align: -2px;
    margin-right: 6px;
    color: var(--blood-300);
}

.cdtp-insta__title {
    font-family: var(--font-blackletter);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 0.92;
    margin: 0 0 0 -3px;
    color: var(--paper-100);
    text-shadow: 4px 4px 0 var(--ink-1000);
}

.cdtp-insta__follow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: transparent;
    color: var(--paper-100);
    border: 1px solid var(--paper-100);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 120ms, color 120ms;
    flex-shrink: 0;
}

.cdtp-insta__follow:hover {
    background: var(--paper-100);
    color: var(--ink-1000);
}

/* Styles galerie (.cdtp-insta__grid, __tile, __tile-typo, etc.) supprimés (2026-05-24).
   À réintroduire si plugin galerie Instagram natif planifié en phase distincte. */

.cdtp-insta__foot {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0.005em;
    color: var(--paper-100);
    text-align: center;
    margin: 56px auto 0;
    max-width: 720px;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — mobile
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .cdtp-sel__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cdtp-atel__steps {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 768px) {

    .cdtp-hero__script,
    .cdtp-manif__script,
    .cdtp-atel__script{
        font-size : 47px;
    }

    .cdtp-hero {
        padding: 56px 20px 0;
    }

    .cdtp-insta__head{
        flex-direction: column;
    }

    .cdtp-insta__follow{
        margin: auto;
    }

    .cdtp-hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 48px;
    }

    .cdtp-hero__featured {
        order: -1;
    }

    .cdtp-hero__featured-card {
        margin-top: 0;
    }

    .cdtp-hero__featured-frame {
        margin: 0 auto;
    }

    .cdtp-hero__title {
        font-size: clamp(48px, 12vw, 80px);
    }

    .cdtp-hero__ticker {
        margin: 0 -20px;
    }

    .cdtp-hero__ticker-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cdtp-manif,
    .cdtp-sel,
    .cdtp-atel__brick,
    .cdtp-cit,
    .cdtp-insta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cdtp-manif__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cdtp-manif__divider {
        display: none;
    }

    .cdtp-manif__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cdtp-sel__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cdtp-sel__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: repeat(4, calc(50vw - 28px));
        padding-bottom: 8px;
    }

    .cdtp-sel__card-wrap--down {
        transform: none;
    }

    .cdtp-sel__card-wrap {
        scroll-snap-align: start;
    }

    .cdtp-atel__head-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cdtp-atel__steps {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .cdtp-atel__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cdtp-cit__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cdtp-cit__divider {
        display: none;
    }

}

@media (max-width: 480px) {
    .cdtp-manif__items {
        grid-template-columns: 1fr;
    }

    .cdtp-atel__steps {
        grid-template-columns: 1fr;
    }

}
