/* Feuille de style partagée par toutes les pages Clairflow.
   Basée sur la charte graphique v1 — univers bien-être :
   dégradé turquoise → lagon → lavande → violet, Poppins + Inter. */

:root {
  /* Palette de marque */
  --turquoise: #3BA8A1;
  --lagon:     #009BB5;
  --bleu-clair:#0089C0;
  --lavande:   #5873B9;
  --violet:    #86579D;
  --framboise: #9C3A6F; /* réservé promos / badges */

  --degrade: linear-gradient(135deg, #3BA8A1 0%, #009BB5 40%, #5873B9 75%, #86579D 100%);

  /* Neutres */
  --fond:      #FFFFFF;
  --fond-2:    #F8FAFC;
  --carte:     #F4F6F8;
  --texte:     #334155;
  --texte-2:   #64748B;
  --bordure:   #E5E7EB;

  --titre: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --rayon: 16px;
  --ombre: 0 8px 24px rgba(51, 65, 85, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--corps);
  color: var(--texte);
  background: var(--fond);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .cta {
  font-family: var(--titre);
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* --- Marque --- */
.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  margin: 0 0 2.5rem;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

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

/* --- Icône de validation (page merci) --- */
.check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--degrade);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  box-shadow: 0 8px 20px rgba(88, 115, 185, 0.28);
}

.check svg { width: 32px; height: 32px; }

/* --- Hero --- */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: var(--texte);
}

.lead {
  font-size: 1.2rem;
  color: var(--texte-2);
  max-width: 42ch;
  margin: 0 0 2rem;
}

/* --- Boutons --- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta {
  display: inline-block;
  background: var(--degrade);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(88, 115, 185, 0.25);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(88, 115, 185, 0.32);
}

.cta--ghost {
  background: #fff;
  color: var(--turquoise);
  border: 1.5px solid var(--turquoise);
  box-shadow: none;
}

.cta--ghost:hover {
  background: var(--fond-2);
}

/* --- Services (cartes) --- */
.services {
  margin: 4rem 0 0;
}

.services h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  display: block;
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--texte);
  box-shadow: var(--ombre);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(51, 65, 85, 0.1);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.card p {
  margin: 0;
  color: var(--texte-2);
  font-size: 0.95rem;
}

/* ==========================================================
   Page Offre (ClairFlow Présence)
   ========================================================== */

/* --- Carte héro en dégradé --- */
.hero-card {
  background: var(--degrade);
  border-radius: 24px;
  padding: 3.25rem 2rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 44px rgba(88, 115, 185, 0.28);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-card h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin: 0 0 1rem;
}

.hero-card .lead {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 1.75rem;
  max-width: 48ch;
}

.hero-card .lead strong { color: #fff; }

/* --- En-tête de section --- */
.section-head {
  text-align: center;
  margin: 4.5rem 0 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--texte-2);
  margin: 0;
}

/* --- Formules / tarifs --- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.plan {
  position: relative;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 2rem 1.75rem;
  box-shadow: var(--ombre);
}

.plan--reco { border: 2px solid var(--turquoise); }

.plan__reco {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--framboise);
  color: #fff;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
}

.plan h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.price-setup {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--turquoise);
  font-size: 2.5rem;
  line-height: 1;
}

.price-detail {
  color: var(--texte-2);
  font-size: 0.9rem;
  line-height: 1.4;
}

.plan__tag {
  color: var(--texte-2);
  margin: 0.6rem 0 1rem;
}

.plan__group {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texte-2);
  margin: 1.35rem 0 0.5rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.65rem 0;
  color: var(--texte);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--turquoise);
}

.plan__note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--texte-2);
  margin: 1.35rem 0 0;
}

.plans-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Bouton pleine largeur dans une carte (page paiement) */
.plan .cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

/* --- Cohérence des supports (image de présentation) --- */
.showcase { text-align: center; }

.showcase__img {
  display: block;
  max-width: min(100%, 500px);
  height: auto;
  margin: 0 auto;
  border-radius: var(--rayon);
  box-shadow: 0 16px 44px rgba(51, 65, 85, 0.14);
}

/* --- Pourquoi ClairFlow (colonnes) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.5rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.feature p {
  color: var(--texte-2);
  margin: 0;
  font-size: 0.95rem;
}

.feature:nth-child(1) h3 { color: var(--turquoise); }
.feature:nth-child(2) h3 { color: var(--lagon); }
.feature:nth-child(3) h3 { color: var(--violet); }

/* --- Encart rentabilité --- */
.callout {
  background: rgba(134, 87, 157, 0.06);
  border: 1px solid rgba(134, 87, 157, 0.18);
  border-radius: var(--rayon);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}

.callout h3 {
  color: var(--violet);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.callout p { margin: 0; }
.callout strong { color: var(--violet); }

/* --- Spécialités --- */
.specialties { text-align: center; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.tag {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--texte-2);
}

.specialties__note {
  color: var(--texte-2);
  font-size: 0.9rem;
  max-width: 52ch;
  margin: 1.25rem auto 0;
}

/* ==========================================================
   Pages d'exemple (démos de vitrines praticiens)
   ========================================================== */

.demo-bar {
  background: var(--texte);
  color: #fff;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-family: var(--titre);
  font-weight: 500;
}

.demo-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.vitrine-hero {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--degrade);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(88, 115, 185, 0.28);
}

.vitrine-hero h1 { margin: 0 0 0.4rem; }

.vitrine-hero .discipline {
  color: var(--turquoise);
  font-family: var(--titre);
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.vitrine-hero .loc {
  color: var(--texte-2);
  margin: 0;
  font-size: 0.95rem;
}

.vitrine h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.prestations { list-style: none; padding: 0; margin: 0; }

.prestation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--bordure);
}

.prestation .p-nom { font-weight: 500; }
.prestation .p-desc { color: var(--texte-2); font-size: 0.9rem; }

.prestation .p-prix {
  font-family: var(--titre);
  font-weight: 600;
  color: var(--turquoise);
  white-space: nowrap;
}

.infos { color: var(--texte-2); line-height: 1.9; margin: 0; }
.infos strong { color: var(--texte); font-weight: 600; }

/* Note "exemple" sur la section réalisations */
.exemples-note {
  text-align: center;
  color: var(--texte-2);
  font-size: 0.9rem;
  margin: 0 auto 1.5rem;
  max-width: 52ch;
}

.card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--turquoise);
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Contenu générique --- */
.content { margin: 2.5rem 0; }

form label {
  display: block;
  margin: 1rem 0;
  font-weight: 600;
}

form input,
form textarea,
form select {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--bordure);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(59, 168, 161, 0.15);
}

/* Ligne case à cocher (consentement) */
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--texte-2);
  line-height: 1.5;
}

.check-line input {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Groupe de deux champs côte à côte */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 1rem;
}

/* --- Footer --- */
.site-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
  color: var(--texte-2);
  font-size: 0.9rem;
}

.site-footer strong {
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer a { color: var(--turquoise); }

.legal-links {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}
