/* ===========================
   HOME.CSS - IRM Saintonge Blog
   Styles page d'accueil uniquement
   =========================== */

/* ---- HERO ---- */
.hero-section {
    background-color: #1e3a5f;
    padding: 72px 24px 80px;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: #0ea5e9;
}

.hero-description {
    font-size: 16px;
    line-height: 1.75;
    color: #a8c4d8;
    margin: 0 0 24px;
    max-width: 520px;
}

.hero-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 32px;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0ea5e9;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0284c7;
    transform: translateY(-1px);
    outline: none;
}

.btn-primary:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #eef4fb;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid rgba(238, 244, 251, 0.3);
    transition: border-color 0.2s, background-color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: rgba(238, 244, 251, 0.7);
    background-color: rgba(238, 244, 251, 0.08);
    outline: none;
}

.btn-secondary:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 3px;
}

/* Hero visuel */
.hero-visual {
    position: relative;
}

.hero-scan-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(14, 165, 233, 0.3);
}

.hero-scan-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: saturate(0.8) contrast(1.05);
}

.scan-overlay-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(30, 58, 95, 0.88);
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid rgba(14, 165, 233, 0.4);
    backdrop-filter: blur(4px);
    letter-spacing: 0.04em;
}

.hero-floating-cards {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1e3a5f;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.18);
    white-space: nowrap;
    min-width: 130px;
}

/* ---- STATS ---- */
.stats-section {
    background-color: #0ea5e9;
    padding: 48px 24px;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 8px;
}

