﻿/* deploy-harmonise.css â€” Pinapp Â· Harmonisation globale prÃ©-dÃ©ploiement */

/* =====================================================
   Ã‰TAPE 0D â€” Labels : teal, gauche sauf hero
   ===================================================== */
.label,
[class*='label-'] {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal, #00e5cc);
  display: block;
  margin-bottom: 12px;
  text-align: left;
}
.offres-hero .label,
.hero-section .label,
[class*='-hero'] .label,
section:first-of-type > .label,
.secteur-section .label,
.pipeline-offres .label,
.calculateur-temps .label,
.garantie-section .label,
.cta-final .label {
  text-align: center;
}

/* =====================================================
   Ã‰TAPE 0E â€” Border-radius : systÃ¨me unique
   ===================================================== */
.btn-primary,
.btn-secondary,
.btn,
.filtre-pill,
.secteur-pill,
.pipeline-pill,
.univers-pill,
.offre-secteur-tag,
.tag,
.badge,
[class*='-pill'],
[class*='-tag']:not(.offre-tag) {
  border-radius: 100px !important;
}

.block,
.card,
[class*='card'],
.offre-card,
.monde-card {
  border-radius: 24px !important;
}

input,
textarea,
select {
  border-radius: 14px !important;
}

img,
picture > img {
  border-radius: 20px;
}
.nav-logo img,
.logo img,
[class*='icon'] img,
.favicon {
  border-radius: 0 !important;
}

/* =====================================================
   Ã‰TAPE 0F â€” Espacements sections (ciblÃ©, pas global)
   RÃ¨gle globale supprimÃ©e pour Ã©viter les overrides
   ===================================================== */
footer {
  padding-top: 80px;
  padding-bottom: 48px;
}

/* =====================================================
   BLOC-OR â€” classe manquante (SystÃ¨me Complet)
   ===================================================== */
.block-or {
  background:
    linear-gradient(
      135deg,
      rgba(255, 180, 40, 0.18) 0%,
      rgba(255, 210, 80, 0.09) 40%,
      transparent 70%
    ),
    rgba(20, 10, 0, 0.48);
  border-color: rgba(255, 180, 40, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 210, 80, 0.2),
    0 0 0 0.5px rgba(255, 180, 40, 0.14),
    var(--shadow-lg);
}
.block-or:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 210, 80, 0.3),
    0 0 30px rgba(255, 180, 40, 0.2),
    var(--shadow-xl);
}
body.mode-jour .block-or,
html[data-theme='light'] .block-or {
  background:
    linear-gradient(
      135deg,
      rgba(200, 140, 0, 0.12) 0%,
      rgba(220, 170, 0, 0.06) 40%,
      transparent 70%
    ),
    rgba(255, 255, 255, 0.65);
  border-color: rgba(200, 140, 0, 0.22);
}

/* =====================================================
   FIX MOBILE â€” backdrop-filter override trop agressif
   (variables.css Ã©crasait les couleurs block-* sur mobile)
   ===================================================== */
@media (max-width: 768px) {
  .block-cyan:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(0, 160, 210, 0.18) 0%,
        rgba(0, 229, 204, 0.09) 40%,
        transparent 70%
      ),
      rgba(2, 12, 22, 0.9) !important;
  }
  .block-violet:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(90, 10, 150, 0.2) 0%,
        rgba(123, 79, 232, 0.1) 40%,
        transparent 70%
      ),
      rgba(6, 4, 16, 0.9) !important;
  }
  .block-vert:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(0, 180, 100, 0.18) 0%,
        rgba(57, 224, 117, 0.09) 40%,
        transparent 70%
      ),
      rgba(0, 10, 6, 0.9) !important;
  }
  .block-ambre:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(255, 160, 50, 0.18) 0%,
        rgba(255, 200, 80, 0.09) 40%,
        transparent 70%
      ),
      rgba(16, 8, 0, 0.9) !important;
  }
  .block-or:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(255, 180, 40, 0.2) 0%,
        rgba(255, 210, 80, 0.1) 40%,
        transparent 70%
      ),
      rgba(18, 10, 0, 0.9) !important;
  }
  .block-rose:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(255, 90, 120, 0.18) 0%,
        rgba(220, 60, 90, 0.09) 40%,
        transparent 70%
      ),
      rgba(16, 2, 6, 0.9) !important;
  }
  .block-neutre:not(:nth-child(-n + 3)) {
    background: rgba(255, 255, 255, 0.06) !important;
  }
}

/* ===================================
   MODE JOUR - cartes mobiles claires
   =================================== */
