/********** Template CSS **********/
:root {
    --primary: #004AAD;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
    --ink:#0F2C4C;
    --paper:#F1F0EA;
    --surface:#FFFFFF;
    --emerald:#004AAD;
    --emerald-dark:#0F3E32;
    --gold:#B80202;
    --muted:#647069;
    --line:#E3E0D6;
    --ytam-navy:       #0B2A4A;
    --ytam-navy-deep:  #0F2C4C;
    --ytam-terracotta: #C1462F;
    --ytam-cream:      #D4CFFA;
    --ytam-sand:       #B80202;
    --ytam-charcoal:   #20242B;
    --clr-nuit:      #0F2C4C;   /* fond principal - pin/ardoise profond */
    --clr-nuit-2:    #1E3439;   /* variante panneau */
    --clr-or:        #C9A24B;  /* accent laiton/clé */
    --clr-or-clair:  #E4C97C;
    --clr-sauge:     #7FA592;  /* touche verte discrète */
    --clr-ivoire:    #F4F1EA;
    --clr-ivoire-70: rgba(244,241,234,.7);
    --clr-ivoire-40: rgba(244,241,234,.4);
}
.ytam-section{
  font-family: var(--ytam-font-body);
  color: var(--ytam-charcoal);
  background: var(--ytam-cream);
}
/*===================== Les Annoncess ===============================*/
.annonces-section{
  padding:5rem 0 6rem;
}

.section-eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--emerald);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:.6rem;
}
.section-eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:var(--gold);
  display:inline-block;
}

.section-title{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:clamp(2rem, 4vw, 3rem);
  color:var(--ink);
  margin-top:.75rem;
  letter-spacing:-0.01em;
}

.section-sub{
  color:var(--muted);
  max-width:520px;
  font-size:1rem;
  margin-top:.6rem;
}

.filter-bar{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}
.filter-pill{
  font-family:'IBM Plex Mono', monospace;
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:.5rem 1rem;
  border-radius:100px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--muted);
  font-weight:600;
}
.filter-pill.is-active{
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
}

/* Card */
.listing-card{
  background:var(--surface);
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  height:100%;
  transition:transform .35s ease, box-shadow .35s ease;
  display:flex;
  flex-direction:column;
}
.listing-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px -20px rgba(19,38,33,.28);
}

.listing-media{
  position:relative;
  height:220px;
  overflow:hidden;
}
.listing-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.listing-card:hover .listing-media img{
  transform:scale(1.06);
}

.cat-badge{
  position:absolute;
  top:14px;
  left:14px;
  font-family:'IBM Plex Mono', monospace;
  font-size:.68rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:600;
  color:#fff;
  padding:.4rem .75rem;
  border-radius:100px;
  backdrop-filter:blur(4px);
}
.cat-badge.vente{ background:rgba(31,92,76,.92); }
.cat-badge.long{ background:rgba(46,92,138,.92); }
.cat-badge.court{ background:rgba(184,86,46,.92); }

