/* ===================================================
   AGCIMMO - HOME CSS
   Styles spécifiques à la page d'accueil
=================================================== */

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: #1a2570;
  overflow: hidden;
}

/* Grille de fond décorative (CSS pur, pas de gradient) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  background-image:
    linear-gradient(0deg, rgba(240, 244, 195, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 244, 195, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  display: block;
}

/* Overlay couleur plate sur image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: #1a2570;
  opacity: 0.78;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 87, 34, 0.15);
  border: 1px solid rgba(255, 87, 34, 0.4);
  color: #ffab91;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge svg {
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: #f0f4c3;
}

.hero-desc {
  font-size: 17px;
  color: #9fa8da;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: #ff5722;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.15s;
}
.hero-btn-primary:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
}
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.hero-btn-secondary:hover {
  background-color: rgba(255,255,255,0.18);
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat-value {
  font-size: 26px;
  font-weight: 900;
  color: #f0f4c3;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: #7986cb;
  font-weight: 500;
}

/* Carte featured article */
.hero-featured-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.hero-featured-body {
  padding: 24px;
}
.hero-featured-tag {
  display: inline-block;
  padding: 3px 10px;
  background-color: #f0f4c3;
  color: #303f9f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 12px;
}
.hero-featured-body h2 {
  font-size: 18px;
  font-weight: 800;
  color: #1a237e;
  line-height: 1.3;
  margin-bottom: 10px;
}
.hero-featured-body h2 a {
  color: inherit;
  text-decoration: none;
}
.hero-featured-body h2 a:hover {
  color: #ff5722;
}
.hero-featured-body p {
  font-size: 13px;
  color: #546e7a;
  line-height: 1.6;
  margin-bottom: 16px;
}
.hero-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #e8eaf6;
  font-size: 12px;
  color: #90a4ae;
}
.hero-featured-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---- TOPICS BAR ---- */
.topics-bar {
  background-color: #f0f4c3;
  border-bottom: 2px solid #e6e9a8;
}
.topics-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topics-bar-inner::-webkit-scrollbar { display: none; }
.topics-bar-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #303f9f;
  white-space: nowrap;
  padding: 14px 20px 14px 0;
  border-right: 1.5px solid rgba(48,63,159,0.2);
  margin-right: 4px;
  flex-shrink: 0;
}
.topics-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #303f9f;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.topics-bar-link:hover {
  background-color: rgba(48,63,159,0.1);
  color: #1a237e;
}
.topics-bar-link .count {
  background-color: #303f9f;
  color: #f0f4c3;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

/* ---- ARTICLES SECTION ---- */
.articles-section {
  padding: 80px 0 60px;
  background-color: #ffffff;
}
.articles-section-header {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.articles-section-header .section-info {}
.see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #303f9f;
  text-decoration: none;
  border: 1.5px solid #303f9f;
  padding: 9px 18px;
  border-radius: 7px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.see-all-link:hover {
  background-color: #303f9f;
  color: #fff;
}

/* FEATURED + GRID */
.articles-featured-row {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

/* Big featured card */
.card-featured-big {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8eaf6;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-featured-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(48,63,159,0.12);
}
.card-featured-big img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.card-featured-big-body {
  padding: 28px;
}
.card-featured-big-body .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.card-featured-big-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 14px;
  line-height: 1.3;
}
.card-featured-big-body h2 a {
  color: inherit;
  text-decoration: none;
}
.card-featured-big-body h2 a:hover {
  color: #ff5722;
}
.card-featured-big-body p {
  font-size: 15px;
  color: #546e7a;
  line-height: 1.65;
}

/* Stack de 2 cards petites */
.articles-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-side {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaf6;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-side:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(48,63,159,0.1);
}
.card-side img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.card-side-body {
  padding: 18px;
}
.card-side-body .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.card-side-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.card-side-body h3 a {
  color: #1a237e;
  text-decoration: none;
}
.card-side-body h3 a:hover {
  color: #ff5722;
}
.card-side-body p {
  font-size: 13px;
  color: #546e7a;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grille des 3 articles supplémentaires */
.articles-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eaf6;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(48,63,159,0.11);
}
.card-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.card-grid-body {
  padding: 20px;
}
.card-grid-body .article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.card-grid-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.card-grid-body h3 a {
  color: #1a237e;
  text-decoration: none;
}
.card-grid-body h3 a:hover {
  color: #ff5722;
}
.card-grid-body p {
  font-size: 13px;
  color: #546e7a;
  line-height: 1.55;
}

/* ARTICLE META SHARED */
.article-meta .badge-category {
  font-size: 10px;
}
.article-meta time {
  font-size: 12px;
  color: #90a4ae;
}
.read-time-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #90a4ae;
}

/* ---- CALCULATEUR SECTION ---- */
.calculator-section {
  padding: 80px 0;
  background-color: #f8f9ff;
  border-top: 1px solid #e8eaf6;
  border-bottom: 1px solid #e8eaf6;
}
.calculator-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.calculator-intro {}
.calculator-intro .section-label { margin-bottom: 12px; }
.calculator-intro .section-title { font-size: 28px; margin-bottom: 14px; }
.calculator-intro p {
  font-size: 15px;
  color: #546e7a;
  line-height: 1.7;
  margin-bottom: 24px;
}
.calculator-intro-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calculator-intro-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #37474f;
}
.calc-check-icon {
  width: 22px;
  height: 22px;
  background-color: #303f9f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc-check-icon svg {
  fill: none;
  stroke: #f0f4c3;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calculator-widget {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8eaf6;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(48,63,159,0.07);
}
.calculator-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a237e;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.calculator-widget-title svg {
  fill: none;
  stroke: #ff5722;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-field label {
  font-size: 13px;
  font-weight: 600;
  color: #37474f;
}
.calc-input-wrap {
  position: relative;
}
.calc-input-wrap input {
  width: 100%;
  padding: 11px 40px 11px 14px;
  border: 1.5px solid #e8eaf6;
  border-radius: 8px;
  font-size: 15px;
  color: #1a237e;
  background-color: #f8f9ff;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.calc-input-wrap input:focus {
  border-color: #303f9f;
  outline: none;
  background-color: #fff;
}
.calc-input-unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #90a4ae;
  font-weight: 600;
  pointer-events: none;
}

