/* =====================================================
   ISP Martino - Home CSS v5.1
   Blog passion pêche - Design Timeline Immersif
   Couleurs plates uniquement - Zéro dégradé
   ===================================================== */

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

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 1;
}

.hero-water-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-color: #f4f7f4;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffc107;
  color: #1a2e1a;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #ffc107;
  display: block;
}

.hero-desc {
  font-size: 1.1rem;
  color: #a8c8a8;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffc107;
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: #8aab8a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-featured {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-featured-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8aab8a;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.hero-article-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, background-color 0.2s;
}

.hero-article-card:hover {
  border-color: rgba(255, 193, 7, 0.5);
  background-color: rgba(255, 255, 255, 0.09);
}

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

.hero-article-card-body {
  padding: 16px;
}

.hero-article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-article-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffc107;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-article-card-time {
  font-size: 0.72rem;
  color: #7a9a7a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-article-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-article-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-article-card-title a:hover {
  color: #ffc107;
}

/* =====================================================
   FILTRES CATÉGORIES
   ===================================================== */
.filters-section {
  background-color: #fff;
  padding: 40px 0;
  border-bottom: 2px solid #e8f0e8;
}

.filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filters-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7a9a7a;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: #f4f7f4;
  color: #4a6741;
  border: 2px solid #e0ead0;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
  background-color: #1a2e1a;
  color: #fff;
  border-color: #1a2e1a;
  transform: translateY(-2px);
}

.filter-tab.active {
  background-color: #4a6741;
  border-color: #4a6741;
}

/* =====================================================
   TIMELINE SECTION
   ===================================================== */
.timeline-section {
  background-color: #f4f7f4;
  padding: 80px 0;
}

.timeline-header {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.timeline-header-left h2 {
  font-size: 2.2rem;
  color: #1a2e1a;
  margin-bottom: 6px;
  font-weight: 800;
}

.timeline-header-left p {
  color: #5a7a5a;
  font-size: 1rem;
}

.timeline-header-right a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a2e1a;
  color: #ffc107;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: background-color 0.2s;
}

.timeline-header-right a:hover {
  background-color: #2d4a2d;
  color: #ffc107;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #d0e0d0;
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-items {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 56px;
}

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

.timeline-item.left .timeline-content {
  grid-column: 1;
  padding-right: 40px;
  text-align: right;
}

.timeline-item.left .timeline-connector {
  grid-column: 2;
}

.timeline-item.left .timeline-spacer {
  grid-column: 3;
}

.timeline-item.right .timeline-spacer {
  grid-column: 1;
}

.timeline-item.right .timeline-connector {
  grid-column: 2;
}

.timeline-item.right .timeline-content {
  grid-column: 3;
  padding-left: 40px;
  text-align: left;
}

.timeline-connector {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #4a6741;
  border: 4px solid #f4f7f4;
  box-shadow: 0 0 0 2px #4a6741;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background-color 0.2s;
}

.timeline-dot.featured {
  background-color: #ffc107;
  box-shadow: 0 0 0 2px #ffc107;
  width: 24px;
  height: 24px;
}

.timeline-card {
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0ead0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 46, 26, 0.10);
}

.timeline-card.featured {
  border: 2px solid #ffc107;
}

.timeline-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.timeline-card-body {
  padding: 20px;
}

.timeline-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-item.left .timeline-card-top {
  flex-direction: row-reverse;
}

.timeline-card-cat {
  display: inline-block;
  background-color: #e8f0e8;
  color: #2d4a2d;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.timeline-card-cat:hover {
  background-color: #4a6741;
  color: #fff;
}

.timeline-card-cat.featured {
  background-color: #fff3cd;
  color: #856404;
}

.timeline-card-read {
  font-size: 0.72rem;
  color: #9ab09a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.timeline-card-title a {
  color: #1a2e1a;
  text-decoration: none;
  transition: color 0.2s;
}

.timeline-card-title a:hover {
  color: #4a6741;
}

