@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
  font-family: 'Barlow', sans-serif;
  color: #111111;
}

a { color: #111111; text-decoration: none; }
a:hover { color: #6b6100; }

#intro, #form-content, #submit-bar {
  transition: opacity 0.4s ease;
}
#intro.is-fading-out, #form-content.is-fading-out, #submit-bar.is-fading-out {
  opacity: 0;
}
#recap {
  opacity: 0;
  transition: opacity 0.4s ease;
}
#recap.is-visible {
  opacity: 1;
}

input, textarea {
  font-family: 'Barlow', sans-serif;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #1A6EB8 !important;
}
input::placeholder, textarea::placeholder {
  color: #9a9a9a;
}

.header-bar {
  background: #111111;
}
.header-bar__inner {
  max-width: 1036px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-bar__brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}
.header-bar__stand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F2E200;
}

.hero {
  background: #F2E200;
}
.hero__inner {
  max-width: 1036px;
  margin: 0 auto;
  padding: 36px 40px 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.hero__content {
  flex: 1 1 auto;
}
.hero__eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111111;
}
.hero__title {
  font-family: 'Anton', sans-serif;
  font-size: 76px;
  line-height: 0.92;
  margin: 16px 0 0;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero__tag {
  background: #111111;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.hero__tag--accent {
  color: #F2E200;
}
.hero__logos {
  flex: 0 0 auto;
  width: 220px;
  background: #ffffff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__logos img {
  display: block;
  height: auto;
}
.hero__logos img.logo-salon { width: 92px; }
.hero__logos img.logo-narbonne { width: 160px; }
.hero__logos img.logo-accessoires { width: 134px; }

.intro {
  max-width: 1036px;
  margin: 0 auto;
  padding: 40px 40px 0;
}
.intro p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 82ch;
  color: #3d3d3d;
}

.section {
  max-width: 1036px;
  margin: 0 auto;
  padding: 36px 40px 0;
}
.section__head {
  border-top: 4px solid #111111;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  background: #1A6EB8;
  color: #ffffff;
}
.section__title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}
.section__hint {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 10px 0 0;
  color: #6b6b6b;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  margin-top: 18px;
}
.field label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111111;
}
.field label .required {
  color: #1A6EB8;
}
.field input,
.field textarea {
  border: 2px solid #d8d8d8;
  background: #ffffff;
  padding: 13px 14px;
  font-size: 16px;
  color: #111111;
}
.field--invalid input {
  border-color: #d33f3f;
}
.section--invalid .section__title {
  color: #d33f3f;
}
.field textarea {
  margin-top: 0;
  width: 100%;
  line-height: 1.5;
  resize: vertical;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.day-btn {
  cursor: pointer;
  border: 2px solid #e2e2e2;
  background: #ffffff;
  color: #111111;
  padding: 12px 4px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: background .12s, border-color .12s;
}
.day-btn__abbr {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.day-btn__num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  line-height: 1;
}
.day-btn__month {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
}
.day-btn.is-selected {
  border-color: #1A6EB8;
  background: #1A6EB8;
  color: #ffffff;
}
.day-btn.is-selected .day-btn__abbr { color: #F2E200; }
.day-btn.is-selected .day-btn__month { color: #cfd8e0; }

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.theme-btn {
  cursor: pointer;
  text-align: left;
  border: 2px solid #e2e2e2;
  background: #ffffff;
  color: #111111;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: background .12s, border-color .12s;
}
.theme-btn.is-selected {
  border-color: #1A6EB8;
  background: #1A6EB8;
  color: #ffffff;
}
.theme-btn__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #c4c4c4;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A6EB8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.theme-btn.is-selected .theme-btn__box {
  border-color: #F2E200;
  background: #F2E200;
}

.submit-bar {
  max-width: 1036px;
  margin: 0 auto;
  padding: 34px 40px 0;
}
.submit-bar__panel {
  background: #111111;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.submit-bar__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F2E200;
}
.submit-bar__summary {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  line-height: 1.25;
  color: #ffffff;
}
.submit-btn {
  border: 0;
  cursor: pointer;
  background: #1A6EB8;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 34px;
}
.submit-btn:hover {
  background: #F2E200;
  color: #111111;
}

.notice {
  margin-top: 12px;
  border-left: 4px solid #1A6EB8;
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 600;
  display: none;
}
.notice.is-visible { display: block; }
.notice--error {
  background: #f4f6f8;
  color: #1A6EB8;
}
.notice--ok {
  background: #F2E200;
  color: #111111;
}
.submit-bar__legal {
  font-size: 12.5px;
  line-height: 1.6;
  margin: 12px 0 0;
  color: #8a8a8a;
}
.submit-bar__legal .required {
  color: #1A6EB8;
}

.footer {
  max-width: 1036px;
  margin: 28px auto 0;
  padding: 34px 40px 48px;
  border-top: 4px solid #111111;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__address {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b6b6b;
}

@media (max-width: 700px) {
  .hero__title {
    font-size: clamp(34px, 9vw, 76px);
  }
  .hero__inner {
    flex-direction: column;
    gap: 24px;
  }
  .hero__logos {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .field-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .themes-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  .header-bar__inner,
  .hero__inner,
  .intro,
  .section,
  .submit-bar,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-bar__inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .days-grid {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  }
  .submit-bar__panel {
    flex-direction: column;
    align-items: stretch;
  }
  .submit-btn {
    width: 100%;
  }
}
