@charset "utf-8";
/* CSS Document 

Tooplate 2166 Ivory Flow
    
https://www.tooplate.com/view/2166-ivory-flow

*/

/* ═══════════════════════════════════════════════
   RESET & VARIABLES
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --oat: #FCFAF8;
  --oat-mid: #F5F0EB;
  --oat-deep: #EDE6DD;
  --terra: #D96C4A;
  --terra-light: rgba(217, 108, 74, 0.12);
  --terra-ghost: rgba(217, 108, 74, 0.06);
  --ink: #1A1714;
  --ink-soft: #3D3832;
  --ink-muted: #8A8279;
  --ink-faint: #B8B0A6;
  --white: #FFFFFF;
  --ease-soft: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo: cubic-bezier(0.22, 1, 0.36, 1);
--icon-color:  gold;

}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--oat);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════
   FLOATING PILL NAV
   ═══════════════════════════════════════════════ */
.pill-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(252, 250, 248, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 4px 24px rgba(26, 23, 20, 0.06);
}

.pill-nav a {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  transition: color 0.5s var(--ease-soft), background 0.5s var(--ease-soft);
  white-space: nowrap;
}

.pill-nav a:hover {
  color: var(--ink);
}

.pill-nav a.active {
  background: var(--ink);
  color: var(--oat);
}

/* ═══════════════════════════════════════════════
                    icon
   ═══════════════════════════════════════════════ */

ion-icon[name="star-half"],
ion-icon[name="star"]
{
color: var(--icon-color);
font-size:  1.2rem

}
ion-icon[name="star-half"]:hover,
ion-ion[name="star-outline"]:hover,
ion-icon[name="star"]:hover
{
color: var(--icon-color);
font-size:  1.2rem ;
transition: var(--ease-expo) ;
opacity: .5;

}

/* ═══════════════════════════════════════════════
   EST. 2026 VERTICAL DECORATOR (Right Edge)
   ═══════════════════════════════════════════════ */
.est-label {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center center;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  z-index: 900;
  pointer-events: none;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   EXPANDING UNDERLINE CTA (No Standard Buttons)
   ═══════════════════════════════════════════════ */
.cta-link {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  position: relative;
  padding-bottom: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--terra);
  transition: width 0.7s var(--ease-soft), left 0.7s var(--ease-soft);
}

.cta-link:hover::after {
  width: 100%;
  left: 0;
}

.cta-link--dark { color: var(--ink); }
.cta-link--dark::after { background: var(--ink); }

.cta-link--light { color: var(--oat); }
.cta-link--light::after { background: var(--oat); }

/* ═══════════════════════════════════════════════
   STICKY SECTION ARCHITECTURE
   ═══════════════════════════════════════════════ */
.canvas-section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
}

.canvas-section:nth-child(1) { z-index: 1; }
.canvas-section:nth-child(2) { z-index: 2; }
.canvas-section:nth-child(3) { z-index: 3; }
.canvas-section:nth-child(4) { z-index: 4; }
.canvas-section:nth-child(5) { z-index: 5; }
.canvas-section:nth-child(6) { z-index: 6; }

/* ═══════════════════════════════════════════════
   SECTION 1: HERO (Split Screen)
   ═══════════════════════════════════════════════ */
.hero {
  background: var(--oat);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-tag {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(26, 23, 20, 0.35);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 56px;
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-soft) 0.3s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5.5vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-soft) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--terra);
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
  max-width: 380px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-soft) 0.7s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-soft) 0.9s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   SECTION 2: THE LOOKBOOK (Horizontal Scroll-Snap)
   ═══════════════════════════════════════════════ */
.lookbook {
  background: var(--oat-mid);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 0;
}

.lookbook-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 64px;
  margin-bottom: 40px;
}

.lookbook-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--ink);
}

.lookbook-count {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.15em;
}