.timeline-card-excerpt {
  font-size: 0.88rem;
  color: #5a7a5a;
  line-height: 1.65;
  margin-bottom: 14px;
}

.timeline-item.left .timeline-card-excerpt {
  text-align: right;
}

.timeline-card-date {
  font-size: 0.78rem;
  color: #9ab09a;
  font-weight: 600;
}

.timeline-spacer {
  /* Espace vide côté opposé */
}

/* =====================================================
   CALCULATOR SECTION - Calculateur pêche
   ===================================================== */
.calculator-section {
  background-color: #1a2e1a;
  padding: 80px 0;
}

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

.calc-intro h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 800;
}

.calc-intro p {
  color: #8aab8a;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.calc-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a8c8a8;
  font-size: 0.92rem;
}

.calc-features li svg {
  flex-shrink: 0;
  color: #ffc107;
}

.calculator-box {
  background-color: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 2px solid #2d4a2d;
}

.calculator-box h3 {
  font-size: 1.2rem;
  color: #1a2e1a;
  margin-bottom: 24px;
  font-weight: 700;
  text-align: center;
}

.calc-group {
  margin-bottom: 18px;
}

.calc-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d4a2d;
  margin-bottom: 6px;
}

.calc-group select,
.calc-group input[type="range"] {
  width: 100%;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.calc-group select {
  padding: 10px 14px;
  border: 2px solid #d0e0d0;
  border-radius: 8px;
  font-family: inherit;
  color: #1a2e1a;
  background-color: #f9fcf9;
  appearance: none;
  cursor: pointer;
}

.calc-group select:focus {
  border-color: #4a6741;
  outline: none;
}

.calc-range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-group input[type="range"] {
  flex: 1;
  accent-color: #4a6741;
  height: 6px;
  cursor: pointer;
}

.calc-range-val {
  min-width: 48px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2e1a;
  background-color: #e8f0e8;
  border-radius: 6px;
  padding: 4px 8px;
}

.calc-result-box {
  background-color: #1a2e1a;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.calc-result-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #8aab8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.calc-result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffc107;
  margin-bottom: 4px;
}

.calc-result-sub {
  font-size: 0.82rem;
  color: #8aab8a;
}

/* =====================================================
   SLIDER TOUCH - Galerie spots
   ===================================================== */
.slider-section {
  background-color: #fff;
  padding: 80px 0;
}

.slider-section-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.slider-section-header h2 {
  font-size: 2rem;
  color: #1a2e1a;
  font-weight: 800;
}

.slider-section-header p {
  color: #7a9a7a;
  font-size: 0.95rem;
  margin-top: 4px;
}

.slider-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 2px solid #e0ead0;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  color: #4a6741;
}

.slider-btn:hover,
.slider-btn:focus {
  background-color: #1a2e1a;
  border-color: #1a2e1a;
  color: #ffc107;
  outline: 2px solid #ffc107;
  outline-offset: 2px;
}

.slider-viewport {
  overflow: hidden;
  cursor: grab;
  position: relative;
}

.slider-viewport:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 20px;
  padding: 0 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider-slide {
  flex-shrink: 0;
  width: 300px;
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0ead0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.slider-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 46, 26, 0.10);
}

.slider-slide-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.slider-slide-body {
  padding: 18px;
}

.slider-slide-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4a6741;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.slider-slide-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2e1a;
  line-height: 1.4;
  margin-bottom: 8px;
}

.slider-slide-desc {
  font-size: 0.83rem;
  color: #7a9a7a;
  line-height: 1.6;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d0e0d0;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  padding: 0;
}

.slider-dot.active {
  background-color: #4a6741;
  transform: scale(1.4);
}

/* =====================================================
   MODAL GALERIE
   ===================================================== */
.gallery-section {
  background-color: #f4f7f4;
  padding: 80px 0;
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-header h2 {
  font-size: 2rem;
  color: #1a2e1a;
  font-weight: 800;
}

.gallery-header p {
  color: #7a9a7a;
  margin-top: 4px;
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background-color: #d0e0d0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 46, 26, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 10, 0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  background-color: #1a2e1a;
  border-radius: 16px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.gallery-modal-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background-color: #111d11;
  display: block;
}

.gallery-modal-body {
  padding: 20px 24px;
  background-color: #1a2e1a;
}

.gallery-modal-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffc107;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.gallery-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.gallery-modal-desc {
  font-size: 0.9rem;
  color: #8aab8a;
  line-height: 1.65;
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 193, 7, 0.90);
  color: #1a2e1a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 10;
  transition: background-color 0.2s;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
  background-color: #ffc107;
  outline: 2px solid #fff;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: rgba(255, 193, 7, 0.88);
  color: #1a2e1a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background-color 0.2s;
  z-index: 10;
}

.gallery-modal-nav:hover,
.gallery-modal-nav:focus {
  background-color: #ffc107;
  outline: 2px solid #fff;
}

.gallery-modal-prev { left: 14px; }
.gallery-modal-next { right: 14px; }

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.newsletter-section {
  background-color: #4a6741;
  padding: 80px 0;
}

