/* ---------- VARIABLES & BASE ---------- */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  }

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

   body.mp100 {
    color: var(--text);
    background: var(--bg);
  }

  .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
  }
@media (min-width: 1240px) {
  .container {
    width: 1240px;
  }
}

  /* Top bar */
.top-bar {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  z-index: 1;
  position: relative;
  margin-top: -15px;
}
@media (max-width: 768px) {
.top-bar {
  top: 470px;
  margin-top: 0;
}
}

  .top-bar a {
    color: white;
    text-decoration: underline;
    font-family: "CenturyGothicBold";
  }

  /* Hero */
  .hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 48px 20px 56px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-family: "CenturyGothicBold";
    line-height: 1.3;
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .lead {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 580px;
    margin: 0 auto 28px;
  }

.content-badge {
  position: absolute;
  bottom: -10px;
  text-align: center;
  width: 100%;
}
@media (max-width: 768px) {
.content-badge {
  bottom: 9.5%;
}
}

.price-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: "Manrope",sans-serif;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
}
@media (max-width: 768px) {
.price-badge {
  padding: 5px 20px;
  border-radius: 25px;
  font-weight: 500;
}
}

.price-badge a, .price-badge a:hover {
  color: white;
}

  .cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
  }

  .btn-primary {
    background: white;
    color: var(--primary);
  }

  .btn-primary:hover {
    background: #eff6ff;
    transform: translateY(-1px);
  }

  .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
  }

  .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
  }

  /* Layout principal + sidebar */
  .page-layout {
    display: flex;
    gap: 50px;
    padding: 40px 0 60px;
    align-items: flex-start;
	font-size: 14px;
  	line-height: 22px;
  }
@media (max-width: 768px) {
  .page-layout {
	font-size: 16px;
	line-height: 24px;
  }
}
@media (max-width: 900px) {
  .page-layout {
	flex-direction: column;
    }
}

.page-layout .main-content {
    flex: 1;
    min-width: 0;
  }

.page-layout .sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }
@media (max-width: 900px) {
  .page-layout .sidebar {
      width: 100%;
      position: static;
      order: 0;
    }
}

/* Formulaire sidebar */
.page-layout .form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 22px 18px;
}

.page-layout .form-card h3 {
  font-size: 16.8px;
  font-family: "CenturyGothicBold";
  color: var(--primary);
  margin: 0 0 6px;
  text-align: center;
  font-weight:normal;
}
@media (max-width: 768px) {
.page-layout .form-card h3 {
  font-size: 22px;
}
}

.page-layout .form-card .form-sub {
  font-size: 13.12px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
.page-layout .form-card .form-sub {
  font-size: 15px;
}
}

.page-layout .form-group {
  margin-bottom: 12px;
}

.page-layout .form-group label {
  display: block;
  font-size: 12px;
  font-weight: normal;
  font-family: "CenturyGothicBold";
  color: var(--primary);
  margin-bottom: 4px;
}
@media (max-width: 768px) {
.page-layout .form-group label {
  font-size: 16px;
}
}

.page-layout .form-group input,
.page-layout .form-group select,
.page-layout .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}
@media (max-width: 768px) {
.page-layout .form-group input,
.page-layout .form-group select,
.page-layout .form-group textarea {
  font-size: 17px;
  background: #fafafa;
}
}

.page-layout .form-group input:focus,
.page-layout .form-group select:focus,
.page-layout .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

.page-layout .form-group textarea {
  resize: vertical;
  min-height: 105px;
}

.page-layout .btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-family: "CenturyGothicBold";
  font-weight: normal;
  font-size: 15.2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}
@media (max-width: 768px) {
.page-layout .btn-submit {
  font-size: 17px;
}
}

.page-layout .btn-submit:hover {
  background: var(--primary-dark);
}

.page-layout .form-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}
@media (max-width: 768px) {
.page-layout .form-note {
  font-size: 14px;
}
}