.lookbook-track {
  display: flex;
  gap: 28px;
  padding: 0 64px 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.lookbook-track::-webkit-scrollbar { display: none; }

.lookbook-track.is-dragging { cursor: grabbing; }
.lookbook-track.is-dragging img { pointer-events: none; }

.lookbook-card {
  flex: 0 0 auto;
  position: relative;
}

.lookbook-card img {
  display: block;
  border-radius: 32px;
  border: 10px solid var(--white);
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.06);
  height: 55vh;
  min-height: 350px;
  width: auto;
  object-fit: cover;
  transition: transform 1s var(--ease-soft), box-shadow 0.8s var(--ease-soft);
}

.lookbook-card:hover img {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(26, 23, 20, 0.1);
}

.lookbook-card-label {
  position: absolute;
  bottom: -28px;
  left: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lookbook-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding: 0 64px;
}

.apartment-search {
  width: min(880px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto 36px;
}

.apartment-search label {
  display: block;
  margin: 0 0 12px 4px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.apartment-search-controls {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 7px;
  border: 1px solid var(--oat-deep);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(26, 23, 20, 0.06);
}

.apartment-search input {
  flex: 1;
  min-width: 0;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.apartment-search-controls button,
.apartment-listing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.apartment-search-controls button:hover,
.apartment-listing-link:hover {
  background: transparent;
  color: var(--ink);
}

.apartment-search-controls button:active,
.apartment-listing-link:active {
  transform: scale(0.98);
}

.apartment-search input:focus-visible,
.apartment-search-controls button:focus-visible,
.apartment-listing-link:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.apartment-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  padding: 0 64px;
}

.apartment-listing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--oat-deep);
  border-radius: 24px;
  background: var(--white);
}

.apartment-listing-location {
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apartment-listing h3 {
  margin-bottom: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.apartment-listing dl {
  width: 100%;
  margin-bottom: 16px;
}

.apartment-listing dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--oat-deep);
}

.apartment-listing dt {
  color: var(--ink-muted);
}

.apartment-listing dd {
  text-align: right;
}

.apartment-listing > p:not(.apartment-listing-location) {
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.apartment-listing-link {
  margin-top: auto;
}

.apartment-search-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--ink-muted);
}

.lookbook-arrows {
  display: flex;
  gap: 8px;
}

.lookbook-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-faint);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s var(--ease-soft), background 0.5s var(--ease-soft);
}

.lookbook-arrow:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.lookbook-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.5s var(--ease-soft);
}

.lookbook-arrow:hover svg { stroke: var(--oat); }

/* ═══════════════════════════════════════════════
   SECTION 3: PRODUCT DETAIL -- INSCRIPTION
   ═══════════════════════════════════════════════ */
.product {
  background: var(--oat);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
  align-items: center;
}

.product-image-zone {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: none;
}

.product-image-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1{
  text-align: center;
  font-size: 1.2rem;
}
/* inscription */
 .form{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* min-height: 100vh; */
  /* justify-content: flex-start; */
 }
.form-inscription{
  max-width: 480px;
  width: 100%;
  padding: 1.1rem .7rem;
  
}
.submit,.google{
  display: flex;
  align-items: center;
 flex-wrap: nowrap ;
 flex-direction: row;
  justify-content: end;
  padding: .4rem .2rem;
  background-color: var(--terra) !important;
  width: fit-content;
  /* width:min-content; */
  margin: .7rem 0rem;
  align-self: flex-end;
  /* margin-right: .7rem; */
  column-gap: .4rem;
  border-radius: .8rem;
  z-index: 1;
}

button.submit {
  border: 0;
  font: inherit;
  cursor: pointer;
}

button.submit span {
  color: var(--oat);
  font-weight: bold;
  font-size: 1.2rem;
}

.account-login {
  margin-top: 1rem;
  text-align: center;
}

.account-login summary {
  color: var(--terra);
  cursor: pointer;
}

