/* =============================================================================
   ANNONCE.CSS — Page annonce dédiée · Keymojo
   Tokens : #046053 vert, #ff7348 corail, #f7f0ea beige, border-radius 1.8rem
============================================================================= */

/* ─────────────────────────────────────────────────────────────────────────────
   BREADCRUMB + BOUTON RETOUR
───────────────────────────────────────────────────────────────────────────── */
.annonce-breadcrumb {
  background: #fff;
  border-bottom: 1px solid rgba(4, 96, 83, 0.1);
  padding: 0.8rem 0;
  position: sticky;
  top: 6.9rem; /* sous la nav fixe (69px) */
  z-index: 40;
  backdrop-filter: blur(8px);
}

.annonce-breadcrumb-inner {
  max-width: 134rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Bouton retour — pill teal */
.annonce-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #046053;
  color: #fff;
  border: none;
  border-radius: 10rem;
  padding: 0.6rem 1.4rem 0.6rem 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.15s;
  letter-spacing: -0.01em;
}

.annonce-back-btn:hover {
  background: #034a3f;
  transform: translateX(-2px);
}

.annonce-back-btn svg {
  width: 1.6rem;
  height: 1.6rem;
}


/* ─────────────────────────────────────────────────────────────────────────────
   GALERIE PHOTOS
───────────────────────────────────────────────────────────────────────────── */
.annonce-gallery {
  background: #f7f0ea; /* beige page — révèle les angles arrondis du swiper */
  overflow: visible;
  position: relative;
  padding: 1.6rem 2rem 0;
}

/* Photo unique */
.annonce-gallery-single {
  width: 100%;
  max-width: 134rem;
  margin: 0 auto;
  height: clamp(28rem, 58vh, 64rem);
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
}

.annonce-gallery-img-unique {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Swiper galerie — hauteur généreuse */
.annonce-swiper {
  width: 100%;
  max-width: 134rem;
  margin: 0 auto;
  height: clamp(28rem, 58vh, 64rem);
  border-radius: 1.6rem 1.6rem 0 0;
  overflow: hidden;
}

/* Fond flouté + photo en dimensions naturelles */
.annonce-gallery-slide {
  position: relative;
  overflow: hidden;
}

.annonce-slide-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  filter: blur(28px);
  transform: scale(1.15);
}

.annonce-gallery-slide-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Boutons navigation gauche/droite */
.annonce-swiper-prev,
.annonce-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #046053;
  box-shadow: 0 2px 16px rgba(0,0,0,0.22);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}

.annonce-swiper-prev { left: 2rem; }
.annonce-swiper-next { right: 2rem; }

.annonce-swiper-prev:hover,
.annonce-swiper-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}

.annonce-swiper-prev svg,
.annonce-swiper-next svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Pagination dots */
.annonce-swiper-pagination {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
}

.annonce-swiper-pagination .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.annonce-swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.35);
}

/* Compteur photos (coin bas-droit) */
.annonce-photo-counter {
  position: absolute;
  bottom: 1.6rem;
  right: 2rem;
  z-index: 10;
  background: rgba(0,0,0,0.52);
  color: #fff;
  border-radius: 10rem;
  padding: 0.4rem 1rem 0.4rem 0.8rem;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}

.annonce-photo-counter svg {
  width: 1.4rem;
  height: 1.4rem;
  opacity: 0.85;
}

/* Thumbnails strip */
.annonce-gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem 2rem;
  background: rgba(247, 240, 234, 0.78);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 134rem;
  margin: 0 auto;
  border-radius: 0 0 1.2rem 1.2rem;
}

.annonce-gallery-thumbs::-webkit-scrollbar { display: none; }

.annonce-thumb-btn {
  flex-shrink: 0;
  width: 8rem;
  height: 5.6rem;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.18s, opacity 0.18s, transform 0.15s;
  opacity: 0.5;
  background: none;
}

.annonce-thumb-btn.active,
.annonce-thumb-btn:hover {
  border-color: #ff7348;
  opacity: 1;
  transform: scale(1.04);
}

.annonce-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT PRINCIPAL — 2 colonnes
───────────────────────────────────────────────────────────────────────────── */
.annonce-main {
  background: #f7f0ea;
  min-height: 50vh;
  padding-bottom: 10rem; /* espace pour la barre mobile */
}

