/* Stylesheet : Les Jules Coiffure - Magazine de Grooming Masculin */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #B87333;
    --primary-dark: #A5652C;
    --secondary: #D9B382;
    --secondary-dark: #B87333;
    --dark: #1A1A1A;
    --dark-alt: #14110E;
    --light: #F5F0E6;
    --light-accent: #EFE9DC;
    --white: #FFFFFF;
    --accent: #9E4A24;
    --success: #2A9D8F;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(184, 115, 51, 0.15);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-alt);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Common Layout elements */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--light-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--dark-alt);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(184, 115, 51, 0.2);
}

.cta-nav:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(184, 115, 51, 0.3);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.98) 100%), var(--bg-image);
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--light-accent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(184, 115, 51, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--dark-alt);
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: #4A463F;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(184, 115, 51, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 115, 51, 0.35);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(184, 115, 51, 0.05);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-bg-white {
    background-color: var(--white);
}

.section-bg-gray {
    background-color: var(--light);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header p {
    color: #4A463F;
    font-size: 1.1rem;
}

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: var(--light-accent);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    line-height: 1.4;
}

.card h3 a {
    color: var(--dark-alt);
}

.card h3 a:hover {
    color: var(--primary);
}

.card p {
    color: #4A463F;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: #7A7268;
    padding-top: 16px;
    border-top: 1px solid var(--light-accent);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Feature Showcase (Z-pattern / alternating) */
.showcase-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row:nth-child(even) .showcase-img-col {
    order: 2;
}

.showcase-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: block;
}

.showcase-text-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.showcase-text-col p {
    font-size: 1.05rem;
    color: #4A463F;
    margin-bottom: 1.5rem;
}

/* Specific content lists/elements */
.bullet-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.98rem;
}

.bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Interactive tools container (General) */
.tool-container {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-accent);
    max-width: 900px;
    margin: 0 auto;
}

/* Diagnostic Morpho Tool */
.diagnostic-wizard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--light-accent);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.step-indicator {
    font-weight: 600;
    color: #9C9384;
    font-size: 0.9rem;
    position: relative;
}

.step-indicator.active {
    color: var(--primary);
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.option-card {
    border: 2px solid var(--light-accent);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--white);
}

.option-card:hover {
    border-color: var(--secondary-dark);
    background-color: rgba(217, 179, 102, 0.05);
}

.option-card.selected {
    border-color: var(--primary);
    background-color: rgba(184, 115, 51, 0.04);
}

.option-card svg {
    margin-bottom: 12px;
    color: var(--primary);
}

.option-card h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.option-card p {
    font-size: 0.85rem;
    color: #7A7268;
    margin-bottom: 0;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid var(--light-accent);
    padding-top: 24px;
}

/* Diagnostic Results */
.result-box {
    animation: fadeIn 0.6s ease;
}

.result-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.result-header h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--light-accent);
}

.result-card h4 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.product-recommendations {
    border-top: 1px solid var(--light-accent);
    padding-top: 30px;
}

.product-recommendations h4 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background-color: var(--white);
    border: 1px solid var(--light-accent);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.product-item h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin: 10px 0 6px;
    color: var(--dark-alt);
}

.product-item p {
    font-size: 0.85rem;
    color: #7A7268;
    margin-bottom: 0;
}

/* Material Comparator Page */
.comparator-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-accent);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-alt);
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--light-accent);
    border-radius: 4px;
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    outline: none;
    cursor: pointer;
    min-width: 150px;
    transition: var(--transition);
}

.filter-select:focus {
    border-color: var(--primary);
}

/* Material Comparison Table */
.table-wrapper {
    overflow-x: auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-accent);
}

.comparator-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.comparator-table th {
    background-color: var(--dark-alt);
    color: var(--white);
    font-weight: 600;
    padding: 18px 24px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparator-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--light-accent);
    vertical-align: middle;
}

.comparator-table tbody tr:last-child td {
    border-bottom: none;
}

.comparator-table tbody tr:hover {
    background-color: rgba(217, 179, 102, 0.03);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background-color: var(--light-accent);
}

.item-name {
    font-weight: 600;
    color: var(--dark-alt);
    font-size: 1rem;
}

.item-brand {
    font-size: 0.8rem;
    color: #7A7268;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-blue {
    background-color: rgba(184, 115, 51, 0.1);
    color: var(--primary);
}

