:root {
  --max: 1100px;
  --pad: 16px;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  font-family: "Faculty Glyphic", sans-serif;
  font-style: normal;
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url('/assets/img/oud-header.jpg') center / cover fixed;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 180px;
  margin: 0;
  overflow: hidden;
  z-index: 0;
  background: none;
  padding-top: 20px;
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(122,92,62) 30%, rgb(255,255,255) 50%, rgb(122,92,62) 70%, rgba(0,0,0,0) 100%);
}
.header__background-container {
  display: none;
}
.header__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  position: absolute;
  top: 20px;
  left: 50px;
  width: 125px;
  height: 125px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px;
  transition: transform 0.6s ease;
}
.header__logo-container:hover {
  transform: scale(1.12);
}
.header__logo-container .header__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}
.header__logo-container .header__circle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  top: 15px;
  left: 28px;
  width: 65px;
  height: 65px;
  border: 2px solid #7A5C3E;
  border-radius: 50%;
  box-shadow: 0 0 25px #7A5C3E;
}
.header__logo-container .header__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}
.header__nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  position: relative;
  top: 0;
  left: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: 50%;
  height: 50px;
  gap: 30px;
}
.header__nav-link {
  font-family: "Faculty Glyphic", sans-serif;
  font-style: normal;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: WHITE;
  text-shadow: 0 0 15px #7A5C3E;
  transition: color 0.7s ease, transform 0.7s ease;
}
.header__nav-link:hover {
  color: #7A5C3E;
  text-shadow: white 0px 0px 5px;
  transform: scale(1.2);
  transition: transform 0.7s ease, background 0.7s ease;
  will-change: transform;
}
.header__actions {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.header__action-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}
.header__action-link:hover { color: #c9a96e; }
.header__action-link--account {
  padding: 6px 14px;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 20px;
}
.header__action-link--account:hover {
  border-color: #c9a96e;
  color: #c9a96e;
}
@media (max-width: 768px) {
  .header__actions { display: none; }
}

.header__nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40px;
  width: 80%;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(122, 92, 62) 30%, rgb(255, 255, 255) 50%, rgb(122, 92, 62) 70%, rgba(0, 0, 0, 0) 100%);
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  background: none;
  padding: 80px 16px;
}
.main .main__img-container,
.main .main__img-container2 {
  display: none;
}
.main .main__pro-info {
  width: 90%;
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 64px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.7);
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 0, 0, 0.3);
}
.main .main__pro-info h2 {
  color: #c9a96e;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 36px;
  text-align: center;
}
.main .main__pro-info p {
  font-size: 0.88rem;
  line-height: 1.95;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.65);
}
.main .main__pro-info p:last-of-type {
  margin-bottom: 0;
}

/* ── FORMULAIRE PROFESSIONNEL ─────────────────────────────────────────────── */
.pro-form-section {
  width: 90%;
  max-width: 720px;
  margin: 48px auto 0;
}

.pro-form-card {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 4px;
  padding: 52px 64px;
  text-align: left;
}

.pro-form__tag {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a96e;
  margin: 0 0 12px;
}

.pro-form__title {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
  margin: 0 0 10px;
}

.pro-form__sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0 0 36px;
}

.pro-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pro-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pro-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pro-form__label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pro-form__input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 4px;
  padding: 12px 16px;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.pro-form__input:focus {
  border-color: #c9a96e;
}

.pro-form__input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.pro-form__textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.pro-form__counter {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
}

.pro-form__counter--warn {
  color: #e05555;
}

.pro-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.pro-form__error {
  font-size: 0.82rem;
  color: #e05555;
  flex: 1;
}

.pro-form__btn {
  padding: 11px 36px;
  background: #c9a96e;
  color: #0d0a07;
  border: none;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.pro-form__btn:hover {
  background: #b8964f;
  transform: translateY(-1px);
}

.pro-form__btn:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
}

.pro-form__success {
  font-size: 0.9rem;
  color: #c9a96e;
  line-height: 1.7;
  text-align: center;
  padding: 32px 0 0;
}