.price-tag{
  position:absolute;
  bottom:14px;
  right:14px;
  background:rgba(19,38,33,.88);
  color:#fff;
  font-family:'IBM Plex Mono', monospace;
  font-weight:600;
  font-size:.85rem;
  padding:.45rem .8rem;
  border-radius:10px;
  letter-spacing:.02em;
}
.price-tag small{
  display:block;
  font-size:.6rem;
  color:var(--gold);
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.listing-body{
  padding:1.35rem 1.4rem 1.5rem;
  display:flex;
  flex-direction:column;
  gap:.85rem;
  flex-grow:1;
}

.listing-location{
  display:flex;
  align-items:baseline;
  gap:.4rem;
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:1.15rem;
  color:var(--ink);
}
.listing-location .quartier{
  font-family:'Manrope',sans-serif;
  font-weight:500;
  font-size:.9rem;
  color:var(--muted);
}

.listing-type{
  font-size:.78rem;
  font-weight:600;
  color:var(--emerald-dark);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.listing-specs{
  display:flex;
  gap:1.25rem;
  padding-top:.6rem;
  border-top:1px dashed var(--line);
  font-size:.85rem;
  color:var(--muted);
}
.listing-specs span i{
  color:var(--gold);
  margin-right:.35rem;
}
.listing-specs strong{
  color:var(--ink);
  font-family:'IBM Plex Mono', monospace;
  font-weight:600;
}

.listing-cta{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight:700;
  font-size:.88rem;
  color:var(--emerald-dark);
  text-decoration:none;
  padding-top:.3rem;
}
.listing-cta i{
  transition:transform .25s ease;
}
.listing-cta:hover{
  color:var(--gold);
}
.listing-cta:hover i{
  transform:translateX(5px);
}

.filter-pill{
  cursor:pointer;
  user-select:none;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}

[data-category]{
  transition:opacity .25s ease;
}
[data-category].is-hidden{
  display:none;
}

.empty-state{
  display:none;
  text-align:center;
  padding:3rem 1rem;
  color:var(--muted);
  font-family:'IBM Plex Mono', monospace;
  font-size:.85rem;
}
.empty-state.is-visible{
  display:block;
}
/*===================== Les Statistiques ===============================*/


/* ===== Section conteneur ===== */
.stats-section{
  background:
    radial-gradient(circle at 15% 10%, rgba(201,162,75,.10), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(127,165,146,.10), transparent 45%),
    var(--clr-nuit);
  color: var(--clr-ivoire);
  padding: 6rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

/* trousseau de clés dessiné en filigrane — signature visuelle */
.stats-section::before{
  content:"";
  position:absolute;
  top:-60px; right:-60px;
  width:340px; height:340px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='34' cy='34' r='16' fill='none' stroke='%23C9A24B' stroke-width='2.2'/%3E%3Ccircle cx='34' cy='34' r='6' fill='none' stroke='%23C9A24B' stroke-width='2.2'/%3E%3Cline x1='45' y1='45' x2='90' y2='90' stroke='%23C9A24B' stroke-width='2.2'/%3E%3Cline x1='75' y1='75' x2='84' y2='66' stroke='%23C9A24B' stroke-width='2.2'/%3E%3Cline x1='82' y1='82' x2='91' y2='73' stroke='%23C9A24B' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity:.16;
  transform: rotate(12deg);
  pointer-events:none;
}

.stats-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-family: var(--font-corps);
  font-weight:700;
  font-size:.75rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: var(--clr-or-clair);
  margin-bottom:.9rem;
}
.stats-eyebrow::before{
  content:"";
  width:28px; height:1px;
  background: var(--clr-or-clair);
  display:inline-block;
}

.stats-title{
  font-family: var(--font-display);
  font-weight:600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  color: var(--clr-ivoire);
  max-width: 640px;
  margin-bottom: .75rem;
}

.stats-subtitle{
  color: var(--clr-ivoire-70);
  max-width: 520px;
  font-size: 1.02rem;
  line-height:1.6;
}

/* ===== Grille de cartes ===== */
.stats-grid{
  margin-top: 3.2rem;
}

.stats-card{
  position:relative;
  height:100%;
  padding: 2.4rem 1.8rem 2rem;
  border-radius: 4px;
  background: rgba(244,241,234,.03);
  border: 1px solid rgba(244,241,234,.12);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.stats-card:hover{
  transform: translateY(-6px);
  border-color: rgba(201,162,75,.55);
  background: rgba(244,241,234,.05);
}

/* liseré doré qui se dessine au survol — discret, cohérent avec le filigrane */
.stats-card::after{
  content:"";
  position:absolute;
  left:1.8rem; right:1.8rem; bottom:0;
  height:2px;
  background: linear-gradient(90deg, var(--clr-or), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.stats-card:hover::after{ transform: scaleX(1); }

.stats-icon{
  width: 46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border: 1px solid rgba(201,162,75,.5);
  color: var(--clr-or-clair);
  margin-bottom: 1.6rem;
}
.stats-icon svg{ width:22px; height:22px; }

.stats-number{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 2.9rem;
  line-height:1;
  color: var(--clr-ivoire);
  display:flex;
  align-items: baseline;
  gap:.15rem;
}
.stats-number .stats-suffix{
  font-size: 1.5rem;
  color: var(--clr-or-clair);
}

.stats-label{
  margin-top:.9rem;
  font-size: .92rem;
  font-weight:600;
  letter-spacing:.03em;
  color: var(--clr-ivoire-70);
  text-transform: uppercase;
}

.stats-divider-sm{
  width: 30px; height: 2px;
  background: var(--clr-sauge);
  margin-top: .9rem;
  opacity:.7;
}

@media (max-width: 767.98px){
  .stats-section{ padding: 4.5rem 0; text-align:center; }
  .stats-eyebrow, .stats-title, .stats-subtitle{ margin-left:auto; margin-right:auto; }
  .stats-eyebrow{ justify-content:center; }
  .stats-icon{ margin-left:auto; margin-right:auto; }
  .stats-divider-sm{ margin-left:auto; margin-right:auto; }
}

@media (prefers-reduced-motion: reduce){
  .stats-card, .stats-card::after{ transition:none; }
}

/* ---------------- HERO CAROUSEL ---------------- */

.ytam-hero{
  position: relative;
  margin-bottom: 0;
}

.ytam-hero .carousel-item{
  height: 92vh;
  min-height: 560px;
  max-height: 760px;
}

.ytam-hero-media{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ytam-hero-scrim{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,27,49,.55) 0%, rgba(7,27,49,.25) 38%, rgba(7,27,49,.78) 100%);
}

.ytam-hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.ytam-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ytam-font-body);
  font-size: 1.78rem;
  font-weight: 700;
  font-weight:bold;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ytam-sand);
  margin-bottom: 1.1rem;
}

.ytam-eyebrow::before{
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ytam-sand);
}