.annonce-layout {
  max-width: 134rem;
  margin: 0 auto;
  padding: 3.2rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: start;
}

@media (min-width: 960px) {
  .annonce-layout {
    grid-template-columns: 1fr 40rem;
    gap: 3.2rem;
    padding-top: 4rem;
  }

  .annonce-main {
    padding-bottom: 6rem;
  }
}

@media (min-width: 1280px) {
  .annonce-layout {
    grid-template-columns: 1fr 44rem;
    gap: 4rem;
    padding-top: 4rem;
  }
}

@media (min-width: 1440px) {
  .annonce-layout {
    grid-template-columns: 1fr 46rem;
    gap: 5rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   COLONNE GAUCHE
───────────────────────────────────────────────────────────────────────────── */

/* En-tête annonce */
.annonce-header {
  margin-bottom: 1.4rem;
}

.annonce-title {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 800;
  color: #046053;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.annonce-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.45rem;
  color: #666;
  font-weight: 500;
}

.annonce-location svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke: #ff7348;
}

/* Badges */
.annonce-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.annonce-badge {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 10rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.annonce-badge--type     { background: #e8f4f1; color: #046053; }
.annonce-badge--location  { background: #fff3ee; color: #e85e38; }
.annonce-badge--coloc     { background: #f0eaff; color: #5e3fb3; }
.annonce-badge--dispo     { background: #f0f9f7; color: #046053; border: 1px solid rgba(4,96,83,0.2); }

/* Prix — visible sur mobile uniquement (avant le sticky panel) */
.annonce-price-mobile {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.6rem 2rem;
  margin-bottom: 2.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-left: 4px solid #046053;
}

.annonce-price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #046053;
  letter-spacing: -0.02em;
}

.annonce-price-period {
  font-size: 1.6rem;
  color: #666;
  font-weight: 500;
}

.annonce-price-detail {
  width: 100%;
  font-size: 1.3rem;
  color: #999;
  margin-top: 0.2rem;
}

/* Toujours masqué — le prix est affiché dans le panneau sticky (ordre -1 sur mobile) */
.annonce-price-mobile { display: none !important; }

/* Titre de section générique */
.annonce-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #046053;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid rgba(4,96,83,0.12);
  letter-spacing: -0.01em;
}

/* ─── Caractéristiques — 4 cards avec pastille inclinée (identique modal) ─── */
.annonce-specs {
  margin-bottom: 2.4rem;
}

/* Grille 2×2 */
.listing-modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 2rem;
  margin-top: 2rem;
}

/* Card individuelle */
.listing-modal-specs-section {
  position: relative;
  background: #fff;
  border-radius: 1.4rem;
  padding: 3.6rem 2rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Pastille inclinée — vert par défaut */
.listing-modal-specs-pill {
  position: absolute;
  top: -1.2rem;
  left: 1.6rem;
  background: #046053;
  color: #fff;
  border-radius: 10rem;
  padding: 0.45rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transform: rotate(-2deg);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(4, 96, 83, 0.22);
}

/* Code couleur par section */
.specs-color--vert   .listing-modal-specs-pill { background: #046053; box-shadow: 0 3px 10px rgba(4, 96, 83, 0.22); }
.specs-color--corail .listing-modal-specs-pill { background: #ff7348; box-shadow: 0 3px 10px rgba(255, 115, 72, 0.28); }
.specs-color--violet .listing-modal-specs-pill { background: #7B52B5; box-shadow: 0 3px 10px rgba(123, 82, 181, 0.28); }
.specs-color--bleu   .listing-modal-specs-pill { background: #1A7EC8; box-shadow: 0 3px 10px rgba(26, 126, 200, 0.28); }

/* Grille de lignes à l'intérieur de chaque card */
.listing-modal-specs-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1.6rem;
}

.listing-modal-specs-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.listing-modal-spec-label {
  font-size: 1rem;
  font-weight: 600;
  color: #9db8b4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.listing-modal-spec-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #046053;
}

/* DPE / GES — taille et couleurs alignées sur logements.css */
.dpe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.dpe-A, .dpe-B { background: #00a550; color: #fff; }
.dpe-C { background: #6dc048; color: #046053; }
.dpe-D { background: #ffda00; color: #046053; }
.dpe-E { background: #f7941d; color: #fff; }
.dpe-F, .dpe-G { background: #ed1c24; color: #fff; }

/* Responsive — 1 colonne sur mobile */
@media (max-width: 600px) {
  .listing-modal-specs-grid { grid-template-columns: 1fr; }
  .listing-modal-specs-rows { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Description ─── */
.annonce-description {
  background: #fff;
  border-radius: 1.6rem;
  padding: 2.4rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Description — rubriques structurées par thème */
.listing-modal-description {
  margin-bottom: 0;
}

.desc-section {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgba(4, 96, 83, 0.09);
}

.desc-section:last-child { border-bottom: none; }

.desc-section-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.desc-section-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desc-section-icon img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.desc-section--intro .desc-section-icon       { background: rgba(4, 96, 83, 0.10);    color: #046053; }
.desc-section--description .desc-section-icon { background: rgba(4, 96, 83, 0.10);    color: #046053; }
.desc-section--conditions .desc-section-icon  { background: rgba(123, 82, 181, 0.12); color: #7B52B5; }
.desc-section--financier .desc-section-icon   { background: rgba(255, 115, 72, 0.12); color: #ff7348; }
.desc-section--energie .desc-section-icon     { background: rgba(26, 126, 200, 0.12); color: #1A7EC8; }
.desc-section--honoraires .desc-section-icon  { background: rgba(4, 96, 83, 0.10);    color: #046053; }
.desc-section--conclusion .desc-section-icon  { background: transparent; }

.desc-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}
.desc-section--description .desc-section-title { color: #046053; }
.desc-section--conditions .desc-section-title  { color: #7B52B5; }
.desc-section--financier .desc-section-title   { color: #ff7348; }
.desc-section--energie .desc-section-title     { color: #1A7EC8; }
.desc-section--honoraires .desc-section-title  { color: #046053; }
.desc-section--conclusion .desc-section-title  { color: #046053; }

.desc-section-body {
  flex: 1;
  min-width: 0;
  /* Taille de base du contenu d'annonce : aligne le texte "nu" (ajouts manuels
     hors <p>/<li>) sur les paragraphes et les puces, sinon il hérite d'une taille
     par défaut plus petite -> incohérence de police signalée par Keymojo. */
  font-size: 1.5rem;
  line-height: 1.75;
  color: #3d5c58;
}

.desc-section-body p {
  font-size: 1.5rem;
  line-height: 1.75;
  color: #3d5c58;
  margin: 0 0 1rem;
}

.desc-section-body p:last-child { margin-bottom: 0; }

.desc-section-body strong {
  font-weight: 700;
  color: #1a2e2b;
}

.desc-greeting {
  color: #ff7348;
  font-weight: 700;
}

.desc-ref {
  margin-top: 1rem !important;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(4, 96, 83, 0.15);
  font-size: 1.3rem !important;
  color: #9db8b4 !important;
}

.desc-ref strong {
  color: #9db8b4 !important;
  font-weight: 600;
}

.modal-desc-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.modal-desc-list li {
  font-size: 1.5rem;
  line-height: 1.65;
  color: #3d5c58;
  padding-left: 1.6rem;
  position: relative;
}

.modal-desc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #046053;
}

.desc-section--conditions .modal-desc-list li::before { background: #7B52B5; }
.desc-section--financier .modal-desc-list li::before  { background: #ff7348; }
.desc-section--energie .modal-desc-list li::before    { background: #1A7EC8; }

/* Chips — équipements / annexes / POI sur une seule ligne Odoo (bullets inline) */
.modal-desc-chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-top: 0.6rem;
}
.modal-desc-chips li {
  padding: 0.25rem 0.9rem;
  background: rgba(4, 96, 83, 0.07);
  border-radius: 2rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  color: #1a3c38;
}
.modal-desc-chips li::before {
  display: none;
}
.desc-section--conditions .modal-desc-chips li {
  background: rgba(123, 82, 181, 0.09);
  color: #5a3d8a;
}
.desc-section--financier .modal-desc-chips li {
  background: rgba(255, 115, 72, 0.09);
  color: #b53e22;
}
.desc-section--energie .modal-desc-chips li {
  background: rgba(26, 126, 200, 0.09);
  color: #1a5c8c;
}

/* ─── Lien retour listing (bas de colonne) ─── */
.annonce-back-link {
  margin-bottom: 2.4rem;
}

.annonce-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #046053;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 10rem;
  border: 1.5px solid rgba(4,96,83,0.25);
  transition: border-color 0.18s, background 0.18s;
}

.annonce-back-link a:hover {
  border-color: #046053;
  background: #f0f9f7;
}

.annonce-back-link svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   COLONNE DROITE — Panneau sticky
───────────────────────────────────────────────────────────────────────────── */
.annonce-col-right {
  order: -1; /* Avant la colonne gauche sur mobile */
}

@media (min-width: 960px) {
  .annonce-col-right {
    order: 0;
    align-self: stretch; /* la colonne droite s'étire à la hauteur du contenu gauche → sticky fonctionne sur toute la page */
  }

  .annonce-sticky-panel {
    position: sticky;
    top: 13rem; /* nav 6.9rem + breadcrumb ~3.8rem + marge */
    max-height: calc(100vh - 15rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(4,96,83,0.2) transparent;
  }
}

.annonce-sticky-panel {
  background: #fff;
  border-radius: 2rem;
  padding: 3rem 2.8rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.1);
  border: 1px solid rgba(4,96,83,0.08);
}

/* Prix panneau */
.annonce-panel-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.annonce-panel-price-amount {
  font-size: 3.6rem;
  font-weight: 800;
  color: #046053;
  letter-spacing: -0.03em;
  line-height: 1;
}

.annonce-panel-price-period {
  font-size: 1.6rem;
  color: #666;
  font-weight: 500;
}

.annonce-panel-price-detail {
  font-size: 1.3rem;
  color: #999;
  margin-bottom: 0.3rem;
}

/* Disponibilité */
.annonce-panel-dispo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #046053;
  background: #f0f9f7;
  border-radius: 0.8rem;
  padding: 0.9rem 1.2rem;
  margin-top: 1.2rem;
}

.annonce-panel-dispo svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.annonce-panel-divider {
  height: 1px;
  background: rgba(4,96,83,0.1);
  margin: 2.2rem 0;
}

/* Bouton CTA candidature */
.annonce-btn-candidater {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #046053;
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 1.6rem 2rem;
  font-size: 1.6rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  font-family: inherit;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(4,96,83,0.28);
}

.annonce-btn-candidater:hover {
  background: #034a3f;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(4,96,83,0.36);
}

.annonce-btn-candidater svg {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}

/* Formulaire révélé */
.annonce-candidature-form-wrapper {
  margin-top: 2.2rem;
}

.annonce-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #046053;
  margin-bottom: 1.6rem;
}

.annonce-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.annonce-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.annonce-form-field label {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.annonce-form-field input {
  border: 1.5px solid #ddd;
  border-radius: 0.9rem;
  padding: 1rem 1.4rem;
  font-size: 1.4rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.18s, background 0.18s;
  outline: none;
}

.annonce-form-field input:focus {
  border-color: #046053;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(4,96,83,0.08);
}

.annonce-form-field.has-error input {
  border-color: #e03e3e;
  box-shadow: 0 0 0 3px rgba(224,62,62,0.08);
}

.annonce-field-error {
  display: none;
  font-size: 1.2rem;
  color: #e03e3e;
  font-weight: 600;
}

.annonce-form-field.has-error .annonce-field-error {
  display: block;
}

/* Honeypot (invisible) */
.candidature-honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  pointer-events: none;
}

/* Bouton soumettre */
.annonce-form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.4rem;
}

.annonce-btn-submit {
  width: 100%;
  background: #ff7348;
  color: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 1.4rem 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(255,115,72,0.3);
}

.annonce-btn-submit:hover:not(:disabled) {
  background: #e85e38;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,115,72,0.38);
}

.annonce-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.annonce-rgpd {
  font-size: 1.15rem;
  color: #aaa;
  line-height: 1.5;
}

.annonce-rgpd a { color: #046053; }

/* Téléphone */
.annonce-panel-tel {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(4,96,83,0.1);
}

.annonce-panel-tel-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #046053;
  text-decoration: none;
}

.annonce-panel-tel-link:hover { text-decoration: underline; }

.annonce-panel-tel-link svg {
  width: 1.6rem;
  height: 1.6rem;
}

.annonce-panel-tel-label {
  font-size: 1.2rem;
  color: #aaa;
  text-align: right;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BARRE CTA FIXE MOBILE
───────────────────────────────────────────────────────────────────────────── */
.annonce-mobile-bar {
  display: none; /* masqué par défaut sur desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid rgba(4,96,83,0.15);
  padding: 1.2rem 2rem 1.4rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.annonce-mobile-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.annonce-mobile-bar-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-shrink: 0;
}

.annonce-mobile-bar-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #046053;
  letter-spacing: -0.02em;
}

.annonce-mobile-bar-period {
  font-size: 1.3rem;
  color: #888;
  font-weight: 500;
}

.annonce-mobile-bar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #046053;
  color: #fff;
  border: none;
  border-radius: 1rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex: 1;
  max-width: 24rem;
  box-shadow: 0 4px 14px rgba(4,96,83,0.3);
  transition: background 0.18s;
}

.annonce-mobile-bar-cta:hover { background: #034a3f; }

.annonce-mobile-bar-cta svg {
  width: 1.6rem;
  height: 1.6rem;
}

@media (max-width: 959px) {
  .annonce-mobile-bar {
    display: flex;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   POPUP SUCCÈS
───────────────────────────────────────────────────────────────────────────── */
.candidature-success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.candidature-success-popup.open {
  opacity: 1;
  pointer-events: auto;
}

.candidature-success-box {
  background: #fff;
  border-radius: 2rem;
  padding: 3.2rem 2.8rem;
  max-width: 50rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 60px rgba(0,0,0,0.2);
}

.candidature-success-icon {
  width: 6rem;
  height: 6rem;
  background: #e8f4f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
}

.candidature-success-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: #046053;
}

.candidature-success-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #046053;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.candidature-success-subtitle {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.candidature-success-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}

.candidature-success-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #f7f0ea;
  border-radius: 1rem;
  padding: 1.4rem;
}

.candidature-success-step--alert { background: #fff3ee; }

.step-num {
  width: 2.8rem;
  height: 2.8rem;
  background: #046053;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
}

.candidature-success-step--alert .step-num { background: #ff7348; }

.step-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.step-body strong {
  font-size: 1.4rem;
  color: #046053;
}

.step-body span {
  font-size: 1.3rem;
  color: #666;
}

.candidature-success-contact {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 1.8rem;
}

.candidature-success-phone {
  color: #046053;
  font-weight: 700;
  text-decoration: none;
}

.candidature-success-close {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #046053;
  color: #fff;
  border: none;
  border-radius: 10rem;
  padding: 1.2rem 2.8rem;
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s;
  box-shadow: 0 4px 14px rgba(4,96,83,0.28);
}

.candidature-success-close:hover { background: #034a3f; }

.candidature-success-close svg {
  width: 1.8rem;
  height: 1.8rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE MOBILE
───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 959px) {
  .annonce-gallery        { padding: 1rem 1rem 0; }
  .annonce-swiper         { height: clamp(22rem, 55vw, 32rem); border-radius: 1.2rem 1.2rem 0 0; }
  .annonce-gallery-single { height: clamp(22rem, 55vw, 32rem); border-radius: 1.2rem; }
  .annonce-gallery-thumbs { padding: 0.6rem 1.2rem; border-radius: 0 0 0.8rem 0.8rem; }
  .annonce-thumb-btn      { width: 6rem; height: 4.4rem; }

  .annonce-sticky-panel {
    border-radius: 1.4rem;
    padding: 2.2rem 2rem;
  }

  .annonce-panel-price-amount { font-size: 3rem; }

  .annonce-layout { padding: 2rem 1.6rem 0; gap: 2rem; }
}

@media (max-width: 480px) {
  .annonce-title { font-size: 2rem; }
  .annonce-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .annonce-panel-price-amount { font-size: 2.6rem; }
  .annonce-swiper-prev { left: 1rem; }
  .annonce-swiper-next { right: 1rem; }
  .annonce-swiper-prev,
  .annonce-swiper-next {
    width: 4rem;
    height: 4rem;
  }
  .annonce-sticky-panel { padding: 1.8rem 1.6rem; }
  .annonce-mobile-bar { padding: 1rem 1.6rem 1.2rem; }
}
