/* ==========================================================================
   Mi&Mi Couture — Landing page finale
   Fichier unique de styles, sans dépendance JS.
   ========================================================================== */

:root {
  --page-bg: #f7efea;
  --paper: #fdf9f5;
  --paper-deep: #f6ebe5;
  --rose: #cc938f;
  --rose-dark: #b97874;
  --rose-soft: #ead3cf;
  --ink: #332b29;
  --muted: #98716e;
  --line: rgba(185, 126, 120, .44);
  --border: rgba(118, 82, 78, .18);
  --shadow: 0 28px 68px rgba(73, 45, 42, .12);
  --shell: min(1180px, calc(100vw - 48px));
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --script: "Parisienne", "Snell Roundhand", "Brush Script MT", cursive;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, .72), transparent 28rem),
    radial-gradient(circle at 78% 4%, rgba(238, 219, 213, .72), transparent 34rem),
    linear-gradient(180deg, #fdf9f6 0%, #f7efea 100%);
  font-family: var(--sans);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-page {
  position: relative;
  overflow-x: clip;
}

/* Decorative threads ----------------------------------------------------- */

.thread {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.thread path,
.footer-thread path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thread-hero-left {
  top: 0;
  left: 0;
  width: min(41vw, 520px);
  height: min(760px, 72vw);
}

.thread-hero-center {
  bottom: 42px;
  left: 0;
  width: 100vw;
  height: 190px;
}

.thread-contact-left {
  top: 26px;
  left: 0;
  width: min(440px, 37vw);
  height: 530px;
}

.thread-contact-right {
  top: 0;
  right: 0;
  width: min(360px, 28vw);
  height: 540px;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 44px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 249, .97) 0%, rgba(255, 252, 249, .94) 44%, rgba(244, 228, 223, .3) 67%, rgba(229, 207, 199, .55) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, .76), transparent 28rem),
    radial-gradient(circle at 75% 50%, rgba(207, 160, 153, .18), transparent 29rem);
}

