:root {
  --purple: #5B1E72;
  --pink: #FF4FA3;
  --rose: #fce8f1;
  --ink: #32133f;
  --muted: #655c69;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 'Segoe UI',Arial,sans-serif;
  background: #fff;
}

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

img {
  max-width: 100%;
  height: auto;
}

h1,h2,h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.3rem,4vw,4.5rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(1.6rem,2.3vw,2.6rem);
}

h3 {
  font-size: 1.06rem;
}

p {
  color: var(--muted);
}

.wrap {
  width: min(1240px,92%);
  margin-inline: auto;
}

.header {
  min-height: 90px;
  width: min(1320px,94%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 120px;
  height: 74px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px,2vw,28px);
  font-size: .89rem;
}

.nav>a:not(.pill):hover,.pink {
  color: #ed2788;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  padding: 13px 25px;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s,box-shadow .2s;
}

.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #5b1e7222;
}

.primary {
  background: linear-gradient(120deg,#ff4fa3,#e91b7b);
  color: white;
}

.dark {
  background: var(--purple);
  color: white;
}

.outline {
  color: #e8278a;
  border-color: #f58dc1;
  background: #fff;
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--purple);
}

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5%;
  overflow: hidden;
}

.hero h1 {
  margin: 18px 0;
}

.hero em {
  color: #ed2788;
  font-style: normal;
}

.hero p {
  max-width: 520px;
}

.hero-art {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  object-position: left center;
  max-height: 500px;
}

.eyebrow {
  display: inline-block;
  color: #ed2788;
  background: #fff0f7;
  border-radius: 99px;
  padding: 8px 15px;
  font-size: .78rem;
  letter-spacing: .1em;
}

.buttons,.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.perks {
  gap: 26px;
  font-size: .84rem;
  font-weight: 600;
  margin-top: 50px;
}

.section {
  padding-block: 75px;
}

.center {
  text-align: center;
}

.steps,.features {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 26px;
  margin-top: 40px;
}

.steps article,.features article {
  padding: 18px;
}

.steps b {
  display: grid;
  place-items: center;
  background: #fce8f1;
  color: #e91b7b;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.steps p,.features p {
  font-size: .9rem;
}