.account-login .form {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.submit ion-icon[name="close"],.submit ion-icon[name="send"]{
transform: rotate(-45deg); 
font-weight: bold;
font-size: 1.2rem;
color: var(--oat);
  user-select: none;
}
.submit ion-icon[name="send"]{
transform: rotate(-45deg); 
}
.submit ion-icon[name="close"]{
  font-size: 1.4rem;
  transform: rotate(0deg); 

}
input[type="submit"],input[type="reset"]{
  border: none;
 background-color: transparent;
 z-index: 4;
}
input[type="submit"],input[type="reset"],.google{

   font-weight: bold;
     color:var(--oat);
     font-size: 1.2rem;
     
}
.submit.google img{
  width: 50px ;
  height: auto;
  z-index: -1;
  user-select: none;
  border-radius: 50%;
  
}
hr {
  border: none;              /* enlève le style par défaut */
  height: 2px;               /* épaisseur */
  background-color: #ccc;    /* couleur */
  width: 100px;              /* longueur */
  margin: 20px auto;         /* espace autour et centrage */
}
/* Mouse-following Terracotta Buy Circle */
/* .buy-circle {
  position: fixed;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft);
  mix-blend-mode: normal;
}

.buy-circle.visible {
  opacity: 1;
  transform: scale(1);
}

.buy-circle span {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.product-info {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-badge {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--terra);
  margin-bottom: 24px;
}

.product-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: 400px;
  margin-bottom: 32px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--oat-deep);
}

.product-spec {
  flex: 1 1 50%;
  padding: 16px 0;
  border-bottom: 1px solid var(--oat-deep);
}

.product-spec dt {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.product-spec dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.product-actions {
  display: flex;
  gap: 28px;
  align-items: center;
} */

/* ═══════════════════════════════════════════════
   SECTION 4: THE PROCESS (Vertical Timeline)
   ═══════════════════════════════════════════════ */
.process {
  background: var(--ink);
  color: var(--oat);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 64px;
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.process-left {
  position: relative;
}

.process-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
}

.process-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1.8;
  max-width: 340px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--terra), var(--terra), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 56px 0;
  opacity: 0.2;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
.image img{
border-radius: 50% 25%;
}
.timeline-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--terra);
  background: var(--ink);
  transition: background 0.5s var(--ease-soft);
}

.timeline-item.in-view::before {
  background: var(--terra);
}

.timeline-step {
  font-family: 'DM Mono', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 10px;
  margin-top: 1.2rem;
}

.timeline-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--oat);
}

.timeline-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-faint);
  max-width: 340px;
}

/* ═══════════════════════════════════════════════
   SECTION 5: VIDEO FRAGMENT (Grain Overlay)
   ═══════════════════════════════════════════════ */
.video-fragment {
  background: var(--ink);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
}

.video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
}

/* CSS Grain / Noise Overlay */
.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  mix-blend-mode: overlay;
}

.video-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 600px;
  padding: 40px;
}

.video-play {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(252, 250, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  cursor: pointer;
  transition: border-color 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}

.video-play:hover {
  border-color: var(--oat);
  transform: scale(1.1);
}

.video-play svg {
  width: 20px;
  height: 20px;
  fill: var(--oat);
  margin-left: 3px;
}

.video-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: var(--oat);
  line-height: 1.15;
  margin-bottom: 16px;
}

.video-caption {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════
   SECTION 6: THE SIGNATURE
   ═══════════════════════════════════════════════ */
.signature {
  background: var(--oat-mid);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Massive semi-transparent logo background */
.signature-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 300;
  color: rgba(26, 23, 20, 0.035);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
}

.signature-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 480px;
  width: 100%;
  padding: 40px;
}
#signature form button[type="submit"][name="envoyer"] {
  width: 100%;
  margin: .8rem 0;
  min-height: 44px;
  padding: .75rem 1rem;
  color: var(--oat);
  font: inherit;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid var(--ink);
  background-color: var(--ink);
  border-radius: .4rem;
  cursor: pointer;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

#signature form button[type="submit"][name="envoyer"]:hover {
  color: var(--oat);
  border-color: #A8442B;
  background-color: #A8442B;
}

#signature form button[type="submit"][name="envoyer"]:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

#signature form button[type="submit"][name="envoyer"]:active {
  transform: translateY(1px);
}