.hero-layout {
  min-height: 716px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(430px, 1.02fr);
  align-items: stretch;
  column-gap: clamp(22px, 3vw, 52px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 86px;
  text-align: center;
}

.brand-seal {
  position: relative;
  width: 136px;
  height: 136px;
  margin-bottom: 10px;
  color: var(--rose);
}

.brand-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-seal svg circle,
.brand-seal svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-seal-monogram {
  position: absolute;
  z-index: 1;
  inset: 29px 0 auto;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: .78;
  letter-spacing: .08em;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  line-height: 1;
}

.hero-title-main {
  color: #3b302e;
  font-family: var(--serif);
  font-size: clamp(86px, 9vw, 134px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .88;
}

.hero-title-script {
  position: relative;
  margin-top: -4px;
  color: var(--rose);
  font-family: var(--script);
  font-size: clamp(76px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .92;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(312px, 84%);
  margin: 30px 0 34px;
  gap: 14px;
}

.separator span {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.separator svg {
  width: 74px;
  color: var(--rose);
}

.separator svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-description {
  max-width: 488px;
  margin: 0;
  color: #433633;
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.32;
}

.hero-description strong {
  color: var(--rose-dark);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 716px;
  margin: 0 calc((100vw - var(--shell)) / -2) 0 0;
  overflow: hidden;
  background: #ead9d2;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 252, 249, .94) 0%, rgba(255, 252, 249, .38) 13%, rgba(255, 255, 255, 0) 33%),
    linear-gradient(180deg, rgba(255, 255, 255, .03) 0%, rgba(84, 56, 51, .08) 100%);
  pointer-events: none;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
}

.hero-visual img {
  object-fit: cover;
  object-position: center top;
  min-height: 716px;
  transform: scale(1.015);
}

/* Services --------------------------------------------------------------- */

.services {
  position: relative;
  z-index: 2;
  padding: 40px 0 38px;
  background:
    linear-gradient(180deg, rgba(244, 226, 221, .94), rgba(246, 232, 227, .95));
  border-top: 1px solid rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(118, 82, 78, .12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.service {
  min-height: 168px;
  padding: 2px 28px 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.service + .service {
  border-left: 1px dashed rgba(185, 126, 120, .55);
}

.service-icon {
  width: 88px;
  height: 88px;
  color: var(--rose-dark);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-icon svg path,
.service-icon svg rect,
.service-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h2 {
  margin: 0;
  color: #3c312f;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Contact ---------------------------------------------------------------- */

.contact {
  position: relative;
  z-index: 1;
  min-height: 536px;
  padding: 44px 0 26px;
  isolation: isolate;
  background:
    radial-gradient(circle at 17% 20%, rgba(255, 255, 255, .75), transparent 18rem),
    radial-gradient(circle at 73% 24%, rgba(238, 220, 214, .42), transparent 26rem),
    linear-gradient(180deg, #fdfaf7 0%, #faf4ef 100%);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    radial-gradient(rgba(113, 82, 76, .12) .8px, transparent .8px);
  background-size: 6px 6px;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, .92fr) minmax(390px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  min-height: 466px;
}

.contact-panel {
  width: min(504px, 100%);
  justify-self: center;
}

.contact-kicker {
  margin: 0;
  color: #403330;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .46em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 244px;
  margin: 22px auto 30px;
  color: var(--rose);
}

.contact-divider span:not(.heart) {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.contact-divider .heart {
  transform: translateY(-1px);
  font-size: 14px;
}

.contact-items {
  display: grid;
}

.contact-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  column-gap: 26px;
  min-height: 94px;
  border-bottom: 1px solid rgba(185, 126, 120, .34);
}

.contact-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, #d29a96 0%, #c88984 100%);
  box-shadow: 0 14px 28px rgba(145, 90, 85, .18);
}

.contact-icon svg {
  width: 36px;
  height: 36px;
}

.contact-icon svg path,
.contact-icon svg rect,
.contact-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h3 {
  margin: 0 0 2px;
  color: #403330;
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 33px);
  font-weight: 600;
  line-height: 1;
}

.contact-item p {
  margin: 0;
  color: var(--rose-dark);
  font-family: var(--serif);
  font-size: clamp(19px, 1.65vw, 23px);
  font-weight: 600;
  line-height: 1.12;
}

.text-link {
  transition: color .18s ease;
}

.text-link:hover,
.contact-item h3 a:hover {
  color: #8f5854;
}

.call-button {
  width: max-content;
  min-height: 58px;
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(185, 126, 120, .55);
  padding: 0 28px 0 16px;
  color: #fff;
  background: linear-gradient(180deg, #c98d89 0%, #b97874 100%);
  box-shadow: 0 18px 36px rgba(145, 90, 85, .18);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.call-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(145, 90, 85, .26);
  background: linear-gradient(180deg, #c28480 0%, #ae6d68 100%);
}

.call-button-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.call-button-icon svg {
  width: 22px;
  height: 22px;
}

.call-button-icon path {
  fill: currentColor;
}

.atelier-sketch {
  margin: 0;
  justify-self: stretch;
  align-self: center;
  position: relative;
}

.atelier-sketch::before {
  content: "";
  position: absolute;
  inset: 12% 4% 6% 4%;
  z-index: -1;
  background: radial-gradient(circle, rgba(229, 204, 195, .58), transparent 67%);
  filter: blur(16px);
}

.atelier-sketch picture,
.atelier-sketch img {
  width: 100%;
}

.atelier-sketch img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Footer ----------------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 2;
  min-height: 118px;
  background: linear-gradient(90deg, #c88f8a 0%, #c78681 50%, #c28a85 100%);
}

.footer-inner {
  position: relative;
  min-height: 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.footer-inner p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff7f4;
  font-family: var(--script);
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  text-align: center;
}

.footer-thread {
  position: absolute;
  inset: auto 0 18px;
  width: 100%;
  height: 72px;
}

.footer-thread path {
  stroke: rgba(255, 246, 242, .88);
  stroke-width: 1.35;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1160px) {
  :root {
    --shell: min(1180px, calc(100vw - 36px));
  }

  .hero {
    min-height: 704px;
  }

  .hero-layout {
    min-height: 660px;
    grid-template-columns: minmax(330px, .9fr) minmax(390px, 1fr);
  }

  .hero-copy {
    padding-bottom: 62px;
  }

  .hero-visual {
    min-height: 660px;
  }

  .hero-visual img {
    min-height: 660px;
  }

  .hero-title-main {
    font-size: clamp(80px, 9vw, 118px);
  }

  .hero-title-script {
    font-size: clamp(70px, 7.4vw, 95px);
  }

  .hero-description {
    max-width: 440px;
    font-size: 25px;
  }

  .service {
    padding-inline: 18px;
  }

  .service h2 {
    font-size: 15px;
  }

  .contact-layout {
    grid-template-columns: minmax(350px, .95fr) minmax(360px, 1fr);
    gap: 34px;
  }
}

@media (max-width: 940px) {
  :root {
    --shell: min(1180px, calc(100vw - 30px));
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .hero-copy {
    order: 1;
    padding: 18px 0 28px;
  }

  .hero-visual {
    order: 2;
    width: 100vw;
    min-height: min(78vw, 690px);
    margin-left: calc((100vw - var(--shell)) / -2);
    margin-right: calc((100vw - var(--shell)) / -2);
  }

  .hero-visual img {
    min-height: min(78vw, 690px);
    object-position: center 18%;
  }

  .thread-hero-left {
    width: min(62vw, 520px);
    height: 640px;
  }

  .thread-hero-center {
    bottom: 0;
    height: 160px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 0;
  }

  .service {
    min-height: 170px;
    border-bottom: 1px dashed rgba(185, 126, 120, .4);
  }

  .service + .service {
    border-left: 0;
  }

  .service:nth-child(even) {
    border-left: 1px dashed rgba(185, 126, 120, .55);
  }

  .service:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
    border-left: 0;
  }

  .contact {
    padding-top: 56px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-panel {
    width: min(560px, 100%);
  }

  .atelier-sketch {
    width: min(680px, 100%);
    justify-self: center;
  }

  .thread-contact-left {
    width: min(420px, 52vw);
  }

  .thread-contact-right {
    width: min(310px, 37vw);
  }
}

@media (max-width: 660px) {
  :root {
    --shell: min(1180px, calc(100vw - 24px));
  }

  .hero {
    padding-top: 18px;
  }

  .brand-seal {
    width: 112px;
    height: 112px;
    margin-bottom: 4px;
  }

  .brand-seal-monogram {
    inset: 24px 0 auto;
    font-size: 22px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: .34em;
  }

  .hero-title-main {
    font-size: clamp(66px, 18vw, 92px);
  }

  .hero-title-script {
    margin-top: -1px;
    font-size: clamp(62px, 17vw, 84px);
  }

  .separator {
    width: min(280px, 92%);
    margin: 20px 0 24px;
  }

  .hero-description {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.34;
  }

  .hero-visual {
    min-height: min(112vw, 610px);
  }

  .hero-visual img {
    min-height: min(112vw, 610px);
    object-position: center 18%;
  }

  .thread-hero-left {
    width: 92vw;
    height: 480px;
    opacity: .72;
  }

  .thread-hero-center {
    height: 112px;
    opacity: .72;
  }

  .services {
    padding-block: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service,
  .service:last-child {
    min-height: 138px;
    grid-column: auto;
    border-left: 0 !important;
  }

  .service {
    display: grid;
    grid-template-columns: 76px 1fr;
    justify-items: start;
    gap: 20px;
    padding: 18px 12px;
    text-align: left;
  }

  .service-icon {
    width: 76px;
    height: 76px;
  }

  .service h2 {
    align-self: center;
    font-size: 16px;
  }

  .contact {
    min-height: auto;
    padding: 42px 0 34px;
  }

  .contact-kicker {
    font-size: 15px;
    letter-spacing: .34em;
  }

  .contact-divider {
    width: 220px;
    margin: 20px auto 20px;
  }

  .contact-item {
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    min-height: 86px;
  }

  .contact-icon {
    width: 54px;
    height: 54px;
  }

  .contact-icon svg {
    width: 30px;
    height: 30px;
  }

  .contact-item h3 {
    font-size: 24px;
  }

  .contact-item p {
    font-size: 18px;
  }

  .call-button {
    min-height: 56px;
    width: 100%;
    margin-top: 24px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .atelier-sketch {
    margin-top: 4px;
  }

  .thread-contact-left {
    width: 76vw;
    height: 420px;
    opacity: .75;
  }

  .thread-contact-right {
    width: 52vw;
    height: 420px;
    opacity: .75;
  }

  .footer {
    min-height: 102px;
  }

  .footer-inner {
    min-height: 102px;
  }

  .footer-inner p {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .hero-description {
    font-size: 20px;
  }

  .contact-item h3 {
    font-size: 21px;
  }

  .contact-item p {
    font-size: 17px;
  }

  .call-button {
    gap: 10px;
    font-size: 12px;
    letter-spacing: .1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .call-button {
    transition: none;
  }
}