.stat-number {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.stat-number span {
    font-size: 0.65em;
    font-weight: 600;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

/* ---- THEMES / CATEGORIES ---- */
.themes-section {
    background-color: #f0f6fc;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: #5a7a96;
    margin: 0;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Masonry themes */
.themes-masonry {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.theme-card {
    background-color: #1e3a5f;
    border-radius: 14px;
    overflow: hidden;
    padding: 28px;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 180px;
}

.theme-card:hover,
.theme-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.22);
    outline: none;
}

.theme-card:focus-visible {
    outline: 3px solid #0ea5e9;
    outline-offset: 3px;
}

.theme-large {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 240px;
}

.theme-medium {
    grid-column: 3;
    grid-row: 1;
    min-height: 240px;
}

.theme-small:nth-of-type(3) {
    grid-column: 1;
    grid-row: 2;
}

.theme-medium:nth-of-type(4) {
    grid-column: 2;
    grid-row: 2;
}

.theme-small:nth-of-type(5) {
    grid-column: 3;
    grid-row: 2;
}

.theme-icon-wrap {
    width: 52px;
    height: 52px;
    background-color: rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-content {
    position: relative;
    z-index: 2;
}

.theme-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.theme-desc {
    font-size: 14px;
    color: #a8c4d8;
    line-height: 1.6;
    margin: 0;
}

.theme-count {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #0ea5e9;
    background-color: rgba(14, 165, 233, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.theme-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    z-index: 1;
}

/* ---- ARTICLES MASONRY ---- */
.articles-section {
    background-color: #ffffff;
    padding: 80px 24px;
}

.articles-masonry {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.article-card {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #e2edf5;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.1);
    border-color: #0ea5e9;
}

/* Article vedette */
.article-featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

.article-featured .article-img-wrap {
    position: relative;
}

.article-featured .article-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.article-featured .article-body {
    padding: 28px;
}

.article-featured .article-title a {
    font-size: 22px;
    font-weight: 800;
    color: #1e3a5f;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.article-featured .article-title a:hover,
.article-featured .article-title a:focus {
    color: #0ea5e9;
    outline: none;
}

.article-featured .article-excerpt {
    font-size: 15px;
    color: #4a6478;
    line-height: 1.75;
    margin: 14px 0 18px;
}

/* Colonne secondaire */
.articles-secondary {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-compact .article-img-wrap img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.article-compact .article-body {
    padding: 18px;
}

.article-compact .article-title a {
    font-size: 15px;
    font-weight: 700;
    color: #1e3a5f;
    text-decoration: none;
    line-height: 1.4;
}

.article-compact .article-title a:hover,
.article-compact .article-title a:focus {
    color: #0ea5e9;
    outline: none;
}

.article-compact .article-excerpt {
    font-size: 13px;
    color: #5a7a96;
    line-height: 1.6;
    margin: 8px 0 0;
}

/* Ligne tertiaire */
.articles-tertiary {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-horizontal {
    display: flex;
    flex-direction: column;
}

.article-horizontal .article-img-wrap img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.article-horizontal .article-body {
    padding: 18px;
    flex: 1;
}

.article-horizontal .article-title a {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
    text-decoration: none;
    line-height: 1.45;
}

.article-horizontal .article-title a:hover,
.article-horizontal .article-title a:focus {
    color: #0ea5e9;
    outline: none;
}

.article-horizontal .article-excerpt {
    font-size: 13px;
    color: #5a7a96;
    line-height: 1.6;
    margin: 8px 0 0;
}

/* Meta commune */
.article-img-wrap {
    position: relative;
}

.article-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #0ea5e9;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.article-meta time {
    font-size: 12px;
    color: #7a9bb5;
    font-weight: 500;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #7a9bb5;
    font-weight: 500;
}

.article-title {
    margin: 0 0 4px;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.tag {
    background-color: #eef4fb;
    color: #1e3a5f;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.03em;
}

.articles-cta-wrap {
    max-width: 1200px;
    margin: 36px auto 0;
    text-align: center;
}

.btn-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #eef4fb;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid #c2d9ec;
    transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-all-articles:hover,
.btn-all-articles:focus {
    background-color: #1e3a5f;
    color: #ffffff;
    border-color: #1e3a5f;
    transform: translateY(-2px);
    outline: none;
}

.btn-all-articles:focus-visible {
    outline: 3px solid #0ea5e9;
    outline-offset: 3px;
}

/* ---- CALCULATOR ---- */
.calculator-section {
    background-color: #f0f6fc;
    padding: 72px 24px;
}

.calculator-wrap {
    max-width: 820px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #c2d9ec;
    overflow: hidden;
}

.calc-header {
    background-color: #1e3a5f;
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.calc-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(14, 165, 233, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calc-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.calc-subtitle {
    font-size: 13px;
    color: #a8c4d8;
    margin: 0;
    line-height: 1.5;
}

.calc-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-group {
    border-bottom: 1px solid #e8f0f8;
    padding-bottom: 24px;
}

.calc-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calc-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 14px;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.calc-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f6fc;
    border: 1.5px solid #c2d9ec;
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    min-width: 140px;
}

.calc-field input {
    flex: 1;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    min-width: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none;
}

.calc-field input[readonly] {
    color: #0ea5e9;
    background-color: transparent;
}

.calc-field input::placeholder {
    color: #a8c4d8;
    font-weight: 400;
}

.calc-unit {
    font-size: 12px;
    font-weight: 600;
    color: #7a9bb5;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calc-arrow {
    flex-shrink: 0;
}

.calc-note {
    font-size: 12px;
    color: #7a9bb5;
    line-height: 1.6;
    margin: 12px 0 0;
    padding: 10px 14px;
    background-color: #f7fafe;
    border-radius: 6px;
    border-left: 3px solid #0ea5e9;
}

/* ---- TIMELINE ---- */
.timeline-section {
    background-color: #ffffff;
    padding: 80px 24px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #c2d9ec;
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 88px;
    position: relative;
    text-align: right;
    padding-right: 20px;
    padding-top: 4px;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #0ea5e9;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #0ea5e9;
}

.timeline-year {
    font-size: 15px;
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -0.02em;
}

.timeline-content {
    flex: 1;
    background-color: #f7fafe;
    border: 1.5px solid #e2edf5;
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-content:hover {
    border-color: #0ea5e9;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.timeline-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: #4a6478;
    line-height: 1.65;
    margin: 0 0 12px;
}

.timeline-tag {
    display: inline-block;
    background-color: rgba(14, 165, 233, 0.12);
    color: #0284c7;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---- COMPARISON TABLE ---- */
.comparison-section {
    background-color: #f0f6fc;
    padding: 80px 24px;
}

.table-responsive {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1.5px solid #c2d9ec;
    background-color: #ffffff;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
}

.comparison-table thead {
    background-color: #1e3a5f;
}

.comparison-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.comparison-table th:first-child {
    border-radius: 12px 0 0 0;
}
.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2edf5;
    transition: background-color 0.15s;
}

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

.comparison-table tbody tr:hover {
    background-color: #f7fafe;
}

.comparison-table td {
    padding: 16px 20px;
    color: #2d4a5e;
    vertical-align: middle;
    line-height: 1.5;
}

.tech-name {
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
}

.tech-irm { background-color: rgba(14, 165, 233, 0.12); color: #0284c7; }
.tech-scanner { background-color: rgba(245, 158, 11, 0.12); color: #b45309; }
.tech-rx { background-color: rgba(107, 114, 128, 0.12); color: #374151; }
.tech-echo { background-color: rgba(34, 197, 94, 0.12); color: #15803d; }
.tech-tep { background-color: rgba(168, 85, 247, 0.12); color: #7e22ce; }

.badge-no { background-color: rgba(34, 197, 94, 0.15); color: #15803d; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-mod { background-color: rgba(245, 158, 11, 0.15); color: #b45309; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-low { background-color: rgba(59, 130, 246, 0.12); color: #1d4ed8; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-high-rad { background-color: rgba(239, 68, 68, 0.12); color: #b91c1c; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-high { background-color: rgba(14, 165, 233, 0.15); color: #0284c7; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-med { background-color: rgba(107, 114, 128, 0.12); color: #374151; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-low-txt { background-color: rgba(239, 68, 68, 0.1); color: #b91c1c; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }

.table-note {
    max-width: 1200px;
    margin: 16px auto 0;
    font-size: 12px;
    color: #7a9bb5;
    text-align: center;
    line-height: 1.6;
    padding: 0 8px;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
    background-color: #1e3a5f;
    padding: 64px 24px;
}

.newsletter-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.newsletter-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 260px;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 165, 233, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.newsletter-desc {
    font-size: 14px;
    color: #a8c4d8;
    line-height: 1.6;
    margin: 0;
}

.newsletter-form {
    flex: 1;
    min-width: 280px;
}

.newsletter-field-group {
    display: flex;
    gap: 10px;
}

.newsletter-field-group input[type="email"] {
    flex: 1;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1.5px solid rgba(14, 165, 233, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: border-color 0.2s, background-color 0.2s;
    min-width: 0;
}

.newsletter-field-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-field-group input[type="email"]:focus {
    border-color: #0ea5e9;
    background-color: rgba(255, 255, 255, 0.12);
    outline: none;
}

.newsletter-field-group input[type="email"]:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0ea5e9;
    color: #ffffff;
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-newsletter:hover,
.btn-newsletter:focus {
    background-color: #0284c7;
    outline: none;
}

.btn-newsletter:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.newsletter-privacy {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin: 10px 0 0;
    line-height: 1.5;
}

/* ---- DISCLAIMER ---- */
.disclaimer-banner {
    background-color: #fefce8;
    border-top: 3px solid #fbbf24;
    padding: 20px 24px;
}

.disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.disclaimer-inner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-inner p {
    font-size: 14px;
    color: #4a3700;
    line-height: 1.65;
    margin: 0;
}

.disclaimer-inner strong {
    color: #92400e;
}

/* ---- UTILITAIRES ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
    .hero-section {
        padding: 52px 24px 60px;
    }

    .hero-inner {
        gap: 40px;
    }

    .hero-floating-cards {
        right: -10px;
    }

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

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

    .theme-large {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .theme-medium {
        grid-column: auto;
        grid-row: auto;
    }

    .theme-small:nth-of-type(3) {
        grid-column: auto;
        grid-row: auto;
    }

    .theme-medium:nth-of-type(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .theme-small:nth-of-type(5) {
        grid-column: auto;
        grid-row: auto;
    }

    .articles-masonry {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .article-featured {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .articles-secondary {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        gap: 16px;
    }

    .article-compact {
        flex: 1;
    }

    .articles-tertiary {
        grid-column: 1 / -1;
        grid-row: 3;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .calc-body {
        padding: 24px;
    }

    .timeline::before {
        left: 76px;
    }

    .timeline-marker {
        width: 76px;
    }

    .newsletter-wrap {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 16px 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 34px);
    }

    .hero-description {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-floating-cards {
        display: none;
    }

    .hero-scan-frame {
        border-radius: 12px;
    }

    .stats-section {
        padding: 36px 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: clamp(24px, 7vw, 36px);
    }

    .stat-label {
        font-size: 12px;
    }

    .themes-section {
        padding: 56px 16px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: clamp(20px, 5vw, 28px);
    }

    .section-subtitle {
        font-size: 15px;
    }

    .themes-masonry {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .theme-large {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }

    .theme-medium {
        grid-column: 1;
        grid-row: auto;
        min-height: 180px;
    }

    .theme-small:nth-of-type(3) {
        grid-column: 1;
        grid-row: auto;
    }

    .theme-medium:nth-of-type(4) {
        grid-column: 1;
        grid-row: auto;
    }

    .theme-small:nth-of-type(5) {
        grid-column: 1;
        grid-row: auto;
    }

    .theme-card {
        padding: 22px;
        min-height: 160px;
    }

    .articles-section {
        padding: 56px 16px;
    }

    .articles-masonry {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-featured {
        grid-column: 1;
        grid-row: auto;
    }

    .article-featured .article-img-wrap img {
        height: 220px;
    }

    .article-featured .article-body {
        padding: 20px;
    }

    .article-featured .article-title a {
        font-size: 18px;
    }

    .article-featured .article-excerpt {
        font-size: 14px;
    }

    .articles-secondary {
        grid-column: 1;
        grid-row: auto;
        flex-direction: column;
        gap: 14px;
    }

    .article-compact {
        flex: none;
    }

    .article-compact .article-img-wrap img {
        height: 160px;
    }

    .article-compact .article-body {
        padding: 16px;
    }

    .articles-tertiary {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-horizontal .article-img-wrap img {
        height: 180px;
    }

    .article-horizontal .article-body {
        padding: 16px;
    }

    .articles-cta-wrap {
        margin-top: 28px;
    }

    .btn-all-articles {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .calculator-section {
        padding: 52px 16px;
    }

    .calculator-wrap {
        border-radius: 12px;
    }

    .calc-header {
        padding: 20px 20px;
        gap: 14px;
    }

    .calc-icon {
        width: 44px;
        height: 44px;
    }

    .calc-title {
        font-size: 16px;
    }

    .calc-body {
        padding: 20px;
        gap: 20px;
    }

    .calc-input-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .calc-arrow {
        display: none;
    }

    .calc-field {
        min-width: 0;
        width: 100%;
    }

    .timeline-section {
        padding: 56px 16px;
    }

    .timeline::before {
        left: 0;
        display: none;
    }

    .timeline-item {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
    }

    .timeline-marker {
        width: auto;
        text-align: left;
        padding-right: 0;
        padding-top: 0;
    }

    .timeline-marker::after {
        display: none;
    }

    .timeline-year {
        font-size: 13px;
        color: #0ea5e9;
        background-color: rgba(14, 165, 233, 0.12);
        display: inline-block;
        padding: 3px 10px;
        border-radius: 12px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-title {
        font-size: 15px;
    }

    .comparison-section {
        padding: 56px 16px;
    }

    .table-responsive {
        border-radius: 10px;
    }

    .comparison-table {
        font-size: 13px;
    }

    .comparison-table th {
        padding: 12px 14px;
        font-size: 11px;
    }

    .comparison-table td {
        padding: 12px 14px;
    }

    .newsletter-section {
        padding: 48px 16px;
    }

    .newsletter-wrap {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }

    .newsletter-left {
        min-width: 0;
        width: 100%;
    }

    .newsletter-icon {
        width: 48px;
        height: 48px;
    }

    .newsletter-title {
        font-size: 18px;
    }

    .newsletter-form {
        min-width: 0;
        width: 100%;
    }

    .newsletter-field-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-newsletter {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .disclaimer-banner {
        padding: 16px 16px;
    }

    .disclaimer-inner p {
        font-size: 13px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
    }

    .hero-disclaimer {
        font-size: 11px;
        padding: 7px 12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 32px 14px 40px;
    }

    .hero-title {
        font-size: clamp(22px, 7vw, 28px);
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 18px;
    }

    .hero-disclaimer {
        font-size: 11px;
        padding: 7px 10px;
        margin-bottom: 24px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 13px 16px;
    }

    .scan-overlay-badge {
        font-size: 11px;
        padding: 6px 10px;
        bottom: 10px;
        left: 10px;
    }

    .stats-section {
        padding: 28px 14px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-number {
        font-size: clamp(22px, 8vw, 30px);
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 11px;
    }

    .themes-section {
        padding: 40px 14px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-title {
        font-size: clamp(18px, 6vw, 24px);
    }

    .section-subtitle {
        font-size: 14px;
    }

    .theme-card {
        padding: 18px;
        min-height: 140px;
        gap: 12px;
    }

    .theme-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .theme-name {
        font-size: 16px;
    }

    .theme-desc {
        font-size: 13px;
    }

    .articles-section {
        padding: 40px 14px;
    }

    .article-featured .article-img-wrap img {
        height: 180px;
    }

    .article-featured .article-body {
        padding: 16px;
    }

    .article-featured .article-title a {
        font-size: 16px;
    }

    .article-featured .article-excerpt {
        font-size: 13px;
        margin: 10px 0 14px;
    }

    .article-compact .article-img-wrap img {
        height: 140px;
    }

    .article-compact .article-body {
        padding: 14px;
    }

    .article-compact .article-title a {
        font-size: 14px;
    }

    .article-horizontal .article-img-wrap img {
        height: 150px;
    }

    .article-horizontal .article-body {
        padding: 14px;
    }

    .article-horizontal .article-title a {
        font-size: 13px;
    }

    .article-category-badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .article-meta {
        gap: 10px;
    }

    .article-tags {
        gap: 6px;
        margin-top: 12px;
    }

    .tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    .btn-all-articles {
        font-size: 14px;
        padding: 13px 16px;
    }

    .calculator-section {
        padding: 40px 14px;
    }

    .calc-header {
        padding: 16px 16px;
        gap: 12px;
    }

    .calc-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .calc-title {
        font-size: 15px;
    }

    .calc-subtitle {
        font-size: 12px;
    }

    .calc-body {
        padding: 16px;
        gap: 16px;
    }

    .calc-label {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .calc-field {
        padding: 9px 12px;
    }

    .calc-field input {
        font-size: 15px;
    }

    .calc-unit {
        font-size: 11px;
    }

    .calc-note {
        font-size: 11px;
        padding: 8px 12px;
    }

    .timeline-section {
        padding: 40px 14px;
    }

    .timeline-item {
        gap: 10px;
        margin-bottom: 22px;
    }

    .timeline-content {
        padding: 14px 16px;
    }

    .timeline-title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .timeline-tag {
        font-size: 10px;
        padding: 2px 8px;
    }

    .comparison-section {
        padding: 40px 14px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th {
        padding: 10px 12px;
        font-size: 10px;
    }

    .comparison-table td {
        padding: 10px 12px;
    }

    .tech-name {
        font-size: 12px;
        padding: 3px 8px;
    }

    .table-note {
        font-size: 11px;
        margin-top: 12px;
    }

    .newsletter-section {
        padding: 36px 14px;
    }

    .newsletter-wrap {
        gap: 22px;
    }

    .newsletter-left {
        gap: 14px;
    }

    .newsletter-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .newsletter-title {
        font-size: 16px;
    }

    .newsletter-desc {
        font-size: 13px;
    }

    .newsletter-field-group input[type="email"] {
        font-size: 14px;
        padding: 12px 14px;
    }

    .btn-newsletter {
        font-size: 14px;
        padding: 12px 16px;
    }

    .newsletter-privacy {
        font-size: 10px;
    }

    .disclaimer-banner {
        padding: 14px 14px;
    }

    .disclaimer-inner {
        gap: 10px;
    }

    .disclaimer-inner p {
        font-size: 12px;
        line-height: 1.6;
    }
}