/* -------------------------------------------------------
   Fonts (local)
------------------------------------------------------- */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("./assets/fonts/BricolageGrotesque.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Nunito Sans";
    src: url("./assets/fonts/NunitoSans.ttf") format("truetype");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
  }
  
  /* -------------------------------------------------------
     Base
  ------------------------------------------------------- */
  :root {
    /* Backgrounds */
    --bg-1: #07284B;          /* bleu Greencity */
    --bg-2: #0A345E;          /* bleu dérivé un peu plus lumineux */
  
    /* Text */
    --ink: rgba(255, 255, 255, 0.94);
    --muted: rgba(255, 255, 255, 0.68);
    --line: rgba(255, 255, 255, 0.10);
  
    /* Accents / branding */
    --accent: #D9C4A0;        /* doré clair Greencity */
    --primary: #0F4C81;       /* bleu action (CTA) */
    --primary-2: #0A3E6A;     /* bleu action foncé */
  
    /* Cards */
    --card: rgba(255, 255, 255, 0.08);
    --card-2: rgba(255, 255, 255, 0.14);
  
    /* UI */
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
  
    /* Shadows */
    --shadow-lg: 0 18px 55px rgba(7, 40, 75, 0.55);
    --shadow-md: 0 12px 30px rgba(7, 40, 75, 0.35);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    margin: 0;
    font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #0b0f18;
  }
  
  /* -------------------------------------------------------
     Layout
  ------------------------------------------------------- */
  .page {
    min-height: 100vh;
    padding: 24px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(1200px 700px at 20% 20%, rgba(117, 148, 255, 0.20), transparent 55%), linear-gradient(135deg, var(--bg-1), var(--bg-2));
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .hero {
    position: relative;
    width: min(1220px, 100%);
    min-height: 640px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: radial-gradient(1200px 700px at 20% 20%, rgba(117, 148, 255, 0.20), transparent 55%),
      linear-gradient(135deg, var(--bg-1), var(--bg-2));
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  /* Subtle grid */
  /*.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.35;
    pointer-events: none;
  } */
  
  /* Waves / purple ribbons */
  .hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  
  .hero__bg::before,
  .hero__bg::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 70%;
    left: -20%;
    border-radius: 999px;
    filter: blur(0px);
    opacity: 0.9;
  }
  
  .hero__bg::before {
    top: -30%;
    background: radial-gradient(
      closest-side,
      rgba(15, 76, 129, 0.45),
      rgba(15, 76, 129, 0) 70%
    );
    transform: rotate(-6deg);
  }
  
  .hero__bg::after {
    bottom: -38%;
    background: radial-gradient(
      closest-side,
      rgba(217, 196, 160, 0.30),
      rgba(217, 196, 160, 0) 70%
    );
    transform: rotate(8deg);
  }
  
  /* -------------------------------------------------------
     Top bar
  ------------------------------------------------------- */
  .hero__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 34px 12px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  
  .brand img {
    display: block;
    height: 144px;
    width: auto;
    opacity: 0.95;
  }
  
  .brand__partner img {
    height: 48px;
    opacity: 0.92;
  }

  .brand__client img {
    height: 48px;
    opacity: 0.92;
  }
  
  /* -------------------------------------------------------
     Content grid
  ------------------------------------------------------- */
  .hero__content {
    position: relative;
    z-index: 2;
    padding: 18px 34px 34px;
    display: grid;
    grid-template-columns: 1.20fr 0.80fr;
    gap: 6px;
    align-items: flex-start;
  }
  
  .hero__left {
    position: relative;
    padding-right: 40px;
    padding-top:60px;
  }
  
  .hero__title {
    margin: 0 0 10px;
    font-family: "Bricolage Grotesque", "Nunito Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }
  
  .text-accent {
    color: var(--accent);
    text-shadow: 0 0 0 rgba(0,0,0,0);
  }
  
  .hero__subtitle {
    margin: 0 0 14px;
    font-size: 30px;
    color: var(--muted);
    font-weight: 100;
    font-family: 'Nunito Sans';
  }
  
  .hero__lead {
    margin: 0 0 18px;
    font-family:'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.1;
    color: rgba(255, 255, 255, 1);
  }
  
  /* -------------------------------------------------------
     Buttons
  ------------------------------------------------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    padding: 10px 16px;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
    user-select: none;
    white-space: nowrap;
    cursor:pointer;
  }
      
  .btn--primary{
    position: relative;
    background: linear-gradient(180deg, #62BA82, #4FA46F);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(98, 186, 130, 0.35);
    transition:
      background .18s ease,
      box-shadow .18s ease,
      filter .18s ease;
  }
  
  .btn--primary:hover{
    background: linear-gradient(180deg, #6FC996, #62BA82);
    filter: brightness(1.03);
    box-shadow:
      0 9px 30px rgba(98, 186, 130, 0.35),
      0 0 0 4px rgba(98, 186, 130, 0.22);
  }

  
  .btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 9px 14px;
  }
  
  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.09);
  }
  
  /* -------------------------------------------------------
     Actions + bonus line
  ------------------------------------------------------- */
  .hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  
  .hero__bonus {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }
  
  .hero__bonusIcon {
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url("./assets/img/emoji-gift.png") center/contain no-repeat;
  }
  .hero__bonusIcon::before{ content:""; }
  
  .hero__textLink{
    color:#fff;
  }

  /* -------------------------------------------------------
     Proof points
  ------------------------------------------------------- */
  .hero__proof {
    list-style: none;
    padding: 0;
    margin: 14px 0 18px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
  }
  
  .hero__proofItem {
    position: relative;
    padding-left: 14px;
  }
  
  .hero__proofItem::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.70);
  }

  /* -------------------------------------------------------
   En ce moment
------------------------------------------------------- */