.ytam-hero-title{
  font-family: var(--ytam-font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.1;
  color: #fff;
  max-width: 780px;
  margin-bottom: 1.1rem;
}

.ytam-hero-subtitle{
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,.86);
  max-width: 520px;
  margin-bottom: 0;
}

/* custom indicators — vertical pills, right edge */
.ytam-hero .carousel-indicators{
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  left: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  flex-direction: column;
  margin: 0;
  gap: .6rem;
}

.ytam-hero .carousel-indicators [data-bs-target]{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.45);
  border: none;
  opacity: 1;
  transition: all .35s ease;
}

.ytam-hero .carousel-indicators .active{
  height: 26px;
  border-radius: 5px;
  background-color: var(--ytam-sand);
}

/* custom prev/next controls */
.ytam-hero-nav{
  position: absolute;
  bottom: clamp(2rem, 5vw, 3.25rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 3;
}

@media (min-width: 992px){
  .ytam-hero-nav{
    left: auto;
    right: clamp(1.1rem, 3.8vw, 3.35rem);
    bottom: auto;
    top: 50%;
    transform: translateY(calc(-50% + 110px));
    flex-direction: column;
  }
}

.ytam-hero-nav button{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .25s ease, transform .25s ease;
}

.ytam-hero-nav button:hover{
  background: var(--ytam-terracotta);
  border-color: var(--ytam-terracotta);
  transform: translateY(-2px);
}

/* ---------------- SECTION PROPRIÉTAIRE ---------------- */

.ytam-owner{
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.ytam-owner-card{
  position: relative;
  background: var(--ytam-navy);
  background-image:
    radial-gradient(circle at 88% 12%, rgba(201,162,75,.16), transparent 45%);
  border-radius: 22px;
  overflow: visible;
  padding: clamp(2.25rem, 4vw, 3.75rem) clamp(1.75rem, 4vw, 4rem);
}

.ytam-owner-eyebrow{
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ytam-sand);
  margin-bottom: .9rem;
}

.ytam-owner-title{
  font-family: var(--ytam-font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.22;
  color: #fff;
  margin-bottom: 1.1rem;
  max-width: 560px;
}

.ytam-owner-text{
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 0;
}

.ytam-owner-divider{
  border-color: rgba(255,255,255,.14);
  margin: 1.75rem 0;
}

.ytam-btn-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  color: var(--ytam-navy-deep);
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.ytam-btn-whatsapp i{
  font-size: 1.15rem;
  color: #25D366;
  transition: color .25s ease;
}

.ytam-btn-whatsapp:hover{
  background: var(--ytam-terracotta);
  color: #fff;
  transform: translateY(-2px);
}

.ytam-btn-whatsapp:hover i{
  color: #fff;
}

/* Signature element — étiquette de clé / "key tag" */
.ytam-key-tag{
  position: absolute;
  top: -22px;
  right: clamp(1.5rem, 6vw, 5rem);
  width: 132px;
  background: var(--ytam-cream);
  border-radius: 10px;
  padding: 1.1rem .9rem .9rem;
  text-align: center;
  transform: rotate(5deg);
  box-shadow: 0 14px 28px rgba(7,27,49,.35);
}

.ytam-key-tag::before{
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ytam-cream);
  box-shadow: inset 0 0 0 3px var(--ytam-navy);
}

.ytam-key-tag i{
  font-size: 1.4rem;
  color: var(--ytam-terracotta);
  margin-bottom: .35rem;
  display: block;
}

.ytam-key-tag span{
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ytam-navy-deep);
  line-height: 1.25;
}

