/*
Theme Name: Nocturne FE
Theme URI: https://flamme-electrique.fr/
Author: Flamme Électrique
Description: Thème éditorial sombre pour les guides de cheminées électriques.
Version: 1.0.0
Text Domain: nocturne-fe
*/

/* ==========================================================================
Tokens and reset
========================================================================== */
:root {
    --nct-ink: #0B0B0C;
    --nct-surface: #141416;
    --nct-card: #1C1C1F;
    --nct-ivory: #EDE6DA;
    --nct-muted: #A9A296;
    --nct-gold: #C8A15A;
    --nct-gold-light: #E3B76B;
    --nct-amber: #F0A04B;
    --nct-flame: #FF7A2F;
    --nct-line: rgba(200, 161, 90, .35);
    --nct-line-soft: rgba(237, 230, 218, .12);
    --nct-serif: "Cormorant Garamond", Georgia, serif;
    --nct-sans: "Manrope", Arial, sans-serif;
    --nct-wrap: 1240px;
    --nct-reading: 700px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--nct-ink);
}

body {
    margin: 0;
    background: var(--nct-ink);
    color: var(--nct-ivory);
    font-family: var(--nct-sans);
    font-size: 18px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-color: transparent;
    text-underline-offset: .2em;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

a:hover {
    color: var(--nct-gold-light);
}

button, input, textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--nct-gold-light);
    outline-offset: 4px;
}

::selection {
    background: var(--nct-gold);
    color: var(--nct-ink);
}

.nct-wrap {
    width: min(calc(100% - 48px), var(--nct-wrap));
    margin-inline: auto;
}

.nct-main {
    min-height: 60vh;
}

.nct-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nct-section {
    padding-block: 9rem;
}

.nct-kicker, .nct-footer-label {
    display: block;
    color: var(--nct-gold);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.nct-kicker {
    margin-bottom: 1.1rem;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--nct-ivory);
    font-family: var(--nct-serif);
    font-weight: 500;
    line-height: .98;
}

h1 {
    font-size: clamp(3.8rem, 9vw, 8.5rem);
    letter-spacing: -.04em;
}

h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

p {
    margin: 0 0 1.4rem;
}

.nct-lead {
    color: var(--nct-ivory);
    font-family: var(--nct-serif);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.1;
}

.nct-dek {
    max-width: 650px;
    margin: 1.6rem auto;
    color: var(--nct-muted);
    font-family: var(--nct-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-style: italic;
    line-height: 1.18;
}

.nct-meta {
    color: var(--nct-muted);
    font-size: .78rem;
    letter-spacing: .04em;
}

.nct-text-link {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    margin-top: 1rem;
    color: var(--nct-gold-light);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nct-text-link span {
    font-size: 1.2rem;
    line-height: 1;
}

.nct-text-link:hover {
    color: var(--nct-ivory);
}

/* ==========================================================================
Header
========================================================================== */
.nct-site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(200, 161, 90, .12);
    background: rgba(11, 11, 12, .82);
    backdrop-filter: blur(10px);
}

.home .nct-site-header {
    background: linear-gradient(180deg, rgba(11, 11, 12, .72), transparent);
    border-bottom-color: transparent;
}

.nct-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 1.4rem 1.1rem;
}

.nct-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--nct-ivory);
}

.nct-brand:hover {
    color: var(--nct-gold-light);
}

.nct-brand-mark {
    width: 28px;
    height: 31px;
    color: var(--nct-gold);
}

.nct-brand-name {
    font-family: var(--nct-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1;
}

.nct-primary-nav {
    width: 100%;
    margin-top: 1.35rem;
}

.nct-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nct-nav a {
    color: var(--nct-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nct-nav a:hover {
    color: var(--nct-gold-light);
}

.nct-menu-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    border: 0;
    background: transparent;
    color: var(--nct-ivory);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nct-menu-icon {
    display: grid;
    gap: 5px;
}

.nct-menu-icon i {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--nct-gold);
}

/* ==========================================================================
Hero and motion flame
========================================================================== */
.nct-hero {
    position: relative;
    display: grid;
    min-height: min(920px, 100vh);
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background-image: linear-gradient(180deg, rgba(11, 11, 12, .25), rgba(11, 11, 12, .9) 86%), var(--nct-hero-image);
    background-position: center;
    background-size: cover;
}

.nct-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse at 50% 70%, rgba(240, 160, 75, .16), transparent 37%);
    content: "";
}

.nct-hero-glow {
    position: absolute;
    z-index: -1;
    top: 82%;
    left: 50%;
    width: 520px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 122, 47, .17);
    filter: blur(54px);
    transform: translate(-50%, -50%);
    animation: nct-breathe 5s ease-in-out infinite;
}

.nct-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-top: 8rem;
    padding-bottom: 15rem;
    text-align: center;
}

.nct-hero-content h1 {
    position: relative;
    z-index: 2;
    margin-bottom: 1.6rem;
    text-shadow: 0 8px 32px rgba(0, 0, 0, .55);
}

.nct-hero-content h1 em {
    color: var(--nct-gold-light);
    font-weight: 500;
}

.nct-hero-content p {
    max-width: 560px;
    margin: 0 auto 2rem;
    color: var(--nct-ivory);
    font-size: 1rem;
}

.nct-fireplace {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    width: min(560px, 80vw);
    transform: translateX(-50%);
    opacity: .92;
}

.nct-fireplace svg {
    display: block;
    overflow: visible;
    width: 100%;
}

.nct-flame {
    transform-origin: 50% 100%;
    transform-box: fill-box;
    animation: nct-sway 4s ease-in-out infinite;
}

.nct-flame-n1 { animation-duration: 4.6s; animation-delay: -.5s; }
.nct-flame-n2 { animation-duration: 3.8s; animation-delay: -1.4s; }
.nct-flame-n3 { animation-duration: 3.3s; animation-delay: -.9s; }
.nct-flame-n4 { animation-duration: 4.2s; animation-delay: -2.1s; }
.nct-flame-n5 { animation-duration: 3.5s; animation-delay: -.2s; }
.nct-flame-n6 { animation-duration: 4.4s; animation-delay: -1.8s; }
.nct-flame-n7 { animation-duration: 3.9s; animation-delay: -2.6s; }

@keyframes nct-sway {
    0%, 100% { transform: scale(1, 1) skewX(0deg); }
    35% { transform: scale(.94, 1.08) skewX(2.5deg); }
    70% { transform: scale(1.04, .94) skewX(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .nct-flame { animation: none; }
}

.nct-embers {
    position: absolute;
    z-index: 2;
    bottom: 6%;
    left: 50%;
    width: 220px;
    height: 180px;
    transform: translateX(-50%);
}

.nct-embers i {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--nct-gold-light);
    box-shadow: 0 0 12px var(--nct-flame);
    animation: nct-ember 4.5s ease-in infinite;
}

.nct-embers i:nth-child(1) {
    left: 24%;
    animation-delay: -.3s;
}

.nct-embers i:nth-child(2) {
    left: 48%;
    animation-delay: -2s;
}

.nct-embers i:nth-child(3) {
    left: 66%;
    animation-delay: -3.2s;
}

.nct-embers i:nth-child(4) {
    left: 80%;
    animation-delay: -1.4s;
}

/* ==========================================================================
Buttons and home sections
========================================================================== */
.nct-button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}

.nct-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.nct-button-amazon {
    border-color: var(--nct-amber);
    background: var(--nct-amber);
    color: var(--nct-ink);
}

.nct-button-amazon:hover {
    border-color: var(--nct-gold-light);
    background: var(--nct-gold-light);
    color: var(--nct-ink);
    box-shadow: 0 0 26px rgba(240, 160, 75, .28);
    transform: translateY(-2px);
}

.nct-button-ghost {
    border-color: var(--nct-gold);
    color: var(--nct-gold-light);
}

.nct-button-ghost:hover {
    background: rgba(200, 161, 90, .1);
    color: var(--nct-ivory);
}

.nct-intro-section {
    background: var(--nct-surface);
}

.nct-asymmetric {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(3rem, 8vw, 9rem);
    align-items: end;
}

.nct-editorial-copy {
    max-width: 530px;
    color: var(--nct-muted);
}

.nct-ways-section {
    background: var(--nct-ink);
}

.nct-centered-heading {
    margin-inline: auto;
    text-align: center;
}

.nct-way-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--nct-line);
    background: var(--nct-line);
}

.nct-way-card {
    min-height: 330px;
    padding: 2.4rem;
    background: var(--nct-surface);
}

.nct-way-card:hover {
    background: var(--nct-card);
}

.nct-roman {
    display: block;
    margin-bottom: 4rem;
    color: var(--nct-gold);
    font-family: var(--nct-serif);
    font-size: 2.4rem;
    line-height: 1;
}

.nct-way-card h3 {
    margin-bottom: 1rem;
}

.nct-way-card p {
    max-width: 250px;
    min-height: 86px;
    color: var(--nct-muted);
    font-size: .92rem;
}

.nct-selection-section {
    background: var(--nct-surface);
}

.nct-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.nct-selection-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem 1rem 1.4rem;
    border: 1px solid var(--nct-line-soft);
    background: var(--nct-card);
}

.nct-selection-card .nct-product-image {
    margin: -1rem -1rem 1.4rem;
}

.nct-selection-card h3 {
    margin: .8rem 0 .5rem;
    font-size: 1.8rem;
}

.nct-selection-card p {
    min-height: 3.5rem;
    color: var(--nct-muted);
    font-size: .82rem;
}

.nct-selection-card .nct-button {
    width: 100%;
    margin-top: auto;
}

.nct-selection-card .nct-text-link {
    margin-top: 1rem;
}

/* ==========================================================================
Cards, editorial pages, products
========================================================================== */
.nct-guides-section, .nct-home-content {
    background: var(--nct-ink);
}

.nct-opinions-section {
    background: var(--nct-surface);
}

.nct-article-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.nct-article-card {
    min-width: 0;
    padding: 1.6rem;
    border: 1px solid var(--nct-line-soft);
    background: var(--nct-card);
}

.nct-card-media {
    display: block;
    margin: -1.6rem -1.6rem 1.5rem;
    overflow: hidden;
}

.nct-card-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s ease;
}

.nct-article-card:hover .nct-card-media img {
    transform: scale(1.04);
}

.nct-article-card h2, .nct-article-card h3 {
    margin-top: .4rem;
    font-size: 2rem;
}

.nct-article-card p {
    margin-top: .8rem;
    color: var(--nct-muted);
    font-size: .88rem;
}

.nct-opinion-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--nct-line);
}

.nct-opinion-list article {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--nct-line);
}

.nct-opinion-list .nct-roman {
    margin: 0;
    font-size: 1.4rem;
}

.nct-opinion-list h3 {
    font-size: 1.65rem;
}

.nct-opinion-list time {
    color: var(--nct-muted);
    font-size: .72rem;
}

.nct-page-shell, .nct-single-shell {
    padding-top: 12rem;
    padding-bottom: 7rem;
}

.nct-reading-page {
    max-width: 820px;
}

.nct-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    margin-bottom: 3.5rem;
    color: var(--nct-muted);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nct-entry-header {
    margin-bottom: 3rem;
    text-align: center;
}

.nct-entry-header h1 {
    max-width: 900px;
    margin-inline: auto;
}

.nct-entry-content {
    max-width: var(--nct-reading);
    margin-inline: auto;
}

.nct-entry-content p, .nct-entry-content li {
    color: var(--nct-ivory);
}

.nct-entry-content h2 {
    position: relative;
    margin: 4rem 0 1.2rem;
    padding-top: 1.8rem;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.nct-entry-content h2::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 1px;
    background: var(--nct-gold);
    content: "";
}

.nct-entry-content h3 {
    margin: 2.5rem 0 .8rem;
    color: var(--nct-gold-light);
    font-size: 2rem;
}

.nct-entry-content a {
    color: var(--nct-gold-light);
    text-decoration-line: underline;
    text-decoration-color: var(--nct-line);
}

.nct-entry-content ul, .nct-entry-content ol {
    padding-left: 1.3rem;
}

.nct-entry-content li::marker {
    color: var(--nct-gold);
}

.nct-entry-content blockquote {
    margin: 3rem 0;
    padding: 1rem 0 1rem 2rem;
    border-left: 1px solid var(--nct-gold);
    color: var(--nct-gold-light);
    font-family: var(--nct-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.2;
}

.nct-featured-image {
    max-width: 1100px;
    margin: 0 auto 4rem;
    border: 1px solid var(--nct-gold);
    padding: 4px;
}

.nct-featured-image img {
    width: 100%;
}

.nct-toc {
    margin: 2.5rem 0 3rem;
    padding: 1.4rem 1.6rem;
    border-block: 1px solid var(--nct-line);
    color: var(--nct-muted);
}

.nct-toc summary {
    color: var(--nct-gold-light);
    cursor: pointer;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.nct-toc ol {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
}

.nct-toc a {
    color: var(--nct-muted);
    font-size: .9rem;
}

.nct-author-box {
    max-width: var(--nct-reading);
    margin: 4rem auto 0;
    padding: 1.8rem;
    border: 1px solid var(--nct-line);
    background: var(--nct-surface);
}

.nct-author-box strong {
    color: var(--nct-gold-light);
    font-family: var(--nct-serif);
    font-size: 1.8rem;
}

.nct-author-box p {
    margin: .5rem 0 0;
    color: var(--nct-muted);
}

.nct-related {
    max-width: 1100px;
    margin-inline: auto;
}

/* ==========================================================================
Product cards, compare, calculator
========================================================================== */
.nct-product {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) 1.5fr;
    gap: 2rem;
    margin: 3rem auto;
    padding: 1rem;
    border: 1px solid var(--nct-line);
    background: var(--nct-card);
}

.nct-product-image {
    display: grid;
    min-height: 250px;
    place-items: center;
    padding: 1.5rem;
    border-radius: 2px;
    background: var(--nct-ivory);
}

.nct-product-image img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.nct-product-body {
    padding: 1rem 1rem 1rem 0;
}

.nct-badge {
    display: inline-block;
    color: var(--nct-gold-light);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nct-product h3 {
    margin: .6rem 0 .25rem;
}

.nct-product-format {
    color: var(--nct-muted);
    font-size: .85rem;
}

.nct-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    padding-block: 1.2rem;
    border-block: 1px solid var(--nct-line-soft);
}

.nct-specs span {
    display: grid;
    gap: .15rem;
    color: var(--nct-muted);
    font-size: .78rem;
}

.nct-specs b {
    color: var(--nct-ivory);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nct-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.4rem;
}

.nct-duo strong {
    color: var(--nct-gold-light);
    font-family: var(--nct-serif);
    font-size: 1.5rem;
}

.nct-duo ul {
    margin: .5rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--nct-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.nct-duo li {
    margin-bottom: .45rem;
}

.nct-plus li::before {
    margin-right: .45rem;
    color: var(--nct-gold);
    content: "✓";
}

.nct-moins li::before {
    margin-right: .45rem;
    color: var(--nct-muted);
    content: "—";
}

.nct-product-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.nct-product-footer .nct-text-link {
    margin-top: 0;
}

.nct-product-line {
    grid-template-columns: 160px 1fr;
    align-items: center;
}

.nct-product-line .nct-product-image {
    min-height: 140px;
}

.nct-compare-wrap {
    max-width: 1000px;
    margin: 3rem auto;
    overflow-x: auto;
}

.nct-compare {
    width: 100%;
    border-collapse: collapse;
    background: var(--nct-card);
    font-size: .78rem;
}

.nct-compare th, .nct-compare td {
    padding: 1rem;
    border: 1px solid var(--nct-line);
    text-align: left;
    vertical-align: middle;
}

.nct-compare th {
    color: var(--nct-gold-light);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nct-compare td {
    color: var(--nct-muted);
}

.nct-model {
    display: flex;
    gap: .75rem;
    align-items: center;
    color: var(--nct-ivory);
}

.nct-model-thumb {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    padding: .3rem;
    border-radius: 50%;
    background: var(--nct-ivory);
}

.nct-model-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nct-model .nct-badge {
    display: block;
    margin-top: .3rem;
}

.nct-cost {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid var(--nct-line);
    background: radial-gradient(circle at 90% 10%, rgba(240, 160, 75, .1), transparent 40%), var(--nct-card);
}

.nct-cost-intro h3 {
    margin-bottom: 1rem;
    font-size: 2.6rem;
}

.nct-cost-intro p, .nct-cost-note {
    color: var(--nct-muted);
    font-size: .86rem;
}

.nct-cost-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nct-cost-grid label, .nct-contact-form label {
    display: grid;
    gap: .4rem;
    color: var(--nct-muted);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nct-cost-grid input, .nct-contact-form input, .nct-contact-form textarea, .nct-search-form input {
    width: 100%;
    border: 1px solid var(--nct-line);
    border-radius: 2px;
    background: var(--nct-surface);
    color: var(--nct-ivory);
    padding: .75rem .8rem;
}

.nct-cost-result {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--nct-line);
    color: var(--nct-gold-light);
    font-family: var(--nct-serif);
    font-size: 2rem;
    line-height: 1.15;
}

.nct-cost-note {
    grid-column: 1 / -1;
    margin: 0;
}

/* ==========================================================================
Callouts, archive, contact, footer
========================================================================== */
.nct-essentiel, .nct-avis, .nct-conseil, .nct-prudence, .nct-faq {
    margin: 3rem 0;
    padding: 1.5rem;
    border: 1px solid var(--nct-line);
    background: var(--nct-surface);
}

.nct-avis {
    border-color: var(--nct-gold);
}

.nct-avis::before {
    display: block;
    color: var(--nct-gold);
    content: "“";
    font-family: var(--nct-serif);
    font-size: 5rem;
    line-height: .4;
}

.nct-conseil {
    border-left: 3px solid var(--nct-gold);
}

.nct-prudence {
    border-color: rgba(255, 122, 47, .55);
    border-left: 3px solid var(--nct-flame);
}

.nct-faq details {
    border-top: 1px solid var(--nct-line-soft);
}

.nct-faq details:last-child {
    border-bottom: 1px solid var(--nct-line-soft);
}

.nct-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    color: var(--nct-ivory);
    cursor: pointer;
    list-style: none;
}

.nct-faq summary::-webkit-details-marker {
    display: none;
}

.nct-faq summary::after {
    color: var(--nct-gold);
    content: "+";
    font-size: 1.5rem;
    transition: transform .25s ease;
}

.nct-faq details[open] summary::after {
    transform: rotate(45deg);
}

.nct-faq details > *:not(summary) {
    color: var(--nct-muted);
}

.nct-archive-heading {
    max-width: 900px;
    margin-bottom: 4rem;
}

.nct-archive-heading .nct-breadcrumb {
    margin-bottom: 5rem;
}

.nct-archive-heading h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
}

.nct-archive-heading > p {
    max-width: 580px;
    margin-top: 1.4rem;
    color: var(--nct-muted);
}

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

.nct-index-list {
    grid-template-columns: repeat(2, 1fr);
}

.nct-page-article {
    max-width: 850px;
    margin-inline: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 3rem;
}

.page-numbers {
    padding: .5rem .8rem;
    border: 1px solid var(--nct-line);
    color: var(--nct-gold-light);
    font-size: .75rem;
}

.page-numbers.current, .page-numbers:hover {
    background: var(--nct-gold);
    color: var(--nct-ink);
}

.nct-search-form {
    display: flex;
    gap: .6rem;
    align-items: end;
    margin-top: 2rem;
}

.nct-search-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.nct-search-form input {
    flex: 1;
}

.nct-error-page {
    display: grid;
    min-height: 80vh;
    place-content: center;
    padding-block: 12rem;
    text-align: center;
}

.nct-error-page h1 {
    max-width: 850px;
    margin: 1rem auto 1.5rem;
}

.nct-error-page p {
    max-width: 500px;
    margin-inline: auto;
    color: var(--nct-muted);
}

.nct-error-page .nct-search-form {
    max-width: 500px;
    margin: 3rem auto 0;
}

.nct-contact-page {
    max-width: 880px;
}

.nct-contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
}

.nct-contact-form > label {
    margin-top: 1.2rem;
}

.nct-contact-form textarea {
    resize: vertical;
}

.nct-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nct-contact-form .nct-button {
    margin-top: 1.5rem;
}

.nct-honeypot {
    position: absolute;
    left: -9999px;
}

.nct-form-success, .nct-form-errors {
    margin: 2rem auto;
    padding: 1rem 1.2rem;
    border: 1px solid var(--nct-gold);
    color: var(--nct-gold-light);
}

.nct-form-errors {
    border-color: var(--nct-flame);
}

.nct-site-footer {
    padding-top: 5rem;
    border-top: 1px solid var(--nct-gold);
    background: var(--nct-ink);
}

.nct-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.nct-footer-brand p {
    max-width: 300px;
    margin-top: 1.5rem;
    color: var(--nct-muted);
    font-size: .85rem;
}

.nct-footer-label {
    margin-bottom: 1.2rem;
}

.nct-footer-links {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--nct-muted);
    font-size: .86rem;
}

.nct-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 1.5rem;
    border-top: 1px solid var(--nct-line-soft);
    color: var(--nct-muted);
    font-size: .68rem;
}

.nct-footer-bottom p {
    margin: 0;
}

/* ==========================================================================
Animation and responsive breakpoints
========================================================================== */
@keyframes nct-breathe {
    0%, 100% {
        opacity: .55;
        transform: translate(-50%, -50%) scale(.92);
    }
    50% {
        opacity: .9;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes nct-flame-one {
    0%, 100% {
        transform: rotate(-2deg) scaleY(.95);
    }
    50% {
        transform: rotate(3deg) scaleY(1.06);
    }
}

@keyframes nct-flame-two {
    0%, 100% {
        transform: translateX(-2px) scaleY(.92);
    }
    50% {
        transform: translateX(3px) scaleY(1.05);
    }
}

@keyframes nct-flame-three {
    0%, 100% {
        transform: translateX(2px) scale(.94);
    }
    50% {
        transform: translateX(-2px) scale(1.06);
    }
}

@keyframes nct-ember {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(.7);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(14px, -160px) scale(.2);
    }
}

@media (max-width: 1100px) {
    .nct-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nct-section {
        padding-block: 7rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    .nct-wrap {
        width: min(calc(100% - 32px), var(--nct-wrap));
    }
    .nct-header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        padding-block: 1rem;
    }
    .nct-brand {
        justify-self: start;
    }
    .nct-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }
    .nct-primary-nav {
        grid-column: 1 / -1;
        display: none;
        margin-top: 1.2rem;
        padding-top: 1.2rem;
        border-top: 1px solid var(--nct-line-soft);
    }
    .nct-menu-open .nct-primary-nav {
        display: block;
    }
    .nct-nav {
        display: grid;
        gap: 0;
        justify-items: center;
    }
    .nct-nav li {
        width: 100%;
        border-bottom: 1px solid var(--nct-line-soft);
        text-align: center;
    }
    .nct-nav a {
        display: block;
        padding: .8rem;
    }
    .nct-section {
        padding-block: 6rem;
    }
    .nct-asymmetric {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nct-way-grid {
        grid-template-columns: 1fr;
    }
    .nct-way-card {
        min-height: 0;
        padding: 2rem;
    }
    .nct-way-card .nct-roman {
        margin-bottom: 2rem;
    }
    .nct-way-card p {
        min-height: 0;
    }
    .nct-product-grid, .nct-article-cards, .nct-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nct-opinion-list {
        grid-template-columns: 1fr;
    }
    .nct-cost {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nct-product {
        grid-template-columns: 1fr;
    }
    .nct-product-body {
        padding: 0 1rem 1rem;
    }
    .nct-page-shell, .nct-single-shell {
        padding-top: 9rem;
        padding-bottom: 5rem;
    }
    .nct-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
        padding-bottom: 3.5rem;
    }
}

@media (max-width: 540px) {
    .nct-wrap {
        width: min(calc(100% - 28px), var(--nct-wrap));
    }
    .nct-section {
        padding-block: 5rem;
    }
    .nct-hero {
        min-height: 760px;
    }
    .nct-hero-content {
        padding-top: 7rem;
    }
    .nct-hero-content h1 {
        font-size: clamp(4rem, 18vw, 6rem);
    }
    .nct-fireplace {
        bottom: 8%;
        width: 320px;
    }
    .nct-button-row {
        flex-direction: column;
    }
    .nct-button-row .nct-button {
        width: 100%;
    }
    .nct-product-grid, .nct-article-cards, .nct-archive-grid, .nct-index-list {
        grid-template-columns: 1fr;
    }
    .nct-opinion-list article {
        grid-template-columns: 30px 1fr;
    }
    .nct-opinion-list time {
        grid-column: 2;
    }
    .nct-cost {
        padding: 1.4rem;
    }
    .nct-cost-grid, .nct-specs, .nct-duo, .nct-form-grid {
        grid-template-columns: 1fr;
    }
    .nct-product-line {
        grid-template-columns: 1fr;
    }
    .nct-product-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .nct-product-footer .nct-button {
        width: 100%;
    }
    .nct-compare-wrap {
        overflow: visible;
    }
    .nct-compare, .nct-compare thead, .nct-compare tbody, .nct-compare tr, .nct-compare th, .nct-compare td {
        display: block;
    }
    .nct-compare thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    .nct-compare tr {
        margin-bottom: 1rem;
        border: 1px solid var(--nct-line);
    }
    .nct-compare td {
        display: grid;
        grid-template-columns: 8rem 1fr;
        gap: 1rem;
        border: 0;
        border-bottom: 1px solid var(--nct-line-soft);
    }
    .nct-compare td:last-child {
        border-bottom: 0;
    }
    .nct-compare td::before {
        color: var(--nct-gold-light);
        content: attr(data-label);
        font-size: .64rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }
    .nct-compare td[data-label="Modèle"] {
        display: block;
    }
    .nct-compare td[data-label="Modèle"]::before {
        display: block;
        margin-bottom: .7rem;
    }
    .nct-compare .nct-button {
        width: 100%;
    }
    .nct-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nct-footer-brand {
        grid-column: 1 / -1;
    }
    .nct-footer-bottom {
        display: block;
        font-size: .62rem;
    }
    .nct-search-form {
        align-items: stretch;
        flex-direction: column;
    }
    .nct-search-form .nct-button {
        width: 100%;
    }
    .nct-entry-content .alignwide {
        width: 100%;
        margin-inline: 0;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}


/* Espacement titre / grille des trois formats */
.nct-ways-section .nct-centered-heading {
    margin-bottom: 3.5rem;
}

/* ==========================================================================
   Correctifs : boutons Amazon dans le contenu, tableau comparatif, tableaux de texte
   ========================================================================== */
.nct-entry-content a.nct-button-amazon,
.nct-entry-content a.nct-button-amazon:hover {
    color: var(--nct-ink);
    text-decoration: none;
    background-image: none;
}

.nct-compare th,
.nct-compare td {
    padding: .85rem .6rem;
}

.nct-compare .nct-button {
    min-height: 40px;
    padding: .5rem .7rem;
    font-size: .64rem;
    white-space: nowrap;
}

.nct-compare .nct-model {
    min-width: 150px;
}

.nct-entry-content table:not(.nct-compare) {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: var(--nct-card);
    font-size: .92rem;
}

.nct-entry-content table:not(.nct-compare) th,
.nct-entry-content table:not(.nct-compare) td {
    padding: .75rem 1rem;
    border: 1px solid var(--nct-line);
    text-align: left;
    vertical-align: top;
}

.nct-entry-content table:not(.nct-compare) th {
    color: var(--nct-gold-light);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .nct-entry-content table:not(.nct-compare) {
        display: block;
        overflow-x: auto;
    }
}

.nct-product-card .nct-product-image,
.nct-product .nct-product-image {
    align-self: start;
}
