/* =========================================================
   Lou'Clean — branding : nude minimaliste + accent rouge rosé
   ========================================================= */

:root {
  /* Nudes */
  --cream:      #FBF8F5;
  --sand:       #F3ECE5;
  --nude:       #E7DAD0;
  --taupe:      #C9B5A6;
  --clay:       #8C7566;

  /* Accent rouge rosé */
  --rose:       #C2626B;
  --rose-deep:  #A54E58;
  --rose-soft:  #F0DCDB;

  /* Encre */
  --ink:        #2E2724;
  --ink-soft:   #6B5F58;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --r: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15.5px, 1.25vw, 17px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

em { font-style: italic; color: var(--rose); }

/* ---------- Éléments partagés ---------- */

.eyebrow {
  font-size: max(12px, .72rem);   /* jamais sous 12px, même sur petit écran */
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 400;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--rose-soft); }

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
}

.section__head {
  max-width: 620px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 1rem 1.9rem;
  border-radius: 100px;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn--primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(194,98,107,.75);
}
.btn--primary:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(194,98,107,.85);
}

.btn--line {
  border: 1px solid var(--nude);
  color: var(--ink);
  background: transparent;
}
.btn--line:hover { border-color: var(--rose); color: var(--rose); }

.btn--white {
  background: #fff;
  color: var(--rose-deep);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.35); }

.btn--ghost {
  padding: .7rem 1.4rem;
  border: 1px solid var(--nude);
  color: var(--ink);
  font-size: .72rem;
}
.btn--ghost:hover { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.25rem, 5vw, 4rem);
  transition: all .4s var(--ease);
}
.nav.is-scrolled {
  padding-block: .9rem;
  background: rgba(251,248,245,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sand);
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
}
.nav__logo span { color: var(--rose); }

.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .3s;
}
.nav__links a:hover { color: var(--rose); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vh, 9rem) var(--gutter) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

/* En-tête : photo + logos de service qui gravitent autour */
.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  container-type: inline-size;   /* tout ce qui suit s'échelonne sur la largeur du cercle */
}

.hero__art .halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--rose-soft), var(--sand));
}
.hero__art .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--taupe);
  opacity: .5;
  animation: spin 44s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__photo {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 26px 60px -30px rgba(140,117,102,.9);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transform: scale(1.22);
}

.orb {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.4cqw 4cqw 2.4cqw 2.6cqw;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 3cqw 7cqw -4cqw rgba(140,117,102,.9);
  font-size: clamp(11px, 3.1cqw, 12px);
  letter-spacing: .04em;
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.orb svg {
  width: 6.4cqw; height: 6.4cqw;
  min-width: 18px; min-height: 18px;
  flex: none;
  stroke: var(--rose);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.orb b { font-weight: 400; color: var(--ink-soft); }

/* Réparties autour du cercle comme sur un cadran : 11 h, 1 h, 8 h, 6 h */
.orb--1 { top: -1%;   left: -7%; }
.orb--2 { top: 24%;   right: -8%; animation-delay: -2s; }
.orb--3 { top: 60%;   left: -11%; animation-delay: -4s; }
.orb--4 { bottom: -3%; left: 13%; animation-delay: -1s; }

.orb--promo {
  right: -2%;
  bottom: 16%;
  flex-direction: column;
  gap: 0;
  padding: 3.4cqw 4.4cqw;
  border-radius: 5.5cqw;
  background: var(--rose);
  color: #fff;
  line-height: 1.15;
  animation-delay: -3s;
}
.orb--promo strong {
  font-family: var(--serif);
  font-size: clamp(15px, 6cqw, 23px);
  font-weight: 500;
}
.orb--promo span {
  font-size: clamp(9px, 2.9cqw, 11.5px);
  letter-spacing: .1em;
  opacity: .9;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero__deco {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--rose-soft), var(--sand) 55%, transparent 72%);
  opacity: .85;
  z-index: 1;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  margin-bottom: 1.8rem;
}

.hero__promise {
  max-width: 46ch;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--ink-soft);
  margin-bottom: 2.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 1.8rem;
}

.hero__note {
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--clay);
}
.hero__note strong { color: var(--rose); font-weight: 500; }

/* ---------- Ticker ---------- */

.ticker {
  background: var(--rose);
  color: #fff;
  overflow: hidden;
  padding: .9rem 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 2.5rem);
  width: max-content;
  animation: slide 26s linear infinite;
  font-size: clamp(.62rem, 1.6vw, .74rem);
  letter-spacing: .26em;
  text-transform: uppercase;
}
.ticker .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Avis ---------- */