.ytam-trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2rem;
}

.ytam-trust-item{
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
}

.ytam-trust-item i{
  color: var(--ytam-sand);
  font-size: 1.05rem;
}

@media (max-width: 991.98px){
  .ytam-key-tag{ display: none; }
}
.ytam-about{
  font-family: var(--ytam-font-body);
  color: var(--ytam-charcoal);
  background: var(--ytam-cream);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.ytam-about-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ytam-terracotta);
  margin-bottom: 1.1rem;
}

.ytam-about-eyebrow::before{
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ytam-terracotta);
}

.ytam-about-title{
  font-family: var(--ytam-font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.2;
  color: var(--ytam-navy-deep);
  margin-bottom: 1.4rem;
  max-width: 620px;
}

.ytam-about-text{
  font-size: 1.03rem;
  line-height: 1.75;
  color: #4B5259;
  max-width: 560px;
  margin-bottom: 2rem;
  text-align:justify;
}

.ytam-feature-list{
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ytam-feature-list li{
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ytam-navy-deep);
}

.ytam-feature-list .ytam-feature-icon{
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(193,70,47,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ytam-terracotta);
  font-size: 1.05rem;
}

.ytam-feature-list span{
  font-weight: 400;
  color: #565D64;
  display: block;
  font-size: .9rem;
  margin-top: .15rem;
}

.ytam-btn-primary{
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: var(--ytam-navy);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 1.7rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.ytam-btn-primary i{
  font-size: 1.1rem;
  color: var(--ytam-sand);
}

.ytam-btn-primary:hover{
  background: var(--ytam-terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------------- Visual column ---------------- */

.ytam-about-visual{
  position: relative;
  min-height: 460px;
}

.ytam-about-frame{
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: var(--ytam-navy);
  transform: translate(22px, 22px);
}

.ytam-about-img-wrap{
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(7,27,49,.22);
}

.ytam-about-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Signature element — badge d'expertise flottant */
.ytam-badge{
  position: absolute;
  left: -18px;
  bottom: -18px;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 34px rgba(7,27,49,.18);
  min-width: 230px;
}

.ytam-badge-icon{
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ytam-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ytam-badge-icon i{
  color: var(--ytam-sand);
  font-size: 1.35rem;
}

.ytam-badge-value{
  font-family: var(--ytam-font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ytam-navy-deep);
  line-height: 1;
}

.ytam-badge-label{
  font-size: .78rem;
  font-weight: 600;
  color: #6B7178;
  margin-top: .25rem;
}

@media (max-width: 991.98px){
  .ytam-about-frame{ transform: translate(14px, 14px); }
  .ytam-about-visual{ min-height: 380px; margin-top: 2rem; }
  .ytam-badge{ left: 16px; bottom: -22px; padding: 1rem 1.2rem; min-width: 200px; }
}
.ytam-services{
  font-family: var(--ytam-font-body);
  color: var(--ytam-charcoal);
  background: #fff;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.ytam-services-header{
  max-width: 640px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.ytam-services-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ytam-terracotta);
  margin-bottom: 1.1rem;
}

.ytam-services-eyebrow::before,
.ytam-services-eyebrow::after{
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ytam-terracotta);
}

.ytam-services-title{
  font-family: var(--ytam-font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--ytam-navy-deep);
  margin-bottom: 1rem;
}

.ytam-services-lead{
  font-size: 1.02rem;
  line-height: 1.7;
  color: #5B6167;
  margin-bottom: 0;
}

/* ---------------- Cards ---------------- */

.ytam-service-card{
  position: relative;
  height: 100%;
  background: #D4CFFA; /*var(--ytam-cream);*/
  border-radius: 16px;
  padding: 2.1rem 1.75rem 1.85rem;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.ytam-service-card::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--ytam-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.ytam-service-card:hover{
  background: var(--ytam-navy);
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(7,27,49,.16);
}

.ytam-service-card:hover::after{
  transform: scaleX(1);
}

.ytam-service-icon{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--ytam-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: background .3s ease;
}

.ytam-service-icon i{
  font-size: 1.5rem;
  color: var(--ytam-sand);
}

.ytam-service-card:hover .ytam-service-icon{
  background: var(--ytam-terracotta);
}

.ytam-service-card:hover .ytam-service-icon i{
  color: #fff;
}

.ytam-service-title{
  font-family: var(--ytam-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ytam-navy-deep);
  margin-bottom: .65rem;
  transition: color .3s ease;
}

.ytam-service-card:hover .ytam-service-title{
  color: #fff;
}

.ytam-service-text{
  font-size: .92rem;
  line-height: 1.6;
  color: #62686F;
  margin-bottom: 0;
  transition: color .3s ease;
  text-align:justify;
}

.ytam-service-card:hover .ytam-service-text{
  color: rgba(255,255,255,.75);
}

@media (prefers-reduced-motion: reduce){
  .ytam-service-card,
  .ytam-service-icon,
  .ytam-service-title,
  .ytam-service-text,
  .ytam-service-card::after{
    transition: none;
  }
}
/*======================================== Commentaire ========================================*/
.section-eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--emerald);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:.6rem;
}
.section-eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:var(--gold);
  display:inline-block;
}

.section-title{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:clamp(2rem, 4vw, 3rem);
  color:var(--ink);
  margin-top:.75rem;
  letter-spacing:-0.01em;
}

.section-sub{
  color:var(--muted);
  max-width:520px;
  font-size:1rem;
  margin-top:.6rem;
}

/* Score global */
.score-card{
  background:var(--ink);
  color:var(--paper);
  border-radius:18px;
  padding:1.8rem 1.6rem;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:.5rem;
}
.score-value{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:3.2rem;
  line-height:1;
}
.score-value sup{
  font-size:1.1rem;
  color:var(--gold);
  font-weight:600;
  top:-1.4rem;
}
.score-stars i{
  color:var(--gold);
  font-size:.85rem;
}
.score-count{
  font-family:'IBM Plex Mono', monospace;
  font-size:.75rem;
  color:#A9B7B0;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.score-bar-row{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-family:'IBM Plex Mono', monospace;
  font-size:.7rem;
  color:#A9B7B0;
}
.score-bar-track{
  flex-grow:1;
  height:4px;
  background:rgba(255,255,255,.15);
  border-radius:10px;
  overflow:hidden;
}
.score-bar-fill{
  height:100%;
  background:var(--gold);
  border-radius:10px;
}

/* Carousel */
.comments-carousel{
  height:100%;
}
.carousel-inner{
  border-radius:18px;
  height:100%;
}

.comment-slide{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:2.2rem 2.4rem;
  min-height:320px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:1.4rem;
}

.quote-mark{
  font-family:'Fraunces', serif;
  font-size:3.5rem;
  line-height:1;
  color:var(--gold);
  opacity:.5;
}

.comment-text{
  color:var(--ink);
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:1.25rem;
  line-height:1.5;
  margin-top:-1.6rem;
}

.comment-stars i{
  color:var(--gold);
  font-size:.72rem;
}

.comment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1rem;
  padding-top:1rem;
  border-top:1px dashed var(--line);
}

