/* Accueil one-page YIETOO */

.yietoo-home .hero-title {
  margin-bottom: 1rem;
  line-height: 1.15;
}

.yietoo-home .yietoo-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.yietoo-home .yietoo-client-logo:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.yietoo-home .yietoo-client-logo img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none !important;
}

html[data-theme="dark"] .yietoo-home .yietoo-client-logo {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.yietoo-home .yietoo-partner-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-radius: 14px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: transform 0.25s, box-shadow 0.25s;
}

.yietoo-home .yietoo-partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.yietoo-home .yietoo-partner-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

html[data-theme="dark"] .yietoo-home .yietoo-partner-card__logo {
  background: color-mix(in srgb, var(--default-color), transparent 92%);
}

.yietoo-home .yietoo-partner-card__logo img {
  max-height: 44px;
  max-width: 160px;
  object-fit: contain;
  filter: none !important;
}

.yietoo-home .yietoo-partner-card h5 {
  margin-bottom: 0.65rem;
  color: var(--heading-color);
}

.yietoo-home .yietoo-partner-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.yietoo-home .gallery-item.tall img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  border-radius: 12px;
}

.yietoo-home .why-us .showcase-image img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.yietoo-home .reach-card a {
  color: inherit;
  text-decoration: none;
}

.yietoo-home .reach-card a:hover {
  color: var(--accent-color);
}

.yietoo-home .yietoo-contact-form .dispatch-btn {
  cursor: pointer;
}

.yietoo-home .yietoo-contact-offers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.yietoo-home .yietoo-contact-offers__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 52px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--default-color), transparent 92%);
}

html[data-theme="light"] .yietoo-home .info-panel .yietoo-contact-offers__item {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.yietoo-home .yietoo-contact-offers__item--web,
.yietoo-home .yietoo-contact-offers__item--support {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

html[data-theme="light"] .yietoo-home .info-panel .yietoo-contact-offers__item--web,
html[data-theme="light"] .yietoo-home .info-panel .yietoo-contact-offers__item--support {
  background: #fff;
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
}

.yietoo-home .yietoo-contact-offers__item img {
  max-height: 36px;
  max-width: 88px;
  width: auto;
  object-fit: contain;
  filter: none !important;
}

.yietoo-home .yietoo-contact-offers__icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--heading-color);
}

html[data-theme="light"] .yietoo-home .info-panel .yietoo-contact-offers__icon {
  color: var(--heading-color);
}

html[data-theme="dark"] .yietoo-home .yietoo-contact-offers__icon {
  color: var(--heading-color);
}

.yietoo-home .yietoo-contact-offers__icon i {
  font-size: 1.35rem;
  color: var(--accent-color);
}

.yietoo-home .yietoo-contact-offers__label {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  max-width: 4.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

/* Pourquoi YIETO'O — mosaïque multi-offres */
.yietoo-home .yietoo-why-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}

.yietoo-home .yietoo-why-showcase__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  background: var(--surface-color);
}

.yietoo-home .yietoo-why-showcase__tile--1 {
  grid-row: span 2;
}

.yietoo-home .yietoo-why-showcase__tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.yietoo-home .yietoo-why-showcase__tile--1 img {
  min-height: 260px;
}

.yietoo-home .yietoo-why-showcase__tile figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

/* Section équipe */
.yietoo-home .yietoo-team-lead {
  max-width: 42rem;
}

.yietoo-home .yietoo-team-card {
  height: 100%;
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: 14px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yietoo-home .yietoo-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-color), transparent 82%);
}

.yietoo-home .yietoo-team-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 800;
}

.yietoo-home .yietoo-team-card__role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-color);
}

.yietoo-home .about .counter-box p.small {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Alertes & formulaires publics */
.yietoo-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.yietoo-alert ul {
  padding-left: 1.15rem;
}

.yietoo-alert--success {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%);
  color: var(--heading-color);
}

.yietoo-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

html[data-theme="dark"] .yietoo-alert--error {
  background: color-mix(in srgb, #ef4444, transparent 88%);
  border-color: color-mix(in srgb, #ef4444, transparent 70%);
  color: #fecaca;
}

.yietoo-form-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 16px;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.yietoo-quote-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.yietoo-quote-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
}

.yietoo-quote-nav a:hover,
.yietoo-quote-nav a.active {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.yietoo-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.yietoo-check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 82%);
  cursor: pointer;
  font-size: 0.88rem;
}

.yietoo-check input {
  accent-color: var(--accent-color);
}

.yietoo-legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.yietoo-legal-content h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.yietoo-legal-content p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}
