/* ========================================
   CALCULATEUR SEL DE DÉNEIGEMENT
   Design system V1.2 - france-deneigement.fr
   ======================================== */

.fd-calculateur-sel {
 max-width: 1250px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #1d496f;
   } 

/* HEADER */

.fd-header-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1d496f;
    opacity: 0.6;
    font-weight: 600;
    margin-bottom: 8px;
}

.fd-calc-header {
 padding-top: 60px;
}
.fd-calc-header h1 {
  color: #1d496f;
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.2;
    padding: 0;
    border: 0;
    background: none;
    text-transform: none;
}
.fd-calc-intro {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.fd-calc-intro strong {
  color: #1D3557;
}

/* BODY */
.fd-calc-body {
  padding: 28px;
  background: #F2F2F2;
  border-radius: 8px;
}
.fd-form {
  background: #fafafa;
  padding: 24px;
  border-radius: 8px;
    margin-bottom: 20px;

}
.fd-form label {
  color: #1d496f;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
    
    
}
.fd-input-group {
  position: relative;
  margin-bottom: 14px;
}
.fd-input-group input {
  width: 100%;
  padding: 14px 60px 14px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.fd-input-group input:focus {
  outline: none;
  border-color: #1D6FA4;
  box-shadow: 0 0 0 3px rgba(29, 111, 164, 0.1);
}
.fd-input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.fd-form button {
  background: #004778;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  font-family: Arial, sans-serif;
  width: 100%;
  transition: background 0.2s;
}
.fd-form button:hover {
  background: #1D3557;
}

/* RÉSULTAT */
.fd-resultat {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 4px 20px;
  animation: fdFadeIn 0.3s ease-out;
}
@keyframes fdFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fd-resultat-title {
  color: #1D3557;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 0 20px;
  border-bottom: 2px solid #1D6FA4;
  margin-bottom: 4px;
}

/* LIGNES TABLEAU */
.fd-line {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 60px;
}
.fd-line:last-child {
  border-bottom: none;
}
.fd-line .fd-label {
  flex: 1;
  color: #555;
  font-size: 14px;
}
.fd-line .fd-value {
  color: #1D3557;
  font-size: 15px;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
}

.fd-main {
  background: #f0f4f8;
  margin: 0 -20px 8px;
  padding: 16px 20px;
  border-radius: 8px 8px 0 0;
  border-bottom: none;
  gap: 16px;
  justify-content: space-between;
}
.fd-main .fd-label {
  color: #1D3557;
  font-weight: 600;
  font-size: 14px;
}
.fd-main .fd-value {
  color: #004778;
  font-size: 20px;
  min-width: auto;
}

.fd-header-row {
  padding: 10px 0;
  border-bottom: 1px solid #1D3557;
}
.fd-header-row .fd-label,
.fd-header-row .fd-value {
  color: #1D3557;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fd-actions-spacer {
  width: 320px;
  flex-shrink: 0;
}

/* BOUTONS LIGNE */
.fd-actions {
  display: flex;
  gap: 8px;
  width: 320px;
  flex-shrink: 0;
}
.fd-btn-primary {
 display: block;
    padding: 8px 10px;
    background: #004778;
    color: #ffffff !important;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.03em;
    transition: background 0.2s;
    border: 1px solid #004778;
    box-sizing: border-box;
    cursor: pointer;
}
.fd-btn-primary:hover {
  background: #1D3557;
    border-color: #1D3557;
    text-decoration: none;
    color: #ffffff;
}
.fd-btn-secondary {
   display: block;
    padding: 8px 10px;
    background: #ffffff;
    color: #004778;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #004778;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}
.fd-btn-secondary:hover {
  background: #0090f3;
    color: #ffffff;
    text-decoration: none !important;
}
.fd-btn-full {
  flex: 1 1 100% !important;
}

/* FOOTER */

.fd-calc-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #1D3557;
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.fd-calc-cta-text {
  color: #fff;
  flex: 1;
}
.fd-calc-cta-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.fd-calc-cta-text span {
  font-size: 13px;
  color: #d8e1ec;
  font-weight: 300;
}
.fd-calc-cta-btn {
  background: #fff;
  color: #1D3557;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}
.fd-calc-cta-btn:hover {
  background: #f0f4f8;
  text-decoration: none;
}
.fd-calc-note {
  color: #888;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* BLOC SEO */
.fd-seo-block {
  max-width: 1250px;
  margin: 32px auto;
  padding: 0 18px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}
.fd-seo-block h2 {
  color: #1D3557;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.fd-seo-block h3 {
  color: #1D3557;
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
}
.fd-seo-block ul {
  padding-left: 20px;
}
.fd-seo-block li {
  margin-bottom: 6px;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .fd-calc-header,
  .fd-calc-body,
  .fd-calc-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .fd-line {
    flex-wrap: wrap;
    gap: 8px;
  }
  .fd-header-row {
    display: none;
  }
  .fd-line .fd-label {
    flex: 1 1 calc(100% - 80px);
  }
  .fd-line .fd-value {
    flex: 0 0 auto;
    min-width: auto;
  }
  .fd-actions {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 4px;
  }
  .fd-calc-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .fd-main {
    flex-wrap: wrap;
  }
  .fd-main .fd-value {
    font-size: 17px;
  }
}