
/* =========================================
   CHLOÉ & MARIN — UNIVERS FLORAL
   Blanc rosé • Mauve • Rose poudré
========================================= */

:root {
  --pink: #F1C5E1;
  --pink-light: #FFF7FA;
  --mauve: #92519C;
  --mauve-dark: #61266F;
  --mauve-light: #EBD8EF;
  --white: #FFFFFF;
  --text: #512F59;
  --muted: #826D86;
  --border: #D9B5DE;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #FFF8FB;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 18px;
}

h1 { font-size: clamp(3rem, 8vw, 5rem); }
h2 { font-size: 2rem; }

/* ACCUEIL */

.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 12% 15%, rgba(241,197,225,.45), transparent 35%),
    radial-gradient(circle at 90% 85%, rgba(146,81,156,.09), transparent 35%),
    #FFF8FB;
}

.hero {
  padding: 30px;
  max-width: 800px;
}

.hero h1 span {
  color: var(--pink);
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--mauve);
}

.date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  margin: 0 0 10px;
}

.intro {
  color: var(--muted);
  margin-bottom: 30px;
}

/* BOUTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mauve);
  background: var(--mauve);
  color: white;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  font: 600 .9rem Inter, sans-serif;
  transition: .25s;
}

.button:hover {
  background: var(--mauve-dark);
  transform: translateY(-2px);
}

.button.full { width: 100%; }

.button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ghost-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: 500 .85rem Inter, sans-serif;
  color: var(--mauve);
}

.text-link {
  font-size: .85rem;
  color: var(--mauve);
}

/* NAVIGATION */

.topbar {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(255,250,252,.96);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  color: var(--mauve-dark);
}

/* CONTENU */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 65px 24px;
}

.page.narrow {
  max-width: 720px;
}

.welcome {
  margin-bottom: 42px;
  text-align: center;
}

.welcome h1 {
  color: var(--mauve-dark);
}

.welcome .muted {
  font-size: 1.05rem;
}

/* CARTES DES MENUS */

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

.tile,
.card {
  position: relative;
  overflow: hidden;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(97,38,111,.07);
}

.tile {
  min-height: 245px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: .3s ease;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Photos florales réelles */

.tile:nth-child(1) {
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.96) 38%,
      rgba(255,255,255,.08) 100%),
    url("fleur-reponses.jpg");
}

.tile:nth-child(2) {
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.96) 38%,
      rgba(255,255,255,.08) 100%),
    url("fleur-infos.jpg");
}

.tile:nth-child(3) {
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.96) 38%,
      rgba(255,255,255,.08) 100%),
    url("fleur-photos.jpg");
}

.tile:nth-child(4) {
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.96) 38%,
      rgba(255,255,255,.08) 100%),
    url("fleur-menu.jpg");
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--mauve);
  box-shadow: 0 16px 38px rgba(97,38,111,.14);
}

.tile h2 {
  color: var(--mauve-dark);
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.tile p {
  color: #755D7B;
  margin: 0;
  max-width: 230px;
  position: relative;
  z-index: 1;
}

.tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(241,197,225,.48);
  color: var(--mauve-dark);
  font-size: 1.55rem;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* CARTES ET ENCADRÉS */

.card {
  padding: clamp(26px, 5vw, 48px);
}

.card h1 {
  color: var(--mauve-dark);
}

/* CONNEXION */

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 10% 15%, rgba(241,197,225,.5), transparent 35%),
    radial-gradient(circle at 90% 85%, rgba(146,81,156,.1), transparent 35%),
    #FFF8FB;
}

.auth-card {
  width: min(100%, 480px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(97,38,111,.12);
  background-color: white;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.94) 58%,
      rgba(255,255,255,.52) 100%),
    url("fleur-connexion.jpg");
  background-size: cover;
  background-position: center;
}

/* FORMULAIRES */

.auth-card form {
  margin: 28px 0;
}

label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  margin: 18px 0 8px;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 13px;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mauve);
  box-shadow: 0 0 0 3px rgba(146,81,156,.1);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 28px 0;
}

legend {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 12px;
}

.choice {
  font-weight: 400;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  padding: 13px;
  border-radius: 11px;
  margin: 8px 0;
}

.choice input {
  width: auto;
  margin-right: 8px;
}

/* TEXTES ET MESSAGES */

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

.small {
  font-size: .82rem;
  color: var(--muted);
}

.message {
  min-height: 24px;
  margin: 15px 0;
  color: var(--muted);
  font-size: .9rem;
}

.message.error { color: #A33358; }
.message.success { color: #386447; }

/* INFORMATIONS */

.info-list {
  display: grid;
  gap: 18px;
}

.info-list > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.info-list > div:last-child { border-bottom: 0; }

.info-list p {
  margin: 5px 0 0;
  color: var(--muted);
}

/* PHOTOS */

.upload-box {
  padding: 22px;
  border: 1px dashed var(--mauve);
  border-radius: 16px;
  background: #FFF7FA;
}

.section-title {
  margin-top: 48px;
  color: var(--mauve-dark);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-grid figure {
  margin: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 8px 10px;
  font-size: .72rem;
  color: var(--muted);
}

code {
  font-size: .85em;
  background: #F8EAF3;
  padding: 2px 5px;
  border-radius: 5px;
}

/* MOBILE */

@media(max-width: 700px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 42px 18px;
  }

  .tile {
    min-height: 220px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    padding: 0 18px;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero h1 {
    font-size: 3.6rem;
  }
}