.comment-author-row{
  display:flex;
  align-items:center;
  gap:.85rem;
}

.comment-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
.comment-author{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:1rem;
  color:var(--ink);
  line-height:1.2;
}
.comment-meta{
  font-size:.78rem;
  color:var(--muted);
}

.comment-tags{
  text-align:right;
  font-family:'IBM Plex Mono', monospace;
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.03em;
}
.comment-property{
  color:var(--emerald-dark);
  font-weight:600;
  display:block;
}

/* Contrôles personnalisés */
.carousel-controls-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:1.4rem;
}

.carousel-indicators-custom{
  display:flex;
  gap:.4rem;
}
.carousel-indicators-custom button{
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:var(--line);
  padding:0;
  transition:background .2s ease, width .2s ease;
}
.carousel-indicators-custom button.active{
  background:var(--gold);
  width:22px;
  border-radius:6px;
}

.carousel-nav-buttons{
  display:flex;
  gap:.6rem;
}
.carousel-nav-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.carousel-nav-btn:hover{
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
}
/** ======================================== les annonces ==================================*/
/*
.annonces-section{
  padding:5rem 0 6rem;
}

.section-eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:.75rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--emerald);
  font-weight:600;
  display:flex;
  align-items:center;
  gap:.6rem;
}
.section-eyebrow::before{
  content:"";
  width:28px;
  height:2px;
  background:var(--gold);
  display:inline-block;
}

.section-title{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:clamp(2rem, 4vw, 3rem);
  color:var(--ink);
  margin-top:.75rem;
  letter-spacing:-0.01em;
}

.section-sub{
  color:var(--muted);
  max-width:520px;
  font-size:1rem;
  margin-top:.6rem;
}

.filter-bar{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}
.filter-pill{
  font-family:'IBM Plex Mono', monospace;
  font-size:.72rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:.5rem 1rem;
  border-radius:100px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--muted);
  font-weight:600;
}
.filter-pill.is-active{
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
}

/* Card */
.listing-card{
  background:var(--surface);
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  height:100%;
  transition:transform .35s ease, box-shadow .35s ease;
  display:flex;
  flex-direction:column;
}
.listing-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px -20px rgba(19,38,33,.28);
}

