/* ==========================================================================
   LienSerein — components.css
   Briques d'interface réutilisables : boutons, cartes, badges, notices,
   formulaires, accordéon, timeline, tarifs, citations, carrousels.
   ========================================================================== */

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--canard);
  color: #fff;
}

.btn--primary:hover {
  background: var(--canard-deep);
}

.btn--secondary {
  background: transparent;
  color: var(--canard-deep);
  border-color: var(--canard);
}

.btn--secondary:hover {
  background: var(--canard-wash);
}

.btn--accent {
  background: var(--or);
  color: var(--blanc);
}

.btn--accent:hover {
  background: var(--or-deep);
  color: var(--blanc);
}

.btn--on-dark {
  background: #fff;
  color: var(--canard-deep);
}

.btn--on-dark:hover {
  background: var(--canard-wash);
}

.btn--ghost {
  background: transparent;
  color: var(--canard-deep);
  border: none;
  border-bottom: 2px solid var(--rose);
  border-radius: 0;
  padding: 6px 2px;
}

.btn--ghost:hover {
  border-bottom-color: var(--canard);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
}

.btn-row--center {
  justify-content: center;
}

/* Flèche animée sur les liens « ghost » */
.btn--ghost .arrow,
.link-arrow .arrow {
  transition: transform var(--transition);
}

.btn--ghost:hover .arrow,
.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--canard-deep);
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--canard);
}

/* ==========================================================================
   CARTES
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--bd-soft);
  border-radius: var(--r-md);
  padding: var(--s5);
  box-shadow: var(--sh-sm);
}

.card--pad-lg {
  padding: var(--s6);
}

.card--link {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card--link:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--sauge);
}

/* Icône ronde de carte */
.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--sauge-wash);
  margin-bottom: var(--s2);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--sauge-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__icon--canard {
  background: var(--canard-wash);
}

.card__icon--canard svg {
  stroke: var(--canard-deep);
}

.card__icon--rose {
  background: var(--rose-wash);
}

.card__icon--rose svg {
  stroke: var(--rose-deep);
}

.card h3,
.card h4 {
  margin-bottom: var(--s2);
}

.card p {
  color: var(--taupe-fonce);
}

/* Carte « accompagnement » avec emoji/pictogramme et lien */
.offer-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  height: 100%;
}

.offer-card__ico {
  font-size: 1.8rem;
  line-height: 1;
}

.offer-card__title {
  font-family: var(--f-disp);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--encre);
}

.offer-card__text {
  color: var(--taupe-fonce);
  flex: 1;
}

/* ==========================================================================
   BADGES & PASTILLES
   ========================================================================== */
.badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .85rem;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  width: fit-content;
}

.badge--canard {
  background: var(--canard-wash);
  color: var(--canard-deep);
}

.badge--sauge {
  background: var(--sauge-wash);
  color: var(--sauge-deep);
}

.badge--rose {
  background: var(--rose-wash);
  color: var(--rose-deep);
}

.badge--or {
  background: var(--or-wash);
  color: #8a6a14;
}

.badge--out {
  background: transparent;
  border: 1px solid var(--bd-strong);
  color: var(--taupe-fonce);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

/* ==========================================================================
   NOTICES / ENCARTS
   ========================================================================== */
.notice {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s4) var(--s5);
  border-radius: var(--r-md);
  border: 1px solid;
  font-size: .95rem;
}

.notice svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice--info {
  background: var(--canard-wash);
  border-color: #BCD3D3;
  color: var(--canard-deep);
}

.notice--info svg {
  stroke: var(--canard-deep);
}

.notice--soft {
  background: var(--rose-wash);
  border-color: #E6CFCC;
  color: var(--rose-deep);
}

.notice--soft svg {
  stroke: var(--rose-deep);
}

.notice--sauge {
  background: var(--sauge-wash);
  border-color: #D8DFC2;
  color: var(--sauge-deep);
}

.notice--sauge svg {
  stroke: var(--sauge-deep);
}

.notice--feature {
  display: block;
  border: none;
  border-left: 4px solid var(--sauge-deep);
  border-radius: var(--r-sm);
  font-size: 1.15rem;
  line-height: 1.6;
  padding: var(--s5) var(--s6);
}

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.field {
  margin-bottom: var(--s4);
}

.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

.field .help {
  font-size: .8rem;
  color: var(--taupe-fonce);
  margin-top: 6px;
}

.field .req {
  color: var(--rose-deep);
}