.calc-btn {
  width: 100%;
  padding: 13px;
  background-color: #303f9f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 4px;
}
.calc-btn:hover {
  background-color: #1a237e;
}
.calc-btn:focus-visible {
  outline: 2px solid #ff5722;
  outline-offset: 3px;
}

.calc-results {
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9ff;
  border-radius: 10px;
  border: 1.5px solid #e8eaf6;
  display: none;
}
.calc-results.is-visible {
  display: block;
}
.calc-results-title {
  font-size: 13px;
  font-weight: 700;
  color: #303f9f;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.calc-result-value {
  font-size: 22px;
  font-weight: 900;
  color: #ff5722;
}
.calc-result-label {
  font-size: 11px;
  color: #78909c;
  font-weight: 500;
}

/* ---- TABLEAU COMPARATIF ---- */
.comparison-section {
  padding: 80px 0;
  background-color: #ffffff;
}
.comparison-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}
.comparison-header .section-title { font-size: 28px; }

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e8eaf6;
}

table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}
table.comparison-table thead tr {
  background-color: #303f9f;
}
table.comparison-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #f0f4c3;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
table.comparison-table thead th:first-child {
  border-radius: 0;
}
table.comparison-table tbody tr {
  border-bottom: 1px solid #e8eaf6;
  transition: background-color 0.15s;
}
table.comparison-table tbody tr:hover {
  background-color: #f8f9ff;
}
table.comparison-table tbody tr:last-child {
  border-bottom: none;
}
table.comparison-table tbody td {
  padding: 15px 20px;
  color: #37474f;
  vertical-align: middle;
}
table.comparison-table tbody td:first-child {
  font-weight: 700;
  color: #1a237e;
}
.tag-green {
  display: inline-block;
  padding: 2px 10px;
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.tag-orange {
  display: inline-block;
  padding: 2px 10px;
  background-color: #fff3e0;
  color: #e65100;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.tag-red {
  display: inline-block;
  padding: 2px 10px;
  background-color: #fce4ec;
  color: #c62828;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.check-icon-cell {
  color: #2e7d32;
}
.cross-icon-cell {
  color: #c62828;
}

/* ---- NEWSLETTER SECTION ---- */
.newsletter-section {
  background-color: #303f9f;
  padding: 72px 0;
}
.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter-content {}
.newsletter-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: rgba(255,87,34,0.2);
  border-radius: 14px;
  margin-bottom: 20px;
}
.newsletter-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}
.newsletter-content p {
  font-size: 15px;
  color: #9fa8da;
  line-height: 1.65;
  margin-bottom: 20px;
}
.newsletter-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #c5cae9;
}
.perk-dot {
  width: 8px;
  height: 8px;
  background-color: #ff5722;
  border-radius: 50%;
  flex-shrink: 0;
}