.avis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: clamp(1.6rem, 3.6vw, 2.4rem) clamp(1.3rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(140,117,102,.55);
}
/* Carte offre : elle doit se distinguer au premier coup d'œil
   des cartes d'avis qui l'entourent. */
.card--offre {
  background: linear-gradient(160deg, var(--rose-soft), var(--sand));
  border-color: var(--nude);
  gap: 1rem;
}
.card--offre:hover { box-shadow: 0 26px 50px -30px rgba(194,98,107,.6); }

.card__badge {
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--rose-deep);
}
.card__offre-titre {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  line-height: 1.25;
  color: var(--ink);
}
.card--offre p {
  flex: 1;
  font-size: .93rem;
  color: var(--ink-soft);
}
.card--offre .btn { align-self: flex-start; font-size: .74rem; padding: .85rem 1.4rem; }

.stars { color: var(--rose); letter-spacing: .18em; font-size: .95rem; }

.card blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.42rem);
  line-height: 1.42;
  color: var(--ink);
  flex: 1;
}

.card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sand);
}

.avis__google { margin-top: 2.5rem; text-align: center; }

.avatar {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-size: .8rem;
  letter-spacing: .06em;
}
.card__author strong { display: block; font-weight: 500; font-size: .95rem; }
.card__author em {
  display: block;
  font-size: .78rem;
  color: var(--clay);
  font-style: normal;
  letter-spacing: .04em;
}

/* ---------- À propos ---------- */

.apropos { padding-top: 3rem; }

.apropos__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.apropos__photo { position: relative; }
.apropos__photo img {
  width: 100%;
  height: auto;          /* neutralise l'attribut height=, sinon il écrase l'aspect-ratio */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 200px 200px 20px 20px;
  filter: saturate(.94);
}
.apropos__photo::before {
  content: '';
  position: absolute;
  inset: -14px -14px 40px 26px;
  border: 1px solid var(--nude);
  border-radius: 200px 200px 20px 20px;
  z-index: -1;
}
.apropos__photo figcaption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
}

.apropos__text .section__title { margin-bottom: 1.6rem; }
.apropos__text p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 52ch; }
.apropos__text strong { color: var(--ink); font-weight: 500; }
.apropos__text .btn { margin-top: 1.4rem; }

.highlight {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--sand);
  border-left: 2px solid var(--rose);
  border-radius: 0 16px 16px 0;
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0 .4rem;
}
.highlight__badge {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--rose);
  flex: none;
}
.highlight p { font-size: .92rem; margin: 0; }

/* ---------- Services ---------- */

.services { padding-top: 3rem; }
.services__grid {
  display: grid;
  /* 4 blocs : on n'autorise que 4, 2 ou 1 colonne, jamais 3 — sinon case vide */
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: 20px;
  overflow: hidden;
}
.service {
  background: var(--cream);
  padding: clamp(1.9rem, 4.4vw, 2.8rem) clamp(1.4rem, 3.4vw, 2.2rem);
  transition: background .4s var(--ease);
}
.service:hover { background: #fff; }
.service__num {
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--rose);
}
.service__ico {
  width: clamp(48px, 9vw, 60px);
  height: clamp(48px, 9vw, 60px);
  display: block;
  margin: 1.4rem 0 .2rem;
  stroke: var(--clay);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke .4s var(--ease), transform .5s var(--ease);
}
.service:hover .service__ico { stroke: var(--rose); transform: translateY(-3px); }
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 1.7rem);
  margin: .6rem 0 .8rem;
}
.service p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- CTA ---------- */

.cta {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 10vw, 6.5rem) var(--gutter);
  margin: 0 auto;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cta__title em { color: #fff; font-style: italic; }
.cta__text { color: rgba(255,255,255,.85); margin-bottom: 2.2rem; }

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: clamp(3rem, 7vw, 4rem) var(--gutter) clamp(4.5rem, 9vw, 6rem);
  background: var(--cream);
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin-bottom: .8rem;
}
.footer__brand span { color: var(--rose); }
.footer__line { font-size: .92rem; }
.footer__line a {
  display: inline-block;
  padding: .5rem .4rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--nude);
  text-underline-offset: 5px;
}
.footer__line a:hover { color: var(--rose); text-decoration-color: var(--rose); }
.footer .sep { color: var(--taupe); margin: 0 .7rem; }
.footer__small {
  margin-top: 1.4rem;
  font-size: max(12px, .74rem);
  letter-spacing: .1em;
  color: var(--taupe);
}