.input,
.textarea,
.select {
  width: 100%;
  font-size: .98rem;
  padding: 12px 15px;
  background: var(--blanc);
  color: var(--encre);
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input::placeholder,
.textarea::placeholder {
  color: #A89D89;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--bd-focus);
  box-shadow: 0 0 0 3px var(--canard-wash);
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.input.is-error,
.textarea.is-error {
  border-color: var(--rose-deep);
}

.error-text {
  color: var(--rose-deep);
  font-size: .8rem;
  margin-top: 6px;
  font-weight: 500;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--canard);
  flex: none;
}

.form-card {
  background: var(--blanc);
  border: 1px solid var(--bd-soft);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--sh-sm);
}

/* ==========================================================================
   CITATIONS
   ========================================================================== */
.quote {
  font-family: var(--f-disp);
  font-style: italic;
  font-size: clamp(1.8rem, 2.5vw, 1.80rem);
  line-height: 1.4;
  color: var(--canard-deep);
  border-left: 3px solid var(--rose);
  padding-left: var(--s5);
  max-width: var(--read);
}

.quote--center {
  border-left: none;
  padding-left: 0;
  text-align: center;
  margin-inline: auto;
}

.quote cite {
  display: block;
  font-family: var(--f-body);
  font-style: normal;
  font-size: .9rem;
  font-weight: 600;
  color: var(--taupe-fonce);
  margin-top: var(--s3);
}

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonial {
  background: var(--blanc);
  border: 1px solid var(--bd-soft);
  border-left: 3px solid var(--sauge);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s5);
  height: 100%;
}

.testimonial__stars {
  color: var(--or);
  letter-spacing: 2px;
  font-size: .85rem;
  margin-bottom: var(--s3);
}

.testimonial__text {
  font-family: var(--f-disp);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--encre);
  margin-bottom: var(--s4);
}

.testimonial__author {
  font-weight: 600;
  color: var(--canard-deep);
  font-size: .95rem;
}

.testimonial__context {
  font-size: .8rem;
  color: var(--taupe-fonce);
  margin-top: 3px;
}

/* ==========================================================================
   ACCORDÉON (FAQ)
   ========================================================================== */
.accordion {
  max-width: var(--read);
  margin-inline: auto;
}

.accordion__item {
  border-bottom: 1px solid var(--bd-soft);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  width: 100%;
  text-align: left;
  padding: var(--s5) var(--s2);
  font-family: var(--f-disp);
  font-size: 1.35rem;
  color: var(--encre);
  transition: color var(--transition);
}

.accordion__trigger:hover {
  color: var(--canard);
}

.accordion__icon {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--canard);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform var(--transition);
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-slow);
}

.accordion__panel-inner {
  padding: 0 var(--s2) var(--s5);
  color: var(--taupe-fonce);
}

.accordion__panel-inner p+p {
  margin-top: var(--s3);
}
.accordion__panel-inner {
  padding: 0 var(--s2) var(--s5);
  color: var(--taupe-fonce);
  font-size: 1.08rem;   /* ≈ 17 px */
  line-height: 1.7;
}

/* ==========================================================================
   ÉTAPES NUMÉROTÉES / TIMELINE
   ========================================================================== */
.steps {
  display: grid;
  gap: var(--s5);
  counter-reset: step;
}

.steps--row {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  position: relative;
  padding-left: var(--s8);
}

.steps--row .step {
  padding-left: 0;
  padding-top: var(--s8);
}

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--canard-deep);
  background: var(--canard-wash);
  border-radius: var(--r-pill);
}

.steps--row .step__num {
  left: 0;
}

.step h4 {
  margin-bottom: var(--s2);
}

.step p {
  color: var(--taupe-fonce);
}

/* Étapes empilées verticalement, reliées par des chevrons descendants
   (variante de .steps pour un parcours en une colonne, cf. page pro) */
.chevron-steps {
  display: flex;
  flex-direction: column;
  max-width: var(--read);
  margin-inline: auto;
}

.chevron-steps__item {
  position: relative;
}

.chevron-steps__item .step__num {
  position: static;
  margin-bottom: var(--s3);
}

.chevron-steps__arrow {
  display: flex;
  justify-content: center;
  padding: var(--s2) 0;
}

.chevron-steps__arrow svg {
  width: 28px;
  height: 28px;
  stroke: var(--canard-deep);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Timeline verticale (parcours) */
.timeline {
  position: relative;
  padding-left: var(--s6);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--bd-strong);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--s6);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(var(--s6) * -1 + 1px);
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: var(--r-pill);
  background: var(--sauge);
  border: 3px solid var(--creme);
}

.timeline__date {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sauge-deep);
}

.timeline__item h4 {
  margin: 4px 0 6px;
}

.timeline__item p {
  color: var(--taupe-fonce);
}

/* ==========================================================================
   PILIERS / VALEURS (liste à puces douces)
   ========================================================================== */
.feature-list {
  display: grid;
  gap: var(--s4);
  max-width: var(--read);
}

.feature {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.feature__mark {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--rose-wash);
}

.feature__mark svg {
  width: 20px;
  height: 20px;
  stroke: var(--rose-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h4 {
  margin-bottom: 4px;
}

.feature p {
  color: var(--taupe-fonce);
  margin: 0;
}

/* Liste « propre » à pastilles roses */
.clean-list {
  display: grid;
  gap: 0;
  max-width: var(--read);
}

.clean-list li {
  position: relative;
  padding: var(--s3) 0 var(--s3) var(--s5);
  border-bottom: 1px solid var(--bd-soft);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--rose);
}

/* ==========================================================================
   GRILLE TARIFAIRE
   ========================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanc);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--bd-soft);
}

.pricing-table th,
.pricing-table td {
  padding: var(--s4) var(--s5);
  text-align: left;
}

.pricing-table thead th {
  background: var(--canard-deep);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
}

.pricing-table tbody tr+tr {
  border-top: 1px solid var(--bd-soft);
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--creme);
}

.pricing-table .price {
  font-family: var(--f-disp);
  font-size: 1.1rem;
  color: var(--canard-deep);
  white-space: nowrap;
}

.pricing-table .muted {
  color: var(--taupe-fonce);
  font-size: .9rem;
}

@media (max-width: 560px) {
  .pricing-table thead {
    display: none;
  }

  .pricing-table tbody td {
    display: block;
    padding: var(--s2) var(--s5);
  }

  .pricing-table tbody td:first-child {
    padding-top: var(--s4);
    font-weight: 600;
  }

  .pricing-table tbody td:last-child {
    padding-bottom: var(--s4);
  }

  .pricing-table tbody tr {
    display: block;
  }
}

/* ==========================================================================
   CARROUSEL (slider générique : empathie, témoignages)
   ========================================================================== */
.slider {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.slider__slide {
  min-width: 100%;
  padding-inline: var(--s2);
}

.slider__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s5);
}

.slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--canard);
  color: var(--canard);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
}

.slider__arrow:hover {
  background: var(--canard);
  color: #fff;
}

.slider__dots {
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--bd-strong);
  transition: background var(--transition);
}

.slider__dot[aria-current="true"] {
  background: var(--canard);
}

/* ==========================================================================
   ÉTIQUETTE PHOTO / ESPACE RÉSERVÉ IMAGE
   ========================================================================== */
.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--blob {
  border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%;
}

/* ==========================================================================
   CHECK-GRID ("Ça vous parle ?" — items sélectionnables)
   ========================================================================== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s3);
  margin-top: var(--s6);
}

.check-card {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: var(--blanc);
  border: 1.5px solid var(--bd-soft);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.check-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.check-card__ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rose-wash);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.check-card__ico svg {
  width: 14px;
  height: 14px;
  stroke: var(--rose-deep);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-card p {
  margin: 0;
  color: var(--encre);
  font-size: .97rem;
  line-height: 1.5;
}

/* ==========================================================================
   CARD__TOP — icône + titre sur la même ligne
   ========================================================================== */
.card__top {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.card__top .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card__top h3,
.card__top h4 {
  margin-bottom: 0;
}

.card:not(.card--link)>.card__top {
  margin-bottom: var(--s2);
}

/* ==========================================================================
   PRO-LIST — liste des interventions (espace pro)
   ========================================================================== */
.pro-list {
  display: grid;
  gap: var(--s3);
}

.pro-list__item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s4) var(--s5);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-md);
  transition: background var(--transition);
}

.pro-list__item:hover {
  background: rgba(255, 255, 255, .1);
}

.pro-list__ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(138, 154, 91, .22);
  display: grid;
  place-items: center;
}

.pro-list__ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--sauge);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pro-list__item strong {
  display: block;
  color: #EAF3F2;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: .95rem;
}

.pro-list__item p {
  color: #9FBFBC;
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
}

/* Réservation d'image (placeholder) en attendant les visuels définitifs */
.img-placeholder {
  display: grid;
  place-items: center;
  gap: var(--s2);
  background: var(--sauge-wash);
  border: 1.5px dashed var(--taupe);
  border-radius: var(--r-lg);
  color: var(--sauge-deep);
  text-align: center;
  padding: var(--s6);
  min-height: 220px;
}

