/* pablo.bzh — feuille de style v1 (vanilla, responsive)
   Palette : le vrai Pablo. Blanc fourrure, encre marine du trait, red point corail
   pour l'unique accent, œil bleu délavé pour les liens, sauge pour le portrait et le pied. */

:root {
  --blanc: #fcfcfa;
  --encre: #122243;
  --corail: #e88a7d;
  --corail-fonce: #d3705f;
  --oeil: #4d7d9e;
  --pale: #eef4f8;
  --sauge: #9db38a;
  --sauge-fonce: #7f9670;
  --gris: #5b6473;
  --mesure: 62ch;
  --gouttiere: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.1875rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--oeil); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--corail-fonce); }
a:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--corail);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.15em; font-weight: 500; margin-bottom: 0.25rem; }
p { margin: 0 0 1em; max-width: var(--mesure); }

/* --- en-tête --- */
.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 1rem var(--gouttiere);
  border-bottom: 1px solid var(--pale);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--encre); text-decoration: none; font-weight: 500; }
.brand img { border-radius: 6px; }
.top nav { display: flex; gap: 1.25rem; }
.top nav a { color: var(--encre); text-decoration: none; font-weight: 400; }
.top nav a:hover { color: var(--corail-fonce); text-decoration: underline; }

/* --- sections --- */
main { padding: 0 var(--gouttiere); min-width: 0; }
section > * { min-width: 0; }
section { padding-block: clamp(2.5rem, 7vw, 5rem); max-width: 68rem; margin-inline: auto; }
section + section { border-top: 1px solid var(--pale); }

/* le red point : un repère corail devant chaque titre de section */
h2::before {
  content: '';
  display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%;
  background: var(--corail); margin-right: 0.45em; vertical-align: 0.18em;
}

/* --- hero --- */
.hero { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; padding-top: clamp(1.5rem, 5vw, 4rem); }
.portrait { width: 100%; border-radius: 1.25rem; justify-self: center; }
.hero-text p { font-size: 1.1em; color: var(--gris); }
@media (min-width: 46rem) {
  .hero { grid-template-columns: minmax(14rem, 2fr) 3fr; gap: 3rem; }
  .portrait { width: 100%; }
}

.cta {
  display: inline-block; margin-top: 0.5rem; text-align: center;
  padding: 0.7em 1.3em; border-radius: 999px;
  background: var(--corail); color: var(--encre);
  font-weight: 500; text-decoration: none;
}
.cta:hover { background: var(--corail-fonce); color: var(--blanc); }
/* smartphone : boutons et portrait en pleine largeur */
@media (max-width: 45.99rem) {
  .cta { display: block; width: 100%; }
}

/* --- outils à un clic : le composant limpide --- */
.tools ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.tools li { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; border: 1px solid var(--pale); border-radius: 0.9rem; background: var(--blanc); }
.tools li a { font-weight: 500; font-size: 1.1em; text-decoration: none; }
.tools li a::before { content: ''; display: inline-block; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--corail); margin-right: 0.5em; vertical-align: 0.1em; }
.tools li span { color: var(--gris); }
@media (min-width: 46rem) {
  .tools ul { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
}

/* --- services : une liste à filets, pas des cartes --- */
.services dl { margin: 0; display: grid; gap: 0; }
.services dl > div { padding: 1.25rem 0; border-top: 1px solid var(--pale); display: grid; gap: 0.35rem 2rem; }
.services dl > div:last-child { border-bottom: 1px solid var(--pale); }
.services dt { font-weight: 500; font-size: 1.15em; }
.services dd { margin: 0; max-width: var(--mesure); color: var(--gris); }
@media (min-width: 46rem) {
  .services dl > div { grid-template-columns: 16rem 1fr; }
}

/* --- comment ça marche : une vraie séquence, donc numérotée --- */
.how ol { list-style: none; margin: 0; padding: 0; counter-reset: etape; display: grid; gap: 1.5rem; }
.how li { counter-increment: etape; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 0.75rem; align-items: start; }
.how li > * { grid-column: 2; min-width: 0; }
.how li::before {
  grid-column: 1; grid-row: 1 / span 2;
  content: counter(etape);
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--pale); color: var(--oeil); font-weight: 500;
}
.how li p { color: var(--gris); margin: 0; }
@media (min-width: 46rem) {
  .how ol { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .how li { grid-template-columns: 1fr; gap: 0.75rem; }
  .how li > *, .how li::before { grid-column: 1; grid-row: auto; }
}

/* --- CHATON / origine / adhérer --- */
.chaton, .origin { }
.join { background: var(--pale); border-radius: 1.25rem; padding-inline: var(--gouttiere); max-width: 68rem; }
.join + * { border-top: 0; }

/* --- pied de page --- */
.foot { margin-top: clamp(2.5rem, 7vw, 5rem); background: var(--sauge); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) var(--gouttiere); }
.foot-inner { max-width: 68rem; margin-inline: auto; }
.foot p { margin-bottom: 0.6em; }
.foot-name { font-weight: 500; font-size: 1.1em; }
.foot a { color: #fff; }
.foot a:hover { color: var(--encre); }
.foot-small { font-size: 0.9em; opacity: 0.92; margin-top: 1.5rem; }