.newsletter-form-wrap {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px;
}
.newsletter-form-title {
  font-size: 16px;
  font-weight: 700;
  color: #f0f4c3;
  margin-bottom: 20px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background-color: rgba(255,255,255,0.08);
  color: #ffffff;
  transition: border-color 0.2s, background-color 0.2s;
  box-sizing: border-box;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  outline: none;
  border-color: #ff5722;
  background-color: rgba(255,255,255,0.12);
}
.newsletter-submit {
  width: 100%;
  padding: 14px;
  background-color: #ff5722;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.newsletter-submit:hover { background-color: #e64a19; }
.newsletter-submit:focus-visible {
  outline: 2px solid #f0f4c3;
  outline-offset: 3px;
}
.newsletter-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  text-align: center;
}
.newsletter-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.newsletter-msg.success {
  background-color: rgba(76,175,80,0.2);
  color: #a5d6a7;
  display: block;
}
.newsletter-msg.error {
  background-color: rgba(244,67,54,0.2);
  color: #ef9a9a;
  display: block;
}

/* ---- CATEGORIES THEMATIQUES ---- */
.themes-section {
  padding: 80px 0;
  background-color: #f8f9ff;
  border-top: 1px solid #e8eaf6;
}
.themes-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.themes-header {
  text-align: center;
  margin-bottom: 48px;
}
.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.theme-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf6;
  border-radius: 14px;
  padding: 28px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(48,63,159,0.12);
  border-color: #303f9f;
}
.theme-icon {
  width: 48px;
  height: 48px;
  background-color: #f0f4c3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-icon svg {
  fill: none;
  stroke: #303f9f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a237e;
  line-height: 1.3;
}
.theme-card-desc {
  font-size: 13px;
  color: #78909c;
  line-height: 1.55;
}
.theme-card-count {
  font-size: 12px;
  color: #ff5722;
  font-weight: 600;
  margin-top: auto;
}

/* ---- KEY NUMBERS SECTION ---- */
.numbers-section {
  padding: 64px 0;
  background-color: #1a2570;
}
.numbers-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.number-item {
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.number-item:last-child {
  border-right: none;
}
.number-value {
  font-size: 42px;
  font-weight: 900;
  color: #f0f4c3;
  line-height: 1;
  margin-bottom: 6px;
}
.number-unit {
  font-size: 28px;
  color: #ff5722;
}
.number-label {
  font-size: 13px;
  color: #7986cb;
  line-height: 1.5;
}

/* ===== RESPONSIVE HOME ===== */

/* Tablettes */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
  .hero-right {
    display: none;
  }
  .articles-featured-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .calculator-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 48px 16px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-badge {
    font-size: 11px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .section-title {
    font-size: 22px;
  }
  .articles-section {
    padding: 48px 0;
  }
  .grid-row {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .card-grid img {
    height: 160px;
  }
  .calculator-section {
    padding: 48px 0;
  }
  .calculator-inner {
    padding: 0 16px;
  }
  .calculator-widget {
    padding: 24px;
  }
  .newsletter-section {
    padding: 48px 0;
  }
  .newsletter-inner {
    padding: 0 16px;
  }
  .newsletter-form-wrap {
    padding: 24px;
  }
  .themes-section {
    padding: 48px 0;
  }
  .themes-inner {
    padding: 0 16px;
  }
  .themes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .theme-card {
    padding: 20px 16px;
  }
  .numbers-section {
    padding: 32px 0;
  }
  .numbers-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }
  .number-value {
    font-size: 28px;
  }
  .number-unit {
    font-size: 20px;
  }
  .number-label {
    font-size: 12px;
  }
  table.comparison-table {
    font-size: 13px;
  }
  table.comparison-table thead th,
  table.comparison-table tbody td {
    padding: 10px 12px;
  }
  .articles-featured-row {
    padding: 0 16px;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-content {
    padding: 36px 14px;
  }
  .themes-grid {
    grid-template-columns: 1fr;
  }
  .numbers-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .number-item {
    padding: 16px 12px;
  }
  .grid-row {
    padding: 0 14px;
  }
}