.tint {
  background: linear-gradient(110deg,#fff6fa,#fff,#fff1f8);
  border-radius: 32px;
}

.features {
  grid-template-columns: repeat(5,1fr);
}

.features.large {
  grid-template-columns: repeat(4,1fr);
}

.features strong {
  display: block;
  font-size: 2.3rem;
  color: #b31978;
}

.panels,.dashboard {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}

.panel {
  padding: clamp(24px,3vw,48px);
  background: linear-gradient(135deg,#fff1f6,#fff,#f8effa);
  border-radius: var(--radius);
  min-width: 0;
}

.panel p {
  line-height: 2;
}

.newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.newsletter>div {
  max-width: 530px;
}

.newsletter form {
  display: flex;
  gap: 10px;
  flex: 1;
}

.page-head {
  text-align: center;
  padding: 85px 20px;
  background: linear-gradient(120deg,#fff8fb,#f9edf7);
}

.page-head h1 {
  margin: 8px 0;
}

.narrow {
  max-width: 850px;
}

.narrow h2:not(:first-child) {
  margin-top: 40px;
}

.faq details {
  border-bottom: 1px solid #eddbe9;
  padding: 22px 6px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
}

.faq details p {
  padding-right: 30px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 50px;
}

.chips span {
  background: var(--rose);
  color: var(--purple);
  padding: 10px 18px;
  border-radius: 99px;
}

.wide-image {
  width: 100%;
  border-radius: 20px;
  margin-top: 20px;
}

.footer {
  background: #42104f;
  color: #fff;
  padding: 55px 0 20px;
}

.footer p {
  color: #e8d5e9;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3,1fr);
  gap: 40px;
}

.foot-grid img {
  width: 120px;
  background: #fff;
  border-radius: 12px;
}

.foot-grid a {
  display: block;
  font-size: .87rem;
  margin: 8px 0;
}

.footer>.center {
  font-size: .8rem;
  margin-top: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

input,select,textarea {
  font: inherit;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #e5d6e3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
}

textarea {
  min-height: 115px;
  resize: vertical;
}

.check {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.check input {
  width: auto;
}

.newsletter input {
  flex: 1;
}

.newsletter button {
  white-space: nowrap;
}

.notice {
  background: #fff0f7;
  color: #70215c;
  padding: 15px 5%;
  text-align: center;
}

.item {
  padding: 20px 0;
  border-bottom: 1px solid #ead8e6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap: 20px;
}

.bubble {
  padding: 14px 20px;
  margin-bottom: 12px;
  background: #fff4f9;
  border-radius: 16px;
}

.bubble p {
  margin: 4px 0;
}

.bubble small,.item small {
  color: #827487;
}

@media (max-width:950px) {
  .menu {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 3%;
    right: 3%;
    background: white;
    z-index: 10;
    box-shadow: 0 12px 35px #36134220;
    border-radius: 18px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }
  .features {
    grid-template-columns: repeat(3,1fr);
  }
  .steps {
    grid-template-columns: repeat(2,1fr);
  }
  .foot-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:650px) {
  .header {
    min-height: 76px;
  }
  .brand img {
    width: 95px;
    height: 64px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 25px;
    gap: 20px;
  }
  .hero-art {
    max-height: 350px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .section {
    padding-block: 48px;
  }
  .features,.features.large,.steps,.panels,.dashboard {
    grid-template-columns: 1fr;
  }
  .features {
    gap: 0;
  }
  .features article {
    padding: 10px;
  }
  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter form {
    flex-direction: column;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .perks {
    margin-top: 26px;
  }
  .page-head {
    padding: 55px 20px;
  }
  .panel {
    padding: 25px;
  }
}

@media (min-width:2200px) {
  body {
    font-size: 22px;
  }
  .wrap {
    width: min(2000px,88%);
  }
  .header {
    width: min(2200px,92%);
  }
  .hero {
    min-height: 820px;
  }
  .hero-art {
    max-height: 740px;
  }
  .section {
    padding-block: 115px;
  }
  .pill {
    font-size: 1rem;
    padding: 17px 32px;
  }
}

/* Identité visuelle de la maquette Dira Beauty */

.header {
  position: relative;
  z-index: 5;
  background: #fff;
}

.brand img {
  width: 140px;
  height: 80px;
  object-fit: contain;
}

.hero {
  min-height: 620px;
  grid-template-columns: 1fr 1.06fr;
  gap: 2%;
  overflow: visible;
}

.hero>div {
  position: relative;
  z-index: 1;
}

.hero-art {
  max-height: 610px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 14px 18px #4d17451a);
}

.hero h1 {
  font-size: clamp(2.8rem,4.1vw,5rem);
  font-weight: 750;
  letter-spacing: -.045em;
}

.hero p {
  font-size: 1.1rem;
}

.perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.steps article {
  position: relative;
}

.steps b {
  background: linear-gradient(140deg,#fff1f7,#f9e3f0);
  color: #ee2182;
  width: 78px;
  height: 78px;
  font-size: 1.4rem;
}

.steps h3,.features h3 {
  color: #461452;
}

.steps article:not(:last-child):after {
  content: '······→';
  position: absolute;
  right: -28px;
  top: 40px;
  color: #eac4dc;
}

.professional-panel,.client-panel {
  min-height: 350px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(120deg,#fff0f4,#fce8f0);
}

.client-panel {
  background: linear-gradient(120deg,#f7f0fb,#fff3f8);
}

.panel-visual {
  width: 46%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  object-position: center;
}

.panel-content {
  flex: 1;
  padding: 24px 24px 24px 8px;
}

.panel-content h2 {
  font-size: clamp(1.5rem,2vw,2.25rem);
}

.panel-content p {
  line-height: 1.75;
}

.newsletter-phone {
  width: 23%;
  max-height: 200px;
  object-fit: contain;
}

.newsletter>div {
  max-width: 370px;
}

.newsletter form {
  max-width: 450px;
}

.footer {
  background: linear-gradient(120deg,#43104e,#2e0c3b);
}

.features strong {
  background: #fceaf3;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: auto;
}

.features article {
  text-align: center;
}

.panel-content .pill {
  margin-top: 10px;
}

.page-head {
  background: linear-gradient(130deg,#fff8fb,#f5e9f5);
}

@media (max-width:1050px) {
  .professional-panel,.client-panel {
    flex-direction: column;
  }
  .panel-visual {
    width: 100%;
    height: 240px;
    min-height: 0;
    object-position: center 30%;
  }
  .panel-content {
    padding: 22px;
  }
}

@media (max-width:750px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 30px;
  }
  .hero-art {
    max-height: 450px;
    margin: auto;
  }
  .hero h1 {
    font-size: clamp(2.3rem,9vw,3.7rem);
  }
  .steps article:not(:last-child):after {
    display: none;
  }
  .professional-panel,.client-panel {
    flex-direction: column;
  }
  .newsletter-phone {
    width: 65%;
    max-height: 180px;
    margin: auto;
  }
  .newsletter {
    gap: 18px;
  }
  .panel-visual {
    height: 250px;
  }
  .perks {
    gap: 15px;
  }
}

@media (min-width:2000px) {
  .hero {
    min-height: 950px;
  }
  .hero-art {
    max-height: 880px;
  }
  .panel-visual {
    min-height: 500px;
  }
  .professional-panel,.client-panel {
    min-height: 500px;
  }
}

/* Tableau de bord et écrans larges */

.stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-top: 28px;
}

.stat {
  background: #fff;
  border: 1px solid #f2dce9;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 35px #5b1e720c;
}

.stat span {
  display: block;
  color: #75567c;
  font-size: 14px;
}

.stat strong {
  font-size: 40px;
  color: #5b1e72;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.dashboard>.panel {
  min-width: 0;
}

@media (max-width:850px) {
  .stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width:460px) {
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 30px;
  }
}

@media (min-width:2200px) {
  .wrap {
    max-width: 1800px;
  }
  .header {
    padding-left: max(4vw,50px);
    padding-right: max(4vw,50px);
  }
  body {
    font-size: 1.15rem;
  }
}