.listing-media{
  position:relative;
  height:220px;
  overflow:hidden;
}
.listing-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.listing-card:hover .listing-media img{
  transform:scale(1.06);
}

.cat-badge{
  position:absolute;
  top:14px;
  left:14px;
  font-family:'IBM Plex Mono', monospace;
  font-size:.68rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:600;
  color:#fff;
  padding:.4rem .75rem;
  border-radius:100px;
  backdrop-filter:blur(4px);
}
.cat-badge.vente{ background:rgba(31,92,76,.92); }
.cat-badge.long{ background:rgba(46,92,138,.92); }
.cat-badge.court{ background:rgba(184,86,46,.92); }

.price-tag{
  position:absolute;
  bottom:14px;
  right:14px;
  background:rgba(19,38,33,.88);
  color:#fff;
  font-family:'IBM Plex Mono', monospace;
  font-weight:600;
  font-size:.85rem;
  padding:.45rem .8rem;
  border-radius:10px;
  letter-spacing:.02em;
}
.price-tag small{
  display:block;
  font-size:.6rem;
  color:var(--gold);
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.listing-body{
  padding:1.35rem 1.4rem 1.5rem;
  display:flex;
  flex-direction:column;
  gap:.85rem;
  flex-grow:1;
}

.listing-location{
  display:flex;
  align-items:baseline;
  gap:.4rem;
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:1.15rem;
  color:var(--ink);
}
.listing-location .quartier{
  font-family:'Manrope',sans-serif;
  font-weight:500;
  font-size:.9rem;
  color:var(--muted);
}

.listing-type{
  font-size:.78rem;
  font-weight:600;
  color:var(--emerald-dark);
  text-transform:uppercase;
  letter-spacing:.04em;
}

.listing-specs{
  display:flex;
  gap:1.25rem;
  padding-top:.6rem;
  border-top:1px dashed var(--line);
  font-size:.85rem;
  color:var(--muted);
}
.listing-specs span i{
  color:var(--gold);
  margin-right:.35rem;
}
.listing-specs strong{
  color:var(--ink);
  font-family:'IBM Plex Mono', monospace;
  font-weight:600;
}

.listing-cta{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight:700;
  font-size:.88rem;
  color:var(--emerald-dark);
  text-decoration:none;
  padding-top:.3rem;
}
.listing-cta i{
  transition:transform .25s ease;
}
.listing-cta:hover{
  color:var(--gold);
}
.listing-cta:hover i{
  transform:translateX(5px);
}*/
/*==============================================================================
 *
 *============================= Mes css ========================================
 *
 *==============================================================================*/
.text-justify{
  text-align:justify;
}
.img-appart{
  with:300px;
  height:200px;
  /*object-fit: cover;
  object-position: center;*/
  background:red;
}
.img-appart img{
  with:300px;
  height:200px;
  object-fit: cover;
  object-position: center;
}
.ytam-owern{
  write:90%:
  height:250px;
  background:#004AAD;
  padding:20px;
  text-align:center;
}
.ytam-owern p{
  color:#fff;
  font-size:25px;
}
.ytam-owern hr{
  color:#fff;
  background:#fff;
}
.text-red-ytam{
  color:#B60202;
}
.text-bleu-ytam{
  color:#004AAD;
}
.bgtam-light{
  background:#BEDFFA !important;
}
 /*==============================================================================*/
.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn.btn-black{
  background:#000000;
  color:#fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.top-bar {
    height: 75px;
    padding: 0 4rem;
}

.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg_header.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}


/*** Service ***/
.service-item-top img {
    transition: .5s;
}

.service-item-top:hover img {
    transform: scale(1.1);
}

.service-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.service-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    transition: .5s;
}

.service-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Booking ***/
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-text {
    height: 90px;
    overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}

.team-item .team-text .bg-primary {
    flex-direction: row;
}

.team-item:hover .team-text .bg-light {
    margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;

}

.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}