.hero__current{
    width: min(420px, 100%);
    margin-top:62px;
    background: #ffffff;
    color: #0b1c3f;
    border-radius: 18px;
    padding: 12px 18px 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
    position:relative;
  }
  
  
  .hero__currentContent h3{
    margin: 8px 0 12px;
    font-family: "Bricolage Grotesque";
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    position: relative;
    padding-left: 17px; /* place pour le point */
  }
  
  /* le point vert */
  .hero__currentContent h3::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.33em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2fd36b;
    box-shadow: 0 0 0 0 rgba(47, 211, 107, 0.6);
    animation: pulseGreen 1.8s infinite;
  }

  @keyframes pulseGreen {
    0% {
      box-shadow: 0 0 0 0 rgba(47, 211, 107, 0.6);
    }
    70% {
      box-shadow: 0 0 0 6px rgba(47, 211, 107, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(47, 211, 107, 0);
    }
  }

  .hero__currentContent h3 span{
    color:var(--accent);
    font-weight: 600;
    font-size:16px;
  }
  
  
  .hero__currentContent ul{
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
  }
  
  .hero__currentContent li{
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
  }
  
  .hero__currentContent li strong{
    font-weight: 800;
    color: var(--accent);
  }
  
  .hero__currentContent li span{
    color: #1c2b55;
    line-height: 1.35;
    font-weight: 600;
    font-family: 'Bricolage Grotesque';
  }
  
  .hero__currentNote{
    margin: 8px 0 0;
    font-size: 12px;
    color: #5f6c94;
  }
  
  /* -------------------------------------------------------
     Contact card
  ------------------------------------------------------- */
  .contactCard {
    width: min(260px, 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 12px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    margin-top: 60px;
  }
  
  .contactCard__hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
    text-align: right;
  }
  
  .contactCard__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .contactCard__person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  
  .contactCard__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
  }
  
  .contactCard__infos {
    display: grid;
    gap: 2px;
    text-align: left;
  }
  
  .contactCard__name {
    margin: 0;
    font-weight: 600;
    font-size: 20px;
    font-family: 'Bricolage Grotesque';
  }
  .contactCard__name span {
    font-weight: 900;
    color:var(--accent);
  }
  
  .contactCard__phone {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.02em;
    font-size: 22px;
    font-family: 'Bricolage Grotesque';
  }
  
  .contactCard__phone:hover {
    text-decoration: underline;
  }
  .contactCard__cta{
    margin-top:10px;
  }
  /* Cursor + hover plus visible */
.btn { cursor: pointer; }


/* Bouton slim */
.btn--slim{
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

/* Variante “light” (fond clair pour contraster) */
.btn--light{
  background: rgba(255,255,255,0.92);
  color: rgba(10,18,35,0.92);
  border: 1px solid rgba(10,18,35,0.08);
}
.btn--light:hover{
  background: rgba(255,255,255,0.98);
}

/* Icônes Phosphor dans boutons */
.btn i.ph{
  font-size: 18px;
  line-height: 1;
}

.hero__currentCta{
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #4f7cff, #6a5cff);
    box-shadow: 0 10px 26px rgba(79,124,255,.45);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }
  
  .hero__currentCta i{
    font-size: 16px;
  }
  
  .hero__currentCta:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(79,124,255,.6);
    filter: brightness(1.05);
  }
  /* -------------------------
   Right column (clean)
------------------------- */
.hero__right{
    display: grid;
    grid-template-rows: auto auto;
    justify-items: end; /* desktop */
    align-content: start;
    width: 100%;
  }
  
  /* Le carousel doit avoir une largeur stable */
  .residences{
    width: 520px;       /* fixe desktop */
    max-width: 100%;
  }
  /* -------------------------
   Résidences (2 cards)
------------------------- */
.residences{
    width: 520px;      /* comme avant */
    max-width: 100%;
  }
  
  .residences__head{
    margin-bottom: 12px;
  }
  
  .residences__title{
    margin: 0 0 6px;
    font-family: "Bricolage Grotesque";
    font-size: 16px;
    font-weight: 700;
  }
  
  .residences__subtitle{
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
  }
  
  .residences__grid{
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 28px;
  }
  
  /* Responsive */
  @media (max-width: 560px){
    .residences__grid{
      grid-template-columns: 1fr;
    }
    .residenceCard__media{
      height: 240px;
    }
  }
  /* -------------------------
     Card résidence
  ------------------------- */
  .residenceCard{
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  }
  .residenceCard:nth-child(2){
    margin-left:40px;
  }
  .residenceCard:nth-child(1){
    margin-right:40px;
  }
  
  .residenceCard__media{
    position: relative;
    height: 240px;
    background: rgba(255,255,255,0.06);
  }
  
  .residenceCard__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .residenceCard__overlay{
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 14px 12px;
    color: #fff;
    background: linear-gradient(
      to top,
      rgba(7, 40, 75, 0.92),
      rgba(7, 40, 75, 0.45) 55%,
      rgba(7, 40, 75, 0) 100%
    );
  }
  
  .residenceCard__title{
    margin: 0 0 6px;
    font-family: "Bricolage Grotesque";
    font-weight: 800;
    font-size: 29px;
    line-height: 1.1;
  }
  
  .residenceCard__note{
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
  }
  
  .residenceCard__meta{
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.72);
  }
  
  .residenceCard__below{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  
  .residenceCard__belowLabel{
    font-size: 11px;
    color: rgba(255,255,255,0.65);
  }
  .residenceCard__belowValue{
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,0.92);
  }
  
  /* Dots (hors controls) */
  .embla__dots{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .embla__dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,0.26);
    cursor: pointer;
    padding: 0;
  }
  .embla__dot.is-selected{ background: var(--accent); }
  
  /* Responsive */
  @media (max-width: 980px){
    .hero__right{
      justify-items: center;
    }
    .residences{
      width: min(520px, 100%);
    }
    .contactCard{
      width: min(520px, 100%);
    }
  }
  
  @media (max-width: 560px){
    .residenceCard__media{ height: 260px; }
    .embla__slide{ padding-left: 10px; }
  }
  
  /* -------------------------------------------------------
     Responsive
  ------------------------------------------------------- */
  @media (max-width: 980px) {
  .page{
    padding: 18px;
  }

  .hero{
    min-height: auto;
  }

  .hero__top{
    padding: 18px 22px 10px;
  }

  .brand img{
    height: 110px;
  }

  .brand__partner img{
    height: 40px;
  }

  .brand__client img{
    height: 40px;
  }

  .hero__content{
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    padding: 14px 22px 22px;
  }

  .hero__left{
    padding-right: 0;
  }

  .hero__right{
    justify-items: center;
    gap: 18px;
  }

  .contactCard{
    width: min(520px, 100%);
  }

  .contactCard__hint{
    text-align: left;
  }

  .hero__current{
    width: min(520px, 100%);
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .page{
    padding: 12px;
  }

  .contactCard__inner{
    justify-content:flex-start;
  }

  .hero__top{
    padding: 14px 14px 8px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand{
    gap: 12px;
  }

  .brand img{
    height: 84px;
  }

  .brand__client img{
    height: 34px;
  }

  .brand__partner img{
    height: 34px;
  }
  
  .hero__content{
    padding: 12px 14px 16px;
    gap: 20px;
  }

  .hero__title{
    font-size: 26px;
    line-height: 1.15;
  }
  .hero__title br{
    display: none;
  }
  .hero__subtitle{
    font-size: 20px;
  }

  .hero__lead{
    font-size: 16px;
    line-height: 1.35;
  }

  .hero__actions{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero__actions .btn, .hero__current .btn{
    width: 100%;
    justify-content: center;
  }

  .hero__proof{
    gap: 12px;
  }

  .hero__current{
    width: 100%;
    margin-top: 16px;
    padding: 12px 14px 14px;
  }

  .hero__currentContent li{
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero__proofItem {
    padding-left:5px;
  }

  .hero__proofItem::before {
    display: none;
  }

  .hero__currentContent li strong{
    justify-self: start;
  }

  .hero__currentCta{
    width: 100%;
    justify-content: center;
  }

  .contactCard{
    width: 100%;
    padding: 14px;
  }

  .contactCard__person{
    align-items: center;
  }

  .contactCard__phone{
    font-size: 18px;
  }

  .contactCard__cta{
    width: 100%;
    justify-content: center;
  }
}