.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.newsletter-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.newsletter-section h2 {
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-section p {
  color: #c0d8b8;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background-color: rgba(255,255,255,0.10);
  color: #fff;
  transition: border-color 0.2s;
}

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

.newsletter-form input[type="email"]:focus {
  border-color: #ffc107;
  outline: none;
  background-color: rgba(255,255,255,0.15);
}

.newsletter-form button {
  background-color: #ffc107;
  color: #1a2e1a;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.15s;
}

.newsletter-form button:hover,
.newsletter-form button:focus {
  background-color: #e6ac00;
  transform: translateY(-2px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.newsletter-reassurance {
  font-size: 0.78rem;
  color: #9ab89a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.newsletter-msg {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffc107;
  min-height: 24px;
}

/* =====================================================
   SAVINGS CALCULATOR - Budget pêche
   ===================================================== */
.savings-section {
  background-color: #fff;
  padding: 80px 0;
}

.savings-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.savings-header {
  text-align: center;
  margin-bottom: 48px;
}

.savings-header h2 {
  font-size: 2rem;
  color: #1a2e1a;
  font-weight: 800;
  margin-bottom: 8px;
}

.savings-header p {
  color: #5a7a5a;
  font-size: 1rem;
}

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.savings-calc-box {
  background-color: #f4f7f4;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e0ead0;
}

.savings-calc-box h3 {
  font-size: 1.1rem;
  color: #1a2e1a;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.savings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #e0ead0;
  gap: 12px;
}

.savings-item:last-of-type {
  border-bottom: none;
}

.savings-item-label {
  font-size: 0.9rem;
  color: #4a6741;
  font-weight: 500;
  flex: 1;
}

.savings-item-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.savings-item-input input[type="number"] {
  width: 80px;
  padding: 8px 10px;
  border: 2px solid #d0e0d0;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #1a2e1a;
  background-color: #fff;
  text-align: right;
}

.savings-item-input input[type="number"]:focus {
  border-color: #4a6741;
  outline: none;
}

.savings-item-unit {
  font-size: 0.8rem;
  color: #7a9a7a;
  white-space: nowrap;
}

.savings-total-box {
  background-color: #1a2e1a;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.savings-total-box strong {
  color: #c8d8c8;
  font-size: 0.9rem;
}

.savings-total-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffc107;
}

.savings-results-box {
  background-color: #f4f7f4;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e0ead0;
}

.savings-results-box h3 {
  font-size: 1.1rem;
  color: #1a2e1a;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.savings-result-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid #e0ead0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.savings-result-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e8f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.savings-result-info {
  flex: 1;
}

.savings-result-info p {
  font-size: 0.82rem;
  color: #7a9a7a;
  margin-bottom: 3px;
}

.savings-result-info strong {
  font-size: 1rem;
  color: #1a2e1a;
  display: block;
  font-weight: 700;
}

.savings-tip {
  background-color: #fff3cd;
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.savings-tip-icon {
  flex-shrink: 0;
  color: #856404;
}

.savings-tip p {
  font-size: 0.85rem;
  color: #856404;
  line-height: 1.65;
}

/* =====================================================
   À PROPOS / INTRO BLOG
   ===================================================== */
.about-section {
  background-color: #1a2e1a;
  padding: 80px 0;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.about-portrait-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 3px solid #4a6741;
}

.about-portrait-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background-color: #ffc107;
  color: #1a2e1a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.about-content h2 {
  font-size: 2rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-content p {
  color: #8aab8a;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 28px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #2d4a2d;
  color: #c8d8c8;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px 80px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-water-overlay {
    height: 80px;
  }

  .timeline-item {
    grid-template-columns: 1fr 48px 1fr;
    margin-bottom: 40px;
  }

  .timeline-item.left .timeline-content {
    padding-right: 24px;
  }

  .timeline-item.right .timeline-content {
    padding-left: 24px;
  }

  .timeline-header-left h2 {
    font-size: 1.8rem;
  }

  .calculator-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calc-intro h2 {
    font-size: 1.7rem;
  }

  .slider-section-header {
    gap: 12px;
  }

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

  .savings-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-inner {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }

  .about-content h2 {
    font-size: 1.7rem;
  }

  .newsletter-section h2 {
    font-size: 1.7rem;
  }

  .timeline-card-img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-water-overlay {
    height: 60px;
  }

  .hero-article-card-img {
    height: 130px;
  }

  .filters-section {
    padding: 28px 0;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

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

  .timeline-header {
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-header-left h2 {
    font-size: 1.6rem;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto;
    gap: 0;
    margin-bottom: 32px;
  }

  .timeline-item.left .timeline-connector,
  .timeline-item.right .timeline-connector {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    grid-column: 2;
    grid-row: 1;
    padding-left: 16px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-spacer,
  .timeline-item.right .timeline-spacer {
    display: none;
  }

  .timeline-item.left .timeline-card-top {
    flex-direction: row;
  }

  .timeline-item.left .timeline-card-excerpt {
    text-align: left;
  }

  .timeline-card-img {
    height: 150px;
  }

  .timeline-card-body {
    padding: 16px;
  }

  .timeline-card-title {
    font-size: 1rem;
  }

  .calculator-section {
    padding: 56px 0;
  }

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

  .calc-intro h2 {
    font-size: 1.6rem;
  }

  .calculator-box {
    padding: 24px;
  }

  .slider-section {
    padding: 56px 0;
  }

  .slider-section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .slider-section-header h2 {
    font-size: 1.6rem;
  }

  .slider-slide {
    width: 260px;
  }

  .slider-slide-img {
    height: 150px;
  }

  .gallery-section {
    padding: 56px 0;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 28px;
  }

  .gallery-header h2 {
    font-size: 1.6rem;
  }

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

  .gallery-modal-inner {
    border-radius: 10px;
    max-height: 95vh;
  }

  .gallery-modal-img {
    max-height: 50vh;
  }

  .gallery-modal-body {
    padding: 16px;
  }

  .gallery-modal-title {
    font-size: 1rem;
  }

  .gallery-modal-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .gallery-modal-prev {
    left: 8px;
  }

  .gallery-modal-next {
    right: 8px;
  }

  .newsletter-section {
    padding: 56px 0;
  }

  .newsletter-section h2 {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .savings-section {
    padding: 56px 0;
  }

  .savings-header h2 {
    font-size: 1.6rem;
  }

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

  .savings-calc-box {
    padding: 24px;
  }

  .savings-results-box {
    padding: 24px;
  }

  .savings-total-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .savings-total-value {
    font-size: 1.6rem;
  }

  .about-section {
    padding: 56px 0;
  }

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

  .about-portrait {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-portrait-badge {
    right: 0;
    bottom: -10px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 36px 14px 52px;
    gap: 24px;
  }

  .hero-title {
    font-size: 1.65rem;
    letter-spacing: -0.01em;
  }

  .hero-desc {
    font-size: 0.93rem;
  }

  .hero-label {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .hero-stat strong {
    font-size: 1.3rem;
  }

  .hero-stat span {
    font-size: 0.72rem;
  }

  .hero-stats {
    gap: 14px;
  }

  .hero-water-overlay {
    height: 40px;
  }

  .hero-article-card-img {
    height: 110px;
  }

  .hero-article-card-body {
    padding: 12px;
  }

  .hero-article-card-title {
    font-size: 0.88rem;
  }

  .filters-section {
    padding: 20px 0;
  }

  .filter-tab {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }

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

  .timeline-header-left h2 {
    font-size: 1.4rem;
  }

  .timeline-header-left p {
    font-size: 0.88rem;
  }

  .timeline-card-img {
    height: 130px;
  }

  .timeline-card-body {
    padding: 12px;
  }

  .timeline-card-title {
    font-size: 0.93rem;
  }

  .timeline-card-excerpt {
    font-size: 0.82rem;
  }

  .timeline-item {
    margin-bottom: 24px;
  }

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

  .calc-intro h2 {
    font-size: 1.4rem;
  }

  .calc-intro p {
    font-size: 0.92rem;
  }

  .calculator-box {
    padding: 18px;
    border-radius: 12px;
  }

  .calculator-box h3 {
    font-size: 1.05rem;
  }

  .calc-result-value {
    font-size: 1.3rem;
  }

  .slider-section {
    padding: 40px 0;
  }

  .slider-section-header h2 {
    font-size: 1.4rem;
  }

  .slider-slide {
    width: 230px;
  }

  .slider-slide-img {
    height: 130px;
  }

  .slider-slide-body {
    padding: 14px;
  }

  .slider-slide-title {
    font-size: 0.92rem;
  }

  .slider-slide-desc {
    font-size: 0.78rem;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .gallery-section {
    padding: 40px 0;
  }

  .gallery-header h2 {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-modal-inner {
    border-radius: 8px;
  }

  .gallery-modal-img {
    max-height: 44vh;
  }

  .gallery-modal-title {
    font-size: 0.95rem;
  }

  .gallery-modal-desc {
    font-size: 0.82rem;
  }

  .gallery-modal-close {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    top: 8px;
    right: 8px;
  }

  .gallery-modal-nav {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-section h2 {
    font-size: 1.4rem;
  }

  .newsletter-section p {
    font-size: 0.92rem;
  }

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

  .newsletter-form button {
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .savings-section {
    padding: 40px 0;
  }

  .savings-header h2 {
    font-size: 1.4rem;
  }

  .savings-header p {
    font-size: 0.92rem;
  }

  .savings-calc-box {
    padding: 18px;
    border-radius: 12px;
  }

  .savings-calc-box h3 {
    font-size: 1rem;
  }

  .savings-results-box {
    padding: 18px;
    border-radius: 12px;
  }

  .savings-results-box h3 {
    font-size: 1rem;
  }

  .savings-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
  }

  .savings-item-label {
    font-size: 0.82rem;
  }

  .savings-item-input input[type="number"] {
    width: 68px;
    font-size: 0.82rem;
  }

  .savings-total-value {
    font-size: 1.4rem;
  }

  .savings-result-item {
    padding: 12px;
    gap: 10px;
  }

  .savings-result-info strong {
    font-size: 0.92rem;
  }

  .savings-result-info p {
    font-size: 0.78rem;
  }

  .savings-tip p {
    font-size: 0.78rem;
  }

  .about-section {
    padding: 40px 0;
  }

  .about-content h2 {
    font-size: 1.4rem;
  }

  .about-content p {
    font-size: 0.92rem;
  }

  .about-tag {
    font-size: 0.76rem;
    padding: 5px 12px;
  }

  .about-portrait {
    max-width: 200px;
  }

  .about-portrait-badge {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}