*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 12px;
  --color-text: #131313;
  --color-bg: #fff;
  --color-link: #131313;
  --color-link-hover: #131313;
  --page-padding-y: 2.5rem;
  --page-padding-x: 4rem;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: radial-gradient(ellipse at top, #eee9dd, #eee9dd);
  background-size: 100% 100vh;
  background-attachment: fixed;
}

em {
  font-family: "ivyora-display", serif;
  font-weight: 400;
  line-height: 1;
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  color: var(--color-link-hover);
  outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
  /* Provide a fallback style for browsers
	 that don't support :focus-visible */
  outline: none;
  background: lightgrey;
}

a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
  background: transparent;
}

a:focus-visible {
  /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
  outline: 2px solid red;
  background: transparent;
}

.frame {
  position: relative;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: max-content;
  font-size: 13px;
  text-transform: uppercase;
  width: 100%;
}

.frame #cdawrap,
.frame__inner {
  max-width: none;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 2vw;
}

.frame__inner {
  grid-area: frame-inner;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  align-items: center;
}

.frame__title {
  font-size: inherit;
  margin: 0;
}

.frame__tags {
  display: contents;
}

.logo {
  position: fixed;
  top: var(--page-padding-y);
  left: var(--page-padding-x);
  font-size: 30px;
  text-transform: lowercase;
  font-weight: 200;
  line-height: 1.1;
  padding-bottom: 1rem;
  font-kerning: none; /* Important to avoid jump when changing char structure */
}

.logo__pre {
  font-weight: bold;
  font-size: 32px;
  font-family: "ivyora-display", serif;
}

.oh {
  overflow: hidden;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--page-padding-y) var(--page-padding-x) 0;
  font-size: clamp(0.1rem, 4vw, 1.2rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.content--img {
  background-size: cover;
  background-position: 50% 50%;
  min-height: 80vh;
  width: 100%;
  margin: 30vh 0;
}

.content--intro {
  /* min-height: 100vh; */
  min-height: 70vh;
  margin: 0;
  padding-bottom: var(--page-padding-y);
}

.content p {
  max-width: 1260px;
  padding: 0.2rem 0;
  margin: 0;
}

.content h2 {
  font-size: clamp(3rem, 8vw, 10rem);
  font-weight: 600;
  font-family: "ivyora-display", serif;
  margin: 0;
  line-height: 0.9;
}

.space {
  margin-bottom: 15vh;
}

.content a {
  text-decoration: underline;
}

.content a:hover,
.content a:focus {
  text-decoration: none;
}

.content--outro {
  padding-bottom: var(--page-padding-y);
}
#form1 {
  margin-top: 10vh;
}
.honeypot {
  display: none;
}
/* form */

.inp {
  position: relative;
  margin: auto;
  width: 50%;
  max-width: 280px;
  border-radius: 3px;
  overflow: hidden;
}
.inp .label {
  position: absolute;
  top: -4px;
  left: 12px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
  transform-origin: 0 0;
  transform: translate3d(0, 0, 0);
  transition: all 0.2s ease;
  pointer-events: none;
}
.inp .focus-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
}
.inp input,
.inp textarea,
.inp select {
  appearance: none;
  width: 50%;
  border: 0;
  font-family: inherit;
  padding: 16px 12px 0 12px;
  height: 56px;
  font-size: 16px;
  font-weight: 400;
  background: rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  color: #000;
  transition: all 0.2s ease;
}
.inp input:hover {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.inp input:not(:placeholder-shown) + .label {
  color: rgba(0, 0, 0, 0.5);
  transform: translate3d(0, -12px, 0) scale(0.75);
}
.inp input:focus {
  border-image: linear-gradient(to right, var(--color-link-hover), teal);
  outline: none;
  box-shadow: inset 0 -2px 0 teal;
}
.inp input:focus + .label {
  color: teal;
  transform: translate3d(0, -12px, 0) scale(0.75);
}
.inp input:focus + .label + .focus-bg {
  transform: scaleX(1);
  transition: all 0.1s ease;
}
.daterecep {
  background-color: transparent;
  font-style: italic;
}
#toggle {
  font-size: 0.7em;
  background: transparent;
}

/* fin de form */

a[data-statut="1"] {
  color: teal;
}

@media screen and (min-width: 53em) {
  :root {
    font-size: 16px;
  }
}
.btn-submit {
  background: teal;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  &:hover {
    background: #0f827c;
  }
}
