/*
 * Le Cercle 127 — Accueil v7.3.22
 * La plume 127 transparente devient la porte principale. Aucun traitement de carte n'est appliqué.
 */

.home .i127-home-hero .i127-home-hero__grid{
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.72fr);
  gap:clamp(30px,5vw,72px);
  align-items:center;
}

.home .i127-home-hero .i127-home-hero__copy,
.home .i127-home-sigil-shell{
  min-width:0;
}

/* H1 : trois idées distinctes, sans effet affiche. */
.home .i127-home-hero .i127-hero-title{
  max-width:none;
  margin:0 0 20px;
  font-size:clamp(2.10rem,3.05vw,3.20rem) !important;
  line-height:1.06 !important;
  letter-spacing:-.018em;
  font-weight:500;
  text-wrap:balance;
}

.home .i127-home-hero .i127-hero-title span{
  display:block;
  white-space:nowrap;
}

.home .i127-home-hero .i127-hero-title span + span{
  margin-top:.08em;
}

.home .i127-home-hero .lead{
  max-width:650px;
  font-size:clamp(1rem,1.05vw,1.08rem);
  line-height:1.68;
}

.home .i127-home-hero .kicker{
  font-size:.70rem;
  line-height:1.35;
  letter-spacing:.17em;
}

/* Porte principale : le logo, et seulement le logo. */
.i127-home-sigil-shell{
  position:relative;
  z-index:3;
  width:min(100%,410px);
  justify-self:end;
  text-align:center;
}

.i127-home-sigil{
  display:grid;
  justify-items:center;
  gap:15px;
  color:#f3ede2;
  text-decoration:none;
  outline:none;
}

.i127-home-sigil__media{
  position:relative;
  display:grid;
  place-items:center;
  width:clamp(220px,25vw,330px);
  aspect-ratio:1;
  overflow:visible;
  border:0;
  border-radius:50%;
  background:transparent;
  box-shadow:none;
  isolation:isolate;
  transition:transform .3s ease,filter .3s ease;
}

/* Halo uniquement lumineux : aucune plaque, aucun carré, aucun cadre de carte. */
.i127-home-sigil__media::before{
  content:"";
  position:absolute;
  inset:14%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(226,189,118,.11) 0%,rgba(98,80,118,.07) 48%,transparent 72%);
  filter:blur(14px);
  opacity:.78;
  transition:opacity .3s ease,transform .3s ease;
}

.i127-home-sigil__media::after{
  content:"";
  position:absolute;
  inset:2%;
  z-index:-1;
  border-radius:50%;
  border:1px solid rgba(226,189,118,.10);
  opacity:.42;
  pointer-events:none;
}

.i127-home-sigil__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  transform:none;
  filter:drop-shadow(0 16px 28px rgba(0,0,0,.22)) drop-shadow(0 0 18px rgba(226,189,118,.08));
  transition:transform .38s ease,filter .38s ease;
}

.i127-home-sigil__label{
  display:grid;
  gap:3px;
}

.i127-home-sigil__label strong{
  color:#f4ecd9;
  font:600 clamp(1.30rem,2vw,1.62rem)/1.05 "Cormorant Garamond",Georgia,serif;
}

.i127-home-sigil__label small{
  color:#aaa6b3;
  font:.68rem/1.35 "Manrope",Arial,sans-serif;
  letter-spacing:.06em;
}

.i127-home-sigil:hover .i127-home-sigil__media,
.i127-home-sigil:focus-visible .i127-home-sigil__media{
  transform:translateY(-3px) scale(1.025);
  filter:brightness(1.035);
}

.i127-home-sigil:hover .i127-home-sigil__media img,
.i127-home-sigil:focus-visible .i127-home-sigil__media img{
  transform:scale(1.035) rotate(-.35deg);
  filter:drop-shadow(0 18px 34px rgba(0,0,0,.24)) drop-shadow(0 0 24px rgba(226,189,118,.16));
}

.i127-home-sigil:focus-visible{
  border-radius:50%;
  box-shadow:0 0 0 2px rgba(226,189,118,.22);
}

.i127-home-sigil__links{
  display:flex;
  justify-content:center;
  gap:22px;
  margin-top:19px;
}

.i127-home-sigil__links a{
  position:relative;
  padding:5px 2px 8px;
  color:#aaa6b3;
  font:.72rem/1.2 "Manrope",Arial,sans-serif;
  letter-spacing:.04em;
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}

.i127-home-sigil__links a::after{
  content:"";
  position:absolute;
  left:20%;
  right:20%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(226,189,118,.48),transparent);
  transform:scaleX(.55);
  transition:transform .2s ease;
}

.i127-home-sigil__links a:hover,
.i127-home-sigil__links a:focus-visible{
  color:#f2e5c7;
  transform:translateY(-1px);
}

.i127-home-sigil__links a:hover::after,
.i127-home-sigil__links a:focus-visible::after{
  transform:scaleX(1);
}

/* Hiérarchie des sections de l'accueil restaurée. */
.home .i127-section-title{
  max-width:32ch;
  margin:0 0 18px;
  color:#f3ede2;
  font-size:clamp(1.65rem,2.15vw,2.25rem) !important;
  line-height:1.16 !important;
  letter-spacing:-.012em;
  font-weight:500;
  text-wrap:balance;
}

.home .i127-section-title--single{
  max-width:none;
  white-space:nowrap;
}

.home h3.serif,
.home .home-path h3,
.home .offer h3{
  font-size:clamp(1.25rem,1.55vw,1.55rem) !important;
  line-height:1.22 !important;
}

@media(max-width:1080px){
  .home .i127-home-hero .i127-home-hero__grid{
    grid-template-columns:1fr;
    width:min(860px,calc(100% - 36px));
    max-width:860px;
    gap:38px;
    text-align:center;
  }

  .home .i127-home-hero .i127-home-hero__copy .lead{
    margin-inline:auto;
  }

  .home .i127-home-hero .i127-home-hero__copy .hero-truth,
  .home .i127-home-hero .i127-home-hero__copy .hero-btns{
    justify-content:center;
  }

  .i127-home-sigil-shell{
    justify-self:center;
    margin-inline:auto;
  }
}

@media(max-width:720px){
  .home .i127-home-hero .i127-hero-title{
    font-size:clamp(1.95rem,8vw,2.55rem) !important;
    line-height:1.08 !important;
  }

  .home .i127-home-hero .i127-hero-title span{
    white-space:normal;
  }

  .home .i127-section-title--single{
    white-space:normal;
  }

  .i127-home-sigil__media{
    width:min(72vw,300px);
  }

  .i127-home-sigil__links{
    gap:16px;
  }
}

@media(max-width:430px){
  .i127-home-sigil__media{
    width:min(76vw,276px);
  }

  .i127-home-sigil__links{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:min(100%,300px);
    margin-inline:auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .i127-home-sigil__media,
  .i127-home-sigil__media img,
  .i127-home-sigil__links a,
  .i127-home-sigil__links a::after{
    transition:none !important;
  }
}