/* ---------- Pages légales ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(7rem, 16vh, 9rem) var(--gutter) clamp(3rem, 8vw, 5rem);
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.legal__intro {
  color: var(--ink-soft);
  font-size: .92rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sand);
}
.legal section { margin-top: clamp(2.2rem, 5vw, 3rem); }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: .9rem;
}
.legal p { color: var(--ink-soft); margin-bottom: .9rem; }
.legal ul { color: var(--ink-soft); margin: 0 0 .9rem 1.1rem; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--rose); text-decoration: none; border-bottom: 1px solid var(--rose-soft); }
.legal a:hover { border-color: var(--rose); }

.legal dl {
  display: grid;
  grid-template-columns: minmax(140px, 30%) 1fr;
  gap: .1rem 1.5rem;
  margin-bottom: .5rem;
}
.legal dt {
  font-size: max(12px, .74rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay);
  padding: .75rem 0;
  border-top: 1px solid var(--sand);
}
.legal dd {
  color: var(--ink-soft);
  padding: .75rem 0;
  border-top: 1px solid var(--sand);
}

.legal__callout {
  background: var(--sand);
  border-left: 2px solid var(--rose);
  border-radius: 0 16px 16px 0;
  padding: 1.3rem 1.5rem;
  margin: 2rem 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* Champs restant à remplir avant la mise en ligne */
.todo {
  display: inline-block;
  background: var(--rose-soft);
  color: var(--rose-deep);
  border: 1px dashed var(--rose);
  border-radius: 4px;
  padding: .2em .5em;
  font-size: max(12px, .84em);
  letter-spacing: .03em;
}

.legal__updated {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-size: .82rem;
  color: var(--taupe);
}

.notfound { text-align: center; min-height: 58vh; }
.notfound h1 { margin-bottom: 1.2rem; }
.notfound p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.notfound__actions { margin-top: 2rem; }

.footer__legal {
  margin-top: .5rem;
  font-size: max(12px, .8rem);
}
.footer__legal a {
  display: inline-block;
  padding: .5rem .4rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.footer__legal a:hover { color: var(--rose); }

@media (max-width: 600px) {
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dt { padding-bottom: .1rem; }
  .legal dd { padding-top: .2rem; border-top: 0; }
  /* Liens de contact confortables au pouce */
  .legal dd a { display: inline-block; padding: .55rem 0; }
}

/* ---------- WhatsApp flottant ---------- */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 12px 30px -10px rgba(194,98,107,.9);
  transition: transform .35s var(--ease), background .35s;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); background: var(--rose-deep); }

/* ---------- Animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.avis__grid .card:nth-child(2)     { transition-delay: .1s; }
.avis__grid .card:nth-child(3)     { transition-delay: .2s; }
.services__grid .service:nth-child(2) { transition-delay: .1s; }
.services__grid .service:nth-child(3) { transition-delay: .2s; }

/* ---------- Responsive ---------- */

/* Écrans intermédiaires : le cercle rétrécit, la mise en page tient sur 2 colonnes.
   Les pastilles suivent toutes seules (container queries + offsets en %). */
@media (max-width: 1080px) {
  .hero__art { width: min(100%, 340px); }
  .orb--2 { right: -2%; }
}

/* Tablette portrait et moins : passage sur une colonne, header au-dessus du titre */
@media (max-width: 900px) {
  .nav__links { display: none; }

  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art {
    grid-row: 1;
    width: min(78%, 320px);
    margin: 0 auto clamp(1.2rem, 4vw, 2rem);
  }

  .services__grid { grid-template-columns: 1fr; }

  .apropos__grid { grid-template-columns: 1fr; }
  .apropos__photo { max-width: 340px; margin: 0 auto; }
  .apropos__photo::before { display: none; }  /* le cadre décalé n'a plus la place */
  .apropos__text p { max-width: none; }
}

@media (max-width: 900px) {
  /* Zones tactiles confortables au pouce (44px minimum) */
  .footer__legal a { padding: .8rem .55rem; }
  .footer__line a  { padding: .7rem .45rem; }
}

/* Tablette et petit portable : 2 x 2, la grille reste pleine */
@media (min-width: 601px) and (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero__art { width: min(84%, 280px); }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__promise { max-width: none; }
  .highlight { gap: .9rem; padding: 1.2rem 1.2rem; }
  .wa-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
}

/* Très petits écrans : on protège le cercle des pastilles qui débordent */
@media (max-width: 360px) {
  .hero__art { width: min(80%, 250px); }
  .orb--1 { left: -14%; }
  .orb--3 { left: -16%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