@media (max-width: 768px) {
  .pro-form-card {
    padding: 32px 20px;
  }
  .pro-form__row {
    grid-template-columns: 1fr;
  }
  .pro-form__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .pro-form__btn {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pro-form-card {
    padding: 24px 16px;
  }
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 420px;
  color: white;
  background-color: #151515;
  padding: 30px;
}
.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.footer__container .footer__nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  gap: 30px;
  padding: 10px 0 0 0;
}
.footer__container .footer__nav .footer__nav-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30%;
  height: 100%;
  gap: 50px;
}
.footer__container .footer__nav .footer__nav-left .footer__info-text {
  font-size: 1rem;
  color: #7a5c3e;
}
.footer__container .footer__nav-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30%;
  height: auto;
  gap: 50px;
}
.footer__container .footer__nav-right .footer__link {
  font-size: 1rem;
  color: white;
  transition: color 0.3s;
}
.footer__container .footer__nav-right .footer__link:hover {
  color: #7a5c3e;
}
.footer__container .footer__nav-right .footer__link--merci {
  color: #c9a96e;
  text-shadow: 0 0 8px rgba(201,169,110,0.6), 0 0 20px rgba(201,169,110,0.3);
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
  display: inline-block;
}
.footer__container .footer__nav-right .footer__link--merci:hover {
  color: #f0d9a8;
  text-shadow: 0 0 12px rgba(240,217,168,0.9), 0 0 30px rgba(201,169,110,0.6), 0 0 50px rgba(201,169,110,0.3);
  transform: scale(1.08);
}
.footer__social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer__icon-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
.footer__icon-link:hover {
  color: #7a5c3e;
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer__contact-name {
  font-size: 0.9rem;
  color: #7a5c3e;
  font-weight: 500;
  min-width: 80px;
}
.footer__phone-number {
  font-size: 0.85rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__phone-number:hover {
  color: #7a5c3e;
}
.footer__logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 180px;
  height: 180px;
  margin: 30px 0;
}
.footer__logo-container .footer__logo-link {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.footer__logo-container .footer__logo-link .footer__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.footer__logo-container .footer__logo-link:hover .footer__logo-img {
  transform: scale(1.08);
}
.footer__circle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -2px;
  left: 26px;
  width: 120px;
  height: 120px;
  border: 2px solid #7a5c3e;
  border-radius: 50%;
  box-shadow: 0 0 25px #7a5c3e;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.footer__logo-container:hover .footer__circle-container {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(122, 92, 62, 0.7);
}
.footer__bar {
  position: relative;
  bottom: 298px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(122, 92, 62) 30%, rgb(255, 255, 255) 50%, rgb(122, 92, 62) 70%, rgba(0, 0, 0, 0) 100%);
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  text-align: center;
}
.footer__date {
  margin: 30px 0 0 0;
  padding: 0;
  text-decoration: underline;
}
@keyframes contactGlow {
  0% {
    box-shadow: none;
    background: transparent;
  }
  20% {
    box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.5), 0 0 40px rgba(201, 169, 110, 0.35), inset 0 0 25px rgba(201, 169, 110, 0.08);
    background: rgba(201, 169, 110, 0.05);
  }
  70% {
    box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.25), 0 0 20px rgba(201, 169, 110, 0.2);
    background: rgba(201, 169, 110, 0.03);
  }
  100% {
    box-shadow: none;
    background: transparent;
  }
}
#contact:target ~ .footer__container .footer__nav-left,
.footer__nav-left.contact-glow {
  animation: contactGlow 2.5s ease-out;
  border-radius: 12px;
}

/* ── MOBILE ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header : logo + nav empilés, centrés */
  .header {
    height: auto;
    min-height: unset;
    padding: 24px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .header__logo-container {
    position: relative;
    top: auto;
    left: auto;
    width: 80px;
    height: 80px;
    padding: 12px;
  }
  .header__logo-container .header__circle-container {
    top: 8px;
    left: 16px;
    width: 50px;
    height: 50px;
  }
  .header__nav {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    height: auto;
    padding: 10px 12px;
    border-radius: 12px;
  }
  .header__nav-link {
    font-size: 0.85rem;
  }

  /* Contenu */
  .main {
    padding: 40px 16px;
  }
  .main .main__pro-info {
    width: 100%;
    padding: 32px 20px;
  }
  .main .main__pro-info h2 {
    font-size: 0.95rem;
    margin: 0 0 24px;
  }

  /* Footer */
  .footer {
    height: auto;
    padding: 30px 20px 20px;
  }
  .footer__nav {
    flex-direction: column;
    gap: 24px;
    height: auto;
  }
  .footer__nav-left,
  .footer__nav-right {
    width: 100%;
    gap: 18px;
  }
  .footer__bar {
    display: none;
  }
  .footer__logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 16px auto;
  }
}

@media (max-width: 480px) {
  .main .main__pro-info {
    padding: 24px 16px;
  }
}