.page-layout .phone-box {
  margin-top: 16px;
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.page-layout .phone-box a {
  display: block;
  font-size: 18.4px;
  font-family: "CenturyGothicBold";
  color: var(--primary);
  text-decoration: none;
}
@media (max-width: 768px) {
.page-layout .phone-box a {
  font-size: 20px;
}
}

.page-layout .phone-box span {
  font-size: 12.48px;
  color: var(--text-light);
}

  /* Sections */
.page-layout section {
    margin-bottom: 48px;
  }

.page-layout h2 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  font-family: "CenturyGothicBold";
}
@media (max-width: 768px) {
  .page-layout h2 {
	font-size: 24px;
  }
}

.page-layout h3 {
    font-size: 18px;
	font-family: "CenturyGothicBold";
    font-weight: normal;
    margin: 28px 0 12px;
    color: var(--primary-dark);
  }

.page-layout p {
    margin-bottom: 14px;
    color: var(--text);
  }

.page-layout .highlight-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 18px 22px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
  }

.page-layout .highlight-box strong {
    color: var(--primary-dark);
  }

  /* Table */
.page-layout .table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
    margin: 20px 0;
  }

.page-layout table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

.page-layout th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 14px 18px;
  font-family: "CenturyGothicBold";
  font-weight: normal;
}

.page-layout td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
  }

.page-layout tr:last-child td {
    border-bottom: none;
  }

.page-layout tr:nth-child(even) {
    background: #f8fafc;
  }

.page-layout .price {
    font-family: "CenturyGothicBold";
    color: var(--primary);
    font-size: 14px;
  }

  /* Cards */
.page-layout .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }

.page-layout .card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

.page-layout .card h3 {
  margin-top: 0;
  font-size: 17px;
  color: var(--primary);
  font-family: "CenturyGothicBold";
  font-weight: normal;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .page-layout .card h3 {
	font-size: 19px;
  }
}

.page-layout .card .amount {
    font-size: 20px;
    font-family: "CenturyGothicBold";
    color: var(--text);
    margin: 8px 0;
  }
@media (max-width: 768px) {
  .page-layout .card .amount {
	font-size: 22px;
  }
}

.page-layout .card .Samount {
  font-size: 13px;
  color: var(--text-light);
}
@media (max-width: 768px) {
.page-layout .card .Samount {
  font-size: 15px;
}
}

.page-layout .card ul {
    list-style: none;
    margin-top: 12px;
  }

.page-layout .card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-light);
  }
@media (max-width: 768px) {
.page-layout .card li {
    font-size: 16px;
  }
}

.page-layout .card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-family: "CenturyGothicBold";
  }

.page-layout .card .info {
  margin: 0;
  display: inline-block;
  background: var(--primary-light);
  border-radius: 25px;
  text-align: center;
  padding: 2px 10px;
  font-size: 11px;
  color: var(--primary);
  line-height: 18px;
}

.page-layout .card .info a {
  color: var(--primary);
}

.page-layout .card .info a:hover {
  text-decoration: underline;
}

/* Checklist */
.page-layout .checklist {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.page-layout .checklist ol {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 8px;
  counter-reset: step;
}

.page-layout .checklist ol li {
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 12px;
  line-height: 23px;
  list-style: none;
}

.page-layout .checklist ol li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: -1px;
  width: 25px;
  height: 25px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: "CenturyGothicBold";
}

  /* Benefits */
.page-layout .benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
  }

.page-layout .benefit {
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
  }

.page-layout .benefit-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
    font-family: "CenturyGothicBold";
  }
@media (max-width: 768px) {
  .page-layout .benefit-icon {
    font-size: 27px;
    width: 55px;
    height: 55px;
  }
}

.page-layout .benefit .Stxt {
	font-size:13px;
	margin-top:6px;
	color:var(--text-light)
  }
@media (max-width: 768px) {
.page-layout .benefit .Stxt {
	font-size:15px;
  }
}

  /* Testimonial */
.page-layout .testimonial {
    background: var(--white);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    font-style: italic;
    color: var(--text-light);
  }

.page-layout .testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: normal;
  color: var(--text);
  font-family: "CenturyGothicBold";
}

  /* FAQ */
.page-layout .faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