@media (max-width: 768px) {
  body.mode-jour .block-cyan:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-cyan:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(0, 160, 210, 0.12) 0%,
        rgba(0, 229, 204, 0.06) 40%,
        transparent 70%
      ),
      rgba(240, 252, 255, 0.88) !important;
  }
  body.mode-jour .block-violet:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-violet:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(90, 10, 150, 0.1) 0%,
        rgba(123, 79, 232, 0.06) 40%,
        transparent 70%
      ),
      rgba(248, 240, 255, 0.88) !important;
  }
  body.mode-jour .block-vert:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-vert:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(0, 180, 100, 0.1) 0%,
        rgba(57, 224, 117, 0.05) 40%,
        transparent 70%
      ),
      rgba(240, 255, 248, 0.88) !important;
  }
  body.mode-jour .block-ambre:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-ambre:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(200, 120, 8, 0.12) 0%,
        rgba(255, 200, 80, 0.06) 40%,
        transparent 70%
      ),
      rgba(255, 252, 240, 0.88) !important;
  }
  body.mode-jour .block-or:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-or:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(180, 120, 0, 0.12) 0%,
        rgba(255, 210, 80, 0.06) 40%,
        transparent 70%
      ),
      rgba(255, 252, 235, 0.88) !important;
  }
  body.mode-jour .block-rose:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-rose:not(:nth-child(-n + 3)) {
    background:
      linear-gradient(
        135deg,
        rgba(200, 50, 80, 0.1) 0%,
        rgba(220, 60, 90, 0.05) 40%,
        transparent 70%
      ),
      rgba(255, 240, 245, 0.88) !important;
  }
  body.mode-jour .block-neutre:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block-neutre:not(:nth-child(-n + 3)) {
    background: rgba(255, 255, 255, 0.85) !important;
  }
  /* Cartes génériques mode-jour mobile */
  body.mode-jour .block:not(:nth-child(-n + 3)),
  body.mode-jour .card:not(:nth-child(-n + 3)),
  html[data-theme='light'] .block:not(:nth-child(-n + 3)),
  html[data-theme='light'] .card:not(:nth-child(-n + 3)) {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #0f1729 !important;
  }
}

/* =====================================================
   FIX RANGE INPUT â€” iOS Safari (calc slider)
   ===================================================== */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal, #00e5cc);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 229, 204, 0.4);
  border: none;
}
input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal, #00e5cc);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 229, 204, 0.4);
}
input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
}
input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
}
/* Mode jour */
body.mode-jour input[type='range'],
html[data-theme='light'] input[type='range'] {
  background: rgba(0, 0, 0, 0.12);
}
body.mode-jour input[type='range']::-webkit-slider-runnable-track,
html[data-theme='light'] input[type='range']::-webkit-slider-runnable-track {
  background: rgba(0, 0, 0, 0.12);
}
body.mode-jour input[type='range']::-webkit-slider-thumb,
html[data-theme='light'] input[type='range']::-webkit-slider-thumb {
  background: var(--teal, #009b8c);
}

/* =====================================================
   FIX SEPARATOR â€” rendre visible
   ===================================================== */
.offre-footer {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}
body.mode-jour .offre-footer {
  border-top-color: rgba(0, 0, 0, 0.1) !important;
}

/* =====================================================
   FIX OFFRE-FOOTER â€” mobile responsive
   ===================================================== */
@media (max-width: 480px) {
  .offre-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .offre-footer .btn-primary,
  .offre-footer .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .offre-footer > div:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* =====================================================
   Ã‰TAPE 1 â€” Bouton effacer donnÃ©es footer
   ===================================================== */
.footer-clear-data {
  font-size: 10px;
  color: var(--text-4, rgba(238, 248, 255, 0.3));
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.5;
  transition: opacity 200ms ease;
  padding: 0;
}
.footer-clear-data:hover {
  opacity: 1;
}

/* =====================================================
   DIAGNOSTIC â€” Intro Lauralie + crÃ©neau
   ===================================================== */
.diagnostic-intro {
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 40px;
}
.diagnostic-lauralie {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.diagnostic-photo-wrapper {
  display: block;
  border-radius: 50% !important;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.25);
}
.diagnostic-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  border-radius: 50% !important;
}
.diagnostic-lauralie-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.diagnostic-lauralie-text strong {
  font-size: 15px;
  color: var(--text);
}
.diagnostic-lauralie-text span {
  font-size: 12px;
  color: var(--text-3);
}
.diagnostic-dispo {
  color: var(--green, #39e075) !important;
  font-size: 11px !important;
}
.diagnostic-titre {
  font-family: var(--font-apple-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--text);
}
.diagnostic-bloc {
  padding: 28px;
  margin-bottom: 20px;
}
.diagnostic-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.diag-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.diag-num {
  width: 28px;
  height: 28px;
  border-radius: 50% !important;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  flex-shrink: 0;
}
.diag-step strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}
.diag-step p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0;
}
.diagnostic-pas-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.diagnostic-pas-liste li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.diagnostic-pas-liste li::before {
  content: 'Ã—';
  position: absolute;
  left: 0;
  color: rgba(220, 38, 38, 0.5);
  font-weight: 700;
}
.diagnostic-creneau {
  font-size: 13px;
  color: var(--teal);
  margin: 24px 0;
  text-align: center;
}

/* =====================================================
   A-PROPOS â€” Photo section
   ===================================================== */
.apropos-photo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 140px 24px 80px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .apropos-photo-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 24px 60px;
  }
}
.apropos-photo-wrapper {
  display: block;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 180, 216, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.35);
}
.apropos-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
}
.apropos-bio {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-2);
  margin-bottom: 24px;
  white-space: pre-line;
}
.apropos-univers-line {
  font-family: var(--font-apple-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 32px;
  line-height: 1.5;
}