.group{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap:.5rem;
}
.form-control {
  display: flex;
    flex-direction:column;
    flex: 1;
}
.form-control label{
  display: block;
  word-wrap: normal;
  /* width: 100%; */
  
}
.form-control input {
  
  /* width: 100%; */
 height: 40px;
  
}
.form-control input ,.form-control textarea{
  
  /* width: 100%; */
 border-radius: .5rem;
 /* outline: .4rem solid transparent; */
 background-color: #faf9f79b;
 border: .1rem solid var(--ink-muted) ;
 padding-left: .4rem;
 caret-color: var(--terra);
  
}
.form-control textarea{
padding-top: .4rem;
}
.signature-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; 
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 32px;
}

.signature-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

.signature-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.signature-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.5s var(--ease-soft);
}

.signature-email:hover { color: var(--terra); }

.signature-phone {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 36px;
}

.signature-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.signature-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}

.signature-footer a {
  transition: color 0.4s;
}

.signature-footer a:hover { color: var(--terra); }

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.98);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
  will-change: opacity, transform;
}

.scroll-reveal.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.lookbook-card:nth-child(2) { transition-delay: 0.08s; }
.lookbook-card:nth-child(3) { transition-delay: 0.16s; }
.lookbook-card:nth-child(4) { transition-delay: 0.24s; }
.lookbook-card:nth-child(5) { transition-delay: 0.32s; }


/* ═══════════════════════════════════════════════
  Affichage de l'arppartement---Affichage.php
═══════════════════════════════════════════════ */

.padding{
  padding: 0rem .5rem;
}
.apartment-gallery {
  padding: 0 24px 36px;
}

.apartment-gallery .lookbook-card img,
.apartment-gallery-video video {
  width: min(72vw, 560px);
  height: clamp(260px, 52vh, 520px);
  min-height: 260px;
  border: 8px solid var(--white);
  border-radius: 28px;
  background: var(--ink);
  object-fit: cover;
  box-shadow: 0 8px 40px rgba(26, 23, 20, 0.08);
}

.groupage > h2 {
  margin: 28px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.groupage > .lookbook-footer {
  justify-content: flex-end;
  margin: 0 0 40px;
  padding: 0 24px;
}

section .groupage h2,h3{
  text-align: center;
  color: var(--terra);
  user-select: none;
}
.description ul {
  display: grid;
    /* justify-content: center; */
    list-style:disc;
    user-select: none;
    /* place-items: center; */
/* align-content: center; */
        padding: 0rem 1.4rem;
    /* grid-auto-flow: row; */
}
.messagerie-locataire span{
 padding: .5rem 1rem;
   font-size: 1rem;
}
.messagerie-locataire a,
.messagerie-locataire form {
  display: block;
  width: 100%;
}
.messagerie-locataire a,
.messagerie-locataire button{
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  border: 1px solid var(--terra);
  border-radius: .5rem;
  background-color: var(--terra);
  text-align: center;
  user-select: none;
  color: var(--oat);
  font-weight: bold;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.messagerie-locataire a:hover,
.messagerie-locataire button:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.messagerie-locataire a:focus-visible,
.messagerie-locataire button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}
.messagerie-locataire{
  text-align: center;
  margin: .8rem .4rem;
}

/* ═══════════════════════════════════════════════
  Messagerie entre user ---Messagerie.php
═══════════════════════════════════════════════ */
.messagerie {
  display: flex;
  /* align-content: space-between; */
   flex-direction: column;
  height: 100vh;
}
  .messagerie .header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem;
    flex-shrink: 0;
  }
  .messagerie .header p{
    user-select: none;
  }
 .messagerie .body{
     flex: 1;
    overflow-y: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
 }