.page-layout .faq-item summary {
    padding: 16px 20px;
    font-weight: normal;
	font-family: "CenturyGothicBold";
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

.page-layout .faq-item summary::-webkit-details-marker {
    display: none;
  }

.page-layout .faq-item summary::after {
    content: "+";
    font-size: 20px;
    color: var(--primary);
    font-weight: 400;
  }

.page-layout .faq-item[open] summary::after {
    content: "−";
  }

.page-layout .faq-item p {
    padding: 0 20px 16px;
    margin: 0;
    color: var(--text-light);
	line-height: 25px;
  }

  /* Final CTA */
.page-layout .final-cta {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  text-align: center;
  padding: 15px 25px;
  border-radius: var(--radius);
  margin-top: 12px;
  margin-bottom: 0;
}

.page-layout .final-cta h2 {
  color: white;
  margin-bottom: 12px;
}

.page-layout .final-cta p {
  opacity: 0.95;
  margin-bottom: 18px;
}

.page-layout .phone {
    font-size: 1.55rem;
    font-family: "CenturyGothicBold";
    letter-spacing: 0.5px;
  }

  /* Zones */
.page-layout .zones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }

.page-layout .zone-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
  }
@media (max-width: 768px) {
.page-layout .zone-tag {
    font-size: 14px;
  }
}

.page-layout .note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 32px;
    text-align: center;
  }

  /* Responsive */
  @media (max-width: 900px) {
  .page-layout .form-card {
      max-width: 420px;
      margin: 0 auto;
    }
  }

  @media (max-width: 600px) {
  .page-layout .hero {
      padding: 36px 16px 44px;
    }
  .page-layout .cards {
      grid-template-columns: 1fr;
    }
  .page-layout .cta-group {
      flex-direction: column;
    }
  .page-layout .btn {
      width: 100%;
    }
  }

/* ---------- LAYOUT PAGE (content + sidebar) ---------- */
/* Conteneur principal */
.page-layout {
  display: flex;
  flex-direction: column;   /* toujours en colonne */
  gap: 40px;
  padding: 40px 0 0;
}

/* Zone deux colonnes */
.page-layout .content-with-sidebar {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.page-layout .main-content {
  flex: 1;
  min-width: 0;
}

.page-layout .sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

/* Tarifs toujours en pleine largeur */
.page-layout .tarifs-methodes {
  width: 100%;
}

/* Mobile */
@media (max-width: 900px) {
  .page-layout .content-with-sidebar {
    flex-direction: column;
  }

  .page-layout .sidebar {
    width: 100%;
    position: static;
    order: 2;                 /* si besoin d’ordre précis */
  }

  .page-layout .main-content {
    order: 1;
  }

  .page-layout .tarifs-methodes {
    order: 3;
  }
}

/* ---------- POPUP FORMULAIRE ---------- */
.form-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.form-popup.active {
    opacity: 1;
    visibility: visible;
}
.form-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.55);
    backdrop-filter: blur(4px);
}
.form-popup-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    max-width: 420px;
    width: 92%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.form-popup.active .form-popup-content {
    transform: translateY(0);
}
.form-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.form-popup-close:hover { color: var(--navy); }
.form-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}
.form-popup-icon.success { background: #e8f5e9; color: #2e7d32; }
.form-popup-icon.error   { background: #fdecea; color: #c62828; }
.form-popup-content h3 {
    font-size: 22px;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
#popupMessage {
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}
#popupMessage ul {
    text-align: left;
    margin: 0.75rem 0 0 1.2rem;
    padding: 0;
}
#popupMessage li { margin-bottom: 0.35rem; }
.form-popup-btn { min-width: 140px; }

/* Champs désactivés après succès */
#contactFormSide.sent input,
#contactFormSide.sent select,
#contactFormSide.sent textarea {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
}
#contactFormSide.sent .form-submit {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- OVERRIDE BANNER (mp7) ---------- */
.mp7 #header-banner {
  height: 270px;
  margin-top: 0;
  margin-bottom: 25px;
  top: 0;
  width: 100%;
}
@media (max-width: 768px) {
.mp7 #header-banner {
  height: 600px;
  margin-top: -150px;
  margin-bottom: 0;
}
}