.badge-green {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--success);
}

.badge-orange {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent);
}

.score-stars {
    color: #D9A066;
    display: flex;
    gap: 2px;
}

.pros-cons {
    font-size: 0.85rem;
}

.pros-list {
    color: var(--success);
    margin-bottom: 4px;
}

.cons-list {
    color: var(--accent);
}

/* Deep Content / Editorial Layouts */
.editorial-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 48px;
}

.editorial-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.editorial-content h2:first-of-type {
    margin-top: 0;
}

.editorial-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.editorial-content p {
    font-size: 1.05rem;
    color: #2A2620;
    margin-bottom: 1.5rem;
}

.editorial-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    background-color: rgba(184, 115, 51, 0.03);
    margin: 2rem 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark-alt);
    border-radius: 0 8px 8px 0;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: var(--white);
    border: 1px solid var(--light-accent);
    border-radius: 8px;
    margin-top: 50px;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-alt);
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 0.85rem;
    color: #7A7268;
    margin-bottom: 0;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.widget {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-accent);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    font-family: var(--font-heading);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.promo-widget {
    background: linear-gradient(135deg, var(--dark-alt) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.promo-widget .widget-title {
    color: var(--white);
}

.promo-widget .widget-title::after {
    background-color: var(--secondary);
    left: 50%;
    transform: translateX(-50%);
}

.promo-widget p {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* FAQ Accordion */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 6px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--light-accent);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-alt);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-family: var(--font-heading);
}

.faq-question svg {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0, 1, 0, 1);
    color: #4A463F;
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    padding: 0 24px 24px;
    max-height: 1000px;
    transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

/* Call To Action section */
.cta-section {
    background: linear-gradient(135deg, #14110E 0%, #241E17 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(184, 115, 51, 0.1);
    top: -100px;
    left: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(217, 179, 102, 0.05);
    bottom: -100px;
    right: -100px;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    color: var(--secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Footer styling */
footer.site-footer {
    background-color: var(--dark-alt);
    color: #9C9384;
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9C9384;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #7A7268;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: #9C9384;
}

/* Animations (Scroll & Entrance) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.4rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    header.site-header {
        position: relative;
    }
    .nav-menu {
        display: none; /* Mobile menu can be toggled */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-top: 1px solid var(--light-accent);
        border-bottom: 1px solid var(--light-accent);
        padding: 24px;
        gap: 16px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    .nav-menu.mobile-open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .showcase-row:nth-child(even) .showcase-img-col {
        order: 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .option-grid {
        grid-template-columns: 1fr;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .comparator-filters {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ============================================================
   Sous-menu Outils — dropdown desktop / accordéon mobile [05-tools-menu]
   ============================================================ */
.has-submenu { position: relative; }
.submenu-toggle {
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: none; font: inherit; cursor: pointer;
    color: var(--dark); font-weight: 500; font-size: 0.95rem; padding: 8px 0;
}
.submenu-toggle .caret { width: 16px; height: 16px; transition: transform .25s ease; }
.has-submenu:hover > .submenu-toggle .caret,
.has-submenu.open > .submenu-toggle .caret { transform: rotate(180deg); }
.submenu-toggle:hover,
.submenu-toggle.active,
.has-submenu.open > .submenu-toggle { color: var(--primary); }

.submenu {
    list-style: none; position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 288px; background: var(--white);
    border: 1px solid var(--light-accent); border-radius: 14px;
    box-shadow: 0 14px 36px rgba(26,26,26,0.12); padding: 8px;
    opacity: 0; visibility: hidden; z-index: 200;
    transition: opacity .2s ease, transform .2s ease;
}
.submenu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-submenu:hover > .submenu,
.has-submenu.open > .submenu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu li { margin: 0; }
.submenu a {
    display: flex; gap: 11px; align-items: flex-start;
    padding: 11px 12px; border-radius: 9px; color: var(--dark);
    font-size: 0.92rem; line-height: 1.35;
    transition: background .15s ease, color .15s ease;
}
.submenu a:hover { background: var(--light); color: var(--primary); }
.submenu a i { color: var(--primary); flex: 0 0 auto; margin-top: 1px; width: 19px; height: 19px; }
.submenu a strong { display: block; font-weight: 600; }
.submenu a small { display: block; color: var(--text-muted, #7A7268); font-size: 0.78rem; font-weight: 400; }
.submenu a::after { display: none; } /* neutralise le soulignement éventuel */

/* Footer : colonne Outils = liste simple (réutilise .footer-links) + grille 5 colonnes */
.footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .has-submenu { width: 100%; }
    .submenu-toggle { width: 100%; justify-content: space-between; padding: 0; }
    .submenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        display: none; min-width: 0; padding: 8px 0 0 14px;
        background: transparent; border: none; box-shadow: none;
    }
    .has-submenu.open > .submenu { display: block; transform: none; }
    .submenu::before { display: none; }
    .submenu a { padding: 9px 6px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Pages Ressources — index filtrable/triable partagé [res-table]
   ============================================================ */
.rt-wrap{max-width:1000px;margin:0 auto}
.rt-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-bottom:16px}
.rt-search{flex:1;min-width:220px;position:relative}
.rt-search input{width:100%;padding:12px 14px 12px 40px;border:1px solid var(--gray-200,#DDD6C8);border-radius:10px;font:inherit;background:var(--white,#fff)}
.rt-search i{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--text-muted,#7A7268)}
.rt-sort{display:inline-flex;background:var(--light-color,#F5F0E6);border:1px solid var(--gray-200,#DDD6C8);border-radius:99px;padding:4px}
.rt-sort button{border:none;background:none;font:inherit;font-weight:600;font-size:.85rem;color:var(--text-muted,#7A7268);padding:8px 14px;border-radius:99px;cursor:pointer}
.rt-sort button.active{background:var(--primary-color,#B87333);color:var(--on-primary,#fff)}
.rt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.rt-chip{border:1px solid var(--gray-200,#DDD6C8);background:var(--white,#fff);font:inherit;font-weight:600;font-size:.83rem;color:var(--dark-color,#1A1A1A);padding:7px 14px;border-radius:99px;cursor:pointer;transition:all .18s}
.rt-chip:hover{border-color:var(--primary-color,#B87333)}
.rt-chip.active{background:var(--primary-color,#B87333);color:#fff;border-color:var(--primary-color,#B87333)}
.rt-count{font-size:.85rem;color:var(--text-muted,#7A7268);margin-bottom:14px}
.rt-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.rt-item{border:1px solid var(--gray-200,#DDD6C8);border-radius:13px;padding:18px;background:var(--white,#fff);transition:box-shadow .2s,border-color .2s}
.rt-item:hover{border-color:var(--primary-color,#B87333);box-shadow:0 8px 22px rgba(184,115,51,.09)}
.rt-item-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}
.rt-name{font-family:var(--font-heading,'Playfair Display',serif);font-size:1.12rem;color:var(--dark-color,#1A1A1A);line-height:1.2}
.rt-cat{flex:0 0 auto;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--primary-hover,#A5652C);background:#EFE9DC;border:1px solid #E0CFB4;border-radius:99px;padding:3px 9px;white-space:nowrap}
.rt-desc{font-size:.9rem;color:var(--text-secondary,#4A463F);line-height:1.5;margin-bottom:14px}
.rt-pop{display:flex;align-items:center;gap:8px}
.rt-pop-track{flex:1;height:6px;background:var(--light-color,#F5F0E6);border-radius:99px;overflow:hidden}
.rt-pop-bar{height:100%;background:linear-gradient(90deg,#B87333,#D9B382);border-radius:99px}
.rt-pop-lbl{font-size:.72rem;color:var(--text-muted,#7A7268);white-space:nowrap}
.rt-empty{padding:30px;text-align:center;color:var(--text-muted,#7A7268)}
@media(max-width:560px){.rt-list{grid-template-columns:1fr}.rt-controls{flex-direction:column;align-items:stretch}.rt-sort{align-self:flex-start}}

/* Footer 6 colonnes (ajout de la colonne Ressources) [res-menu] */
.footer-grid{grid-template-columns:2fr repeat(5,1fr);}
@media (max-width:1100px){.footer-grid{grid-template-columns:1fr 1fr 1fr;}}
@media (max-width:640px){.footer-grid{grid-template-columns:1fr;}}

/* Alignement vertical des items de nav (liens + boutons Outils/Ressources) [nav-align] */
@media (min-width:769px){ .main-nav .nav-menu{ align-items:center; } }

/* Logo image header [logo-img] */
.logo-img{height:36px;width:auto;display:block}
@media(max-width:768px){.logo-img{height:30px}}