.left{
  float: left !important;
    margin-top: .8rem;
  align-self: flex-start;
  margin-left: .8rem;
}
.right{
  float: right !important;
 
  margin-top: .8rem;
  align-self: flex-end;
  margin-right: .8rem;
  flex-direction: row-reverse;
  
}
.messagerie .header button{
 background-color: transparent;
 border: none;
}
.admin ,.user{
  width: 60%;
  box-sizing: content-box;
}
.admin{
 border-radius: 2rem 10rem;
background-color: var(--terra);
padding: 1rem 1rem 1rem 3.5rem;
}
.user{
  padding: 1rem 2rem;
  border-radius: 10rem 2rem;
  background-color: var(--ink-faint);
}
.messagerie .header .photo-user img , .user-message img ,.admin-message img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.admin-name,.user-name{
  padding: .5rem .9rem;
}
p.message{
  font-weight: 500;
  /* padding: 0rem .2rem; */
  text-wrap: auto;
  word-break: auto-phrase;
}
.messagerie .header p{
  text-align: center;
}
.user-message p.user-name ,.admin-message p.admin-name,.messagerie .header p{
  font-weight: bold;
}
.footer{
  padding: .7rem .5rem;
}
  .footer textarea{
    width: 100%;
    padding: .2rem .3rem;
  }
ion-icon[name="send"]{
 background-color: var(--terra);
 padding: .5em .5em;
 /* transform: rotate(-45deg); */
 border-radius: 50%;
 cursor: pointer;
transition: opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
ion-icon[name="send"]:hover{
opacity: 0.5;
color: var(--oat-deep);
}


.photo-user,.admin-message,.user-message,.footer {
  display: flex;
  align-items: center;
  
}
.footer {
  column-gap:.4rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   HAMBURGER (MOBILE)
   ═══════════════════════════════════════════════ */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  width: 44px;
  height: 44px;
  background: rgba(252, 250, 248, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 23, 20, 0.06);
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease-soft), opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(3px, 4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(3px, -4px); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(252, 250, 248, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 40px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  transition: color 0.4s;
}

.mobile-nav a:hover { color: var(--terra); }

/* ═══════════════════════════════════════════════
   PREFERS REDUCED MOTION
   ═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .scroll-reveal { opacity: 1; transform: none; }
  .timeline-item { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { height: 50vh; }
  .hero-content { padding: 48px 40px; }

  .product { grid-template-columns: 1fr; }
  .product-image-zone { height: 50vh; }
  .product-info { padding: 48px 40px; }

  .process { padding: 80px 40px; }
  .process-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lookbook-header { padding: 0 40px; }
  .lookbook-track { padding: 0 40px 40px; }
}

@media (max-width: 768px) {
  .pill-nav { display: none; }
  .hamburger { display: flex; }
  .est-label { display: none; }

  .canvas-section {
    position: relative;
    top: auto;
  }


  .hero-image { height: 45vh; min-height: 280px; }
  .hero-content { padding: 36px 24px 48px; }

  .lookbook { padding: 48px 0; }
  .lookbook-header { padding: 0 24px; margin-bottom: 28px; }
  .lookbook-track { padding: 0 24px 36px; gap: 16px; }
  .lookbook-card img { height: 45vh; min-height: 260px; border-radius: 24px; border-width: 6px; }
  .lookbook-footer { padding: 0 24px; }
  .apartment-listings { padding: 0 24px; }
  .apartment-search { width: calc(100% - 48px); }
  .apartment-search-controls { border-radius: 24px; }
  .apartment-search input { padding-left: 14px; }
  .apartment-gallery .lookbook-card img,
  .apartment-gallery-video video {
    width: 78vw;
    height: 42vh;
    min-height: 240px;
    border-width: 6px;
    border-radius: 22px;
  }
  .groupage > .lookbook-footer { margin-bottom: 28px; }

  .product-image-zone { height: 50vh; cursor: auto; }
  .buy-circle { display: none; }
  .product-info { padding: 36px 24px 48px; }

  .process { padding: 60px 24px; }
  .timeline { padding-left: 28px; }
  .timeline::before { left: 0; }
  .timeline-item::before { left: -32px; }

  .video-content { padding: 24px; }

  .signature-content { padding: 24px; }
  .signature-bg-logo { font-size: 80px; }

  .mobile-nav {
    padding: 80px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}