.img-placeholder svg {
  width: 36px;
  height: 36px;
  stroke: var(--sauge-deep);
  stroke-width: 1.4;
}

.img-placeholder span {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .04em;
}

.img-placeholder small {
  font-size: .72rem;
  color: var(--taupe-fonce);
  font-style: italic;
  max-width: 30ch;
}

/* ==========================================================================
   ARBRE FILIGRANE
   Explication de l'animation (@keyframes tree-shimmer) :
   - stroke-dasharray: 2000 999999; crée un trait visible de longueur 2000, 
     suivi d'un vide de 999999 (plus grand que l'arbre) pour avoir un seul trait.
   - stroke-dashoffset passe de 0 à -40000 : fait glisser le motif vers l'avant.
   - En 10s (vitesse 4000 unités/s), le trait traverse l'arbre, puis le vide 
     continue d'avancer. Cela crée un délai d'attente avant la boucle suivante.
   ========================================================================== */
@keyframes tree-shimmer {
  from {
    stroke-dashoffset: -2000;
  }

  to {
    stroke-dashoffset: -42000;
  }
}

.tree-deco {
  position: absolute;
  bottom: -5%;
  width: 380px;
  height: 450px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.tree-deco--left {
  left: -190px;
}

.tree-deco--right {
  right: -190px;
}

.tree-deco--lg {
  width: 460px;
  height: 476px;
}

.tree-deco--lg.tree-deco--left {
  left: -230px;
}

.tree-deco--lg.tree-deco--right {
  right: -230px;
}

.tree-deco--xl {
  width: 560px;
  height: 579px;
}

.tree-deco--xl.tree-deco--left {
  left: -280px;
}

.tree-deco--xl.tree-deco--right {
  right: -280px;
}

.tree-deco svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tree-deco__base {
  fill: none;
  stroke: var(--sauge-deep, #449674);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}

.tree-deco__anim {
  fill: none;
  stroke: var(--sauge-deep, #449674);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2000 999999;
  animation: tree-shimmer 10s linear infinite;
  filter: drop-shadow(0 0 4px rgba(68, 150, 116, 0.55));
  opacity: 0.75;
}

@keyframes bird-shimmer {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -8000;
  }
}


.tree-deco__bird_base {
  fill: none;
  stroke: var(--sauge-deep, #449674);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
}

.tree-deco__bird {
  fill: none;
  stroke: var(--or, #C9A33E);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500 999999;
  animation: bird-shimmer 8s linear infinite;
  filter: drop-shadow(0 0 4px rgba(201, 163, 62, 0.6));
  opacity: 0.85;
}

.tree-deco--soft {
  opacity: 0.1;
}

/* ==========================================================================
   POLAROID
   Photo « posée », petit relief papier (galbe + ombre portée), utilisée en
   accent décoratif ponctuel (jamais plus de 2-3 par page).
   ========================================================================== */
.polaroid {
  --polaroid-size: 200px;
  display: inline-block;
  background: var(--blanc-pur);
  padding: 10px 10px 32px;
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(42, 39, 35, .15),
    0 14px 24px -10px rgba(42, 39, 35, .35);
  position: relative;
}

.polaroid img {
  display: block;
  width: var(--polaroid-size);
  height: var(--polaroid-size);
  object-fit: cover;
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 16%),
    linear-gradient(155deg, rgba(255, 255, 255, 0) 60%, rgba(42, 39, 35, .10) 100%);
}

.polaroid--sm {
  --polaroid-size: 170px;
}

.polaroid--lg {
  --polaroid-size: 190px;
}

/* positionnement décoratif (même logique que .tree-deco : absolu dans une
   section position:relative;overflow:hidden) */
.polaroid-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 880px) {
  .polaroid-deco {
    display: none;
  }
}

/* variante pour les décors posés à côté d'un .container--read (plus large,
   moins de marge latérale que .container--narrow) : on masque plus tôt pour
   éviter le chevauchement avec le texte */
@media (max-width: 1100px) {
  .polaroid-deco--tight {
    display: none;
  }
}
/* petit duo de 2 polaroids en vrac, pour un coin de section — toujours
   utilisé avec .polaroid-deco, qui fournit le position:absolute (sert
   aussi de repère pour les .polaroid enfants en position:absolute) */
.polaroid-pile {
  width: 420px;
  height: 360px;
}
.polaroid-pile .polaroid:nth-child(1) {
  top: 70px;
  left: 140px;
  transform: rotate(7deg);
  z-index: 1;
}

.polaroid-pile .polaroid:nth-child(2) {
  top: 0;
  left: 20px;
  transform: rotate(-6deg);
  z-index: 2;
}}