/* Optimisations de conversion ajoutées à l'export statique : identité existante conservée. */
[data-ost-hidden-section] {
  display: none !important;
}

[data-ost-simple-form] {
  margin-top: 3rem;
}

[data-ost-simple-form] label {
  display: block;
  color: #183c32;
  font-weight: 600;
  font-size: 0.9375rem;
}

[data-ost-simple-form] input,
[data-ost-simple-form] select,
[data-ost-simple-form] textarea {
  width: 100%;
  margin-top: 0.5rem;
  border: 2px solid #e5d8c4;
  border-radius: 0.75rem;
  background: #fffdf7;
  color: #183c32;
  padding: 0.75rem 1rem;
  font: inherit;
  line-height: 1.5;
}

[data-ost-simple-form] textarea {
  min-height: 7rem;
  resize: vertical;
}

[data-ost-simple-form] input:focus,
[data-ost-simple-form] select:focus,
[data-ost-simple-form] textarea:focus {
  outline: none;
  border-color: #2f6b57;
}

[data-ost-simple-form] .ost-form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  [data-ost-simple-form] .ost-form-grid--two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Finition V3 : rythme discret et cartes de témoignages plus vivantes. */
.ost-intro-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 1.25rem auto 0;
}

@media (min-width: 1024px) {
  [data-ost-testimonials] .ost-testimonial-grid {
    display: flex;
    width: 100%;
    max-width: 1000px;
    flex-direction: column;
    gap: 22px;
    margin: 3rem auto 0;
  }

  [data-ost-testimonials] .ost-testimonial-grid > article {
    box-sizing: border-box;
    width: 80%;
    max-width: 760px;
    margin: 0;
    transform: none;
  }

  [data-ost-testimonials] .ost-testimonial-grid > article:nth-child(1) {
    margin-right: auto;
  }

  [data-ost-testimonials] .ost-testimonial-grid > article:nth-child(2) {
    margin-left: auto;
  }

  [data-ost-testimonials] .ost-testimonial-grid > article:nth-child(3) {
    margin-left: 52px;
    margin-right: auto;
  }
}

@media (max-width: 1023px) {
  [data-ost-testimonials] .ost-testimonial-grid {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 20px;
  }

  [data-ost-testimonials] .ost-testimonial-grid > article {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }
}

.ost-testimonial-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: rgba(24, 60, 50, 0.72);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.ost-testimonial-identity strong {
  display: block;
}

.ost-testimonial-identity strong {
  color: #183c32;
  font-size: 0.875rem;
}

.ost-testimonial-avatar {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border: 1px solid #e5d8c4;
  border-radius: 9999px;
  background: #fffdf7;
  object-fit: cover;
  object-position: center;
}

[data-ost-simple-form] .ost-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(24, 60, 50, 0.8);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
}

[data-ost-simple-form] .ost-form-consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
  accent-color: #b75b3b;
}

[data-ost-simple-form] .ost-form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[data-ost-simple-form] .ost-form-error {
  margin-top: 1rem;
  color: #a4432e;
  font-size: 0.875rem;
  font-weight: 600;
}

[data-ost-simple-form] .ost-form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

[data-ost-simple-form] .ost-form-note {
  margin-top: 1rem;
  text-align: center;
  color: rgba(24, 60, 50, 0.65);
  font-size: 0.75rem;
}

.ost-calendly-card {
  width: 100%;
  max-width: 48rem;
  margin: 2.25rem auto 0;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: #fffdf7;
  box-shadow: 0 18px 45px rgba(24, 60, 50, 0.12);
  text-align: center;
}

.ost-calendly-card p {
  max-width: 36rem;
  margin: 0.75rem auto 1.5rem;
  color: rgba(24, 60, 50, 0.82);
}

.ost-calendly-card iframe {
  display: block;
  width: 100%;
  min-width: 320px;
  height: 700px;
  border: 0;
}

@media (max-width: 639px) {
  [data-ost-simple-form] {
    margin-top: 2rem;
  }

  .ost-calendly-card {
    padding: 1rem;
  }

  .ost-calendly-card iframe {
    min-width: 0;
    height: 680px;
  }

  [data-ost-collage] {
    padding: 0.75rem 1.25rem 4rem 1.5rem;
  }

  [data-ost-collage] > div:first-child {
    width: 84%;
    margin-left: auto;
  }

  [data-ost-collage] > div:nth-child(2) {
    display: block !important;
    bottom: 0.25rem !important;
    left: 0 !important;
    z-index: 30 !important;
    width: 38% !important;
  }

  [data-ost-collage] > div:nth-child(3) {
    display: block !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
    width: 32% !important;
  }
}

@media (min-width: 640px) {
  [data-ost-collage] {
    padding: 1rem 1.75rem 4.75rem 2rem;
  }

  [data-ost-collage] > div:first-child {
    width: 84%;
    margin-left: auto;
  }

  [data-ost-collage] > div:nth-child(2) {
    bottom: 0 !important;
    left: 0 !important;
    z-index: 30 !important;
    width: 42% !important;
  }

  [data-ost-collage] > div:nth-child(3) {
    top: 0 !important;
    right: 0 !important;
    z-index: 20 !important;
    width: 34% !important;
  }
}
