/**
 * Page Contact IKEHU — construite sur les tokens du thème.
 */

.ikehu-contact-page {
  background: var(--ikehu-cream);
  color: var(--ikehu-soft-black);
  font-family: var(--ikehu-font-body);
  overflow: clip;
}

.ikehu-contact-page img {
  display: block;
  width: 100%;
  height: auto;
}

.ikehu-contact-container {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 64px)), 1440px);
  margin-inline: auto;
}

.ikehu-contact-eyebrow {
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ikehu-olive);
}

/* ---------- Hero ---------- */
.ikehu-contact-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  align-items: stretch;
  min-height: 380px;
}

.ikehu-contact-hero__copy {
  align-self: center;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 72px) clamp(48px, 6vw, 96px)
    clamp(20px, 4vw, 64px);
}

.ikehu-contact-hero__inner {
  max-width: 460px;
}

.ikehu-contact-hero h1 {
  margin: 0;
  font-family: var(--ikehu-font-display);
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.ikehu-contact-hero__text {
  max-width: 380px;
  margin: 28px 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgb(26 26 24 / 78%);
}

.ikehu-contact-hero__media {
  overflow: hidden;
}

.ikehu-contact-hero__media img {
  height: 100%;
  object-fit: cover;
}

/* ---------- Cartes de contact ---------- */
.ikehu-contact-cards {
  border-block: 1px solid var(--ikehu-header-border);
  background: #f4efe5;
}

.ikehu-contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ikehu-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--ikehu-header-border);
}

.ikehu-contact-card:last-child {
  border-right: 0;
}

.ikehu-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--ikehu-forest);
}

.ikehu-contact-card__label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ikehu-contact-card__value {
  margin: 0;
  font-size: 0.9rem;
}

.ikehu-contact-card__value a {
  color: inherit;
  text-decoration: none;
}

.ikehu-contact-card__note {
  margin: 0;
  font-size: 0.8rem;
  color: rgb(26 26 24 / 60%);
}

/* ---------- Section principale ---------- */
.ikehu-contact-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
}

.ikehu-contact-form-col {
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3vw, 56px);
}

.ikehu-contact-side {
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3vw, 56px);
  border-left: 1px solid var(--ikehu-header-border);
}

.ikehu-contact-visual {
  overflow: hidden;
}

.ikehu-contact-visual img {
  height: 100%;
  object-fit: cover;
}

.ikehu-contact-heading {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ikehu-contact-rule {
  display: block;
  width: 34px;
  height: 1px;
  margin: 0 0 28px;
  background: var(--ikehu-earth);
}

/* ---------- Formulaire ---------- */
.ikehu-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ikehu-field {
  margin-bottom: 20px;
}

.ikehu-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ikehu-field input,
.ikehu-field select,
.ikehu-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ikehu-soft-black);
  background: #fff;
  border: 1px solid var(--ikehu-header-border);
  border-radius: 0;
}

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

.ikehu-field input:focus-visible,
.ikehu-field select:focus-visible,
.ikehu-field textarea:focus-visible {
  outline: 2px solid var(--ikehu-olive);
  outline-offset: 1px;
}

/* Honeypot anti-spam : masqué visuellement et aux lecteurs d'écran. */
.ikehu-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ikehu-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ikehu-cream);
  background: var(--ikehu-soft-black);
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ikehu-submit:hover,
.ikehu-submit:focus-visible {
  background: var(--ikehu-forest);
}

.ikehu-form-feedback {
  margin: 0 0 24px;
  padding: 14px 18px;
  font-size: 0.88rem;
  border: 1px solid var(--ikehu-olive);
  background: rgb(138 143 106 / 12%);
}

.ikehu-form-feedback--error {
  border-color: var(--ikehu-earth);
  background: rgb(107 79 58 / 12%);
}

/* ---------- Aide / valeurs ---------- */
.ikehu-help__text {
  max-width: 320px;
  margin: 0 0 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgb(26 26 24 / 72%);
}

.ikehu-help__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 26px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ikehu-soft-black);
  border: 1px solid rgb(26 26 24 / 45%);
}

.ikehu-values {
  margin-top: 52px;
}

.ikehu-values__list {
  display: grid;
  gap: 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ikehu-value {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
}

.ikehu-value__icon {
  color: var(--ikehu-forest);
}

.ikehu-value h3 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.ikehu-value p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgb(26 26 24 / 68%);
}

/* ---------- Bande Instagram ---------- */
.ikehu-insta {
  border-top: 1px solid var(--ikehu-header-border);
}

.ikehu-insta__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  align-items: stretch;
}

.ikehu-insta__intro {
  align-self: center;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
}

.ikehu-insta__intro h2 {
  margin: 0 0 16px;
  font-family: var(--ikehu-font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ikehu-insta__intro p {
  max-width: 260px;
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgb(26 26 24 / 72%);
}

.ikehu-insta__handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ikehu-soft-black);
}

.ikehu-insta__item {
  overflow: hidden;
  aspect-ratio: 1;
}

.ikehu-insta__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ikehu-insta__item:hover img {
  transform: scale(1.04);
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .ikehu-contact-hero {
    grid-template-columns: 1fr;
  }

  .ikehu-contact-hero__copy {
    padding: 48px 0;
  }

  .ikehu-contact-hero__media {
    aspect-ratio: 16/10;
  }

  .ikehu-contact-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ikehu-contact-card:nth-child(2) {
    border-right: 0;
  }

  .ikehu-contact-card {
    border-bottom: 1px solid var(--ikehu-header-border);
  }

  .ikehu-contact-main {
    grid-template-columns: 1fr;
  }

  .ikehu-contact-side {
    border-left: 0;
    border-top: 1px solid var(--ikehu-header-border);
  }

  .ikehu-contact-visual {
    min-height: 360px;
  }

  .ikehu-insta__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ikehu-insta__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .ikehu-contact-cards__grid {
    grid-template-columns: 1fr;
  }

  .ikehu-contact-card {
    border-right: 0;
  }

  .ikehu-form__row {
    grid-template-columns: 1fr;
  }

  .ikehu-submit {
    width: 100%;
  }

  .ikehu-insta__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ikehu-insta__item img {
    transition: none;
  }
}
