* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 79, 79, 0.25);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #c58f91;
  --primary-color-2: #d4b8b3;
  --secondary-color: #285777;
  --third-color: #f5f0e6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================== */
/* ============= BOUTONS ==================== */
/* ========================================== */
.btn {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background-color: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background-color: #444;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Modificateur pour un bouton clair (adapté pour les fonds sombres/bleus) */
.btn--light {
  background-color: var(--third-color);
  color: var(--secondary-color);
  border: 2px solid var(--third-color);
}

.btn--light:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Modificateur pour un bouton transparent avec bordure claire */
.btn--outline-light {
  background-color: transparent;
  color: var(--third-color);
  border: 2px solid var(--third-color);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================== */
/* ============= SÉPARATEUR ================= */
/* ========================================== */
.hero__separator {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 15px 0 25px 0;
  flex-shrink: 0;
}

.title__separator {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 15px auto 30px auto;
}

.title__separator2 {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color-2);
  margin: 15px auto 30px auto;
}

/* ========================================== */
/* =============== NAVBAR =================== */
/* ========================================== */
.header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav__logo {
  margin-top: 5px;
  display: block;
  width: 40px;
  height: auto;
}

.nav__menu {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__lang-switch {
  display: flex;
  align-items: center;
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-parent {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
}

.nav__arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px 8px; /* Élargit la zone cliquable */
  font-size: 14px; /* Ajustez la taille de l'icône si besoin */
  color: #333333; /* Couleur foncée bien contrastée (changez selon votre thème) */
  transition: transform 0.5s ease;
}

.nav__arrow-icon {
  width: 12px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav__arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 79, 79, 0.25);
}

.nav__submenu {
  list-style: none;
}

.nav__submenu .nav__sublink {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
  background-color: #fff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.nav__submenu .nav__sublink:hover {
  background-color: #f1f1f1;
  color: var(--secondary-color);
}

.nav__mobile-actions {
  display: none;
}

/* ========================================== */
/* AJOUT POUR LES ÉCRANS 13" / 14" (Tablettes & Portables) */
/* ========================================== */
@media (min-width: 769px) and (max-width: 1366px) {
  .nav__menu {
    gap: 1.5rem; /* Resserre l'espace entre les liens */
  }

  .nav__link {
    font-size: 0.75rem; /* Taille plus petite uniquement pour le 13/14 pouces */
  }
}

@media (min-width: 769px) {
  .nav__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 0.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
  }

  .nav__item--dropdown.active-dropdown .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__item--dropdown.active-dropdown .nav__arrow {
    transform: rotate(180deg);
  }
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger__bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0; /* le menu s'arrête au bord visible, sans calcul de hauteur */
    left: 0;

    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 1rem 0 0;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);

    overflow-y: auto;
    overscroll-behavior: contain;

    /* Animation + menu inaccessible au clavier quand il est fermé */
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0.3s;
  }

  .nav__menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__link {
    font-size: 1.2rem; /* Ajuste la taille ici (ex: 1.2rem ou 1.3rem) */
  }

  .nav__item {
    margin: 0.8rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav__dropdown-parent {
    justify-content: center;
  }

  .nav__arrow i {
    font-size: 1.2rem; /* Ajustez cette valeur (ex: 9px ou 10px) pour qu'elle soit plus discrète sur grand écran */
  }

  .nav__item--dropdown.active-dropdown .nav__arrow {
    transform: rotate(180deg);
  }

  .nav__submenu {
    position: static;
    box-shadow: none;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    width: 100%;
  }

  .nav__item--dropdown.active-dropdown .nav__submenu {
    max-height: 150px;
    padding-top: 0.5rem;
  }

  .nav__submenu .nav__sublink {
    font-size: 1rem;
    color: var(--secondary-color);
  }

  .hamburger.active .hamburger__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger__bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Les boutons drapeau + rendez-vous restent collés en bas du menu */
  .nav__mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
  }

  .nav__item--desktop {
    display: none !important;
  }
}

/* Ajustement spécifique pour les petits écrans en hauteur (type iPhone SE) */
@media (max-width: 768px) and (max-height: 700px) {
  .nav__menu {
    padding: 1rem 0 1rem 0;
  }
  .nav__link {
    font-size: 1.05rem; /* Réduit un tout petit peu la taille des liens */
  }
  .nav__item {
    margin: 0.4rem 0; /* Resserre les espaces verticaux entre chaque lien */
  }
}

/* ========================================== */
/* =============== quote ==================== */
/* ========================================== */
.quote {
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Modificateur de couleur : Version Bleue (Fond foncé) */
.quote--blue {
  background-color: var(--secondary-color);
}

/* On adapte les couleurs de texte pour le fond bleu (texte clair) */
.quote--blue .quote__text {
  color: #fff; /* Ou une couleur douce comme var(--third-color) */
}

.quote--blue .quote__author {
  color: var(--primary-color-2); /* Ta couleur secondaire douce (ou #fff) */
}

/* Modificateur de couleur : Version Beige (Fond clair) */
.quote--beige {
  background-color: var(--third-color);
}

/* On adapte les couleurs de texte pour le fond beige (texte sombre) */
.quote--beige .quote__text {
  color: var(--secondary-color);
}

.quote--beige .quote__author {
  color: var(--primary-color);
}

/* Éléments internes du bloc .quote (Styles de base) */
.quote__container {
  max-width: 800px;
  margin: 0 auto;
}

.quote__text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote__author {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: uppercase;
}

/* ========================================== */
/* =============== NEWSLETTER =============== */
/* ========================================== */

.newsletter {
  width: 100%;
  padding: 3rem 1.5rem;
}

/* Les deux versions de fond */
.newsletter--blue {
  background-color: var(--secondary-color);
  color: #fff;
}

.newsletter--beige {
  background-color: var(--third-color);
  color: var(--secondary-color);
}

.newsletter__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter__icon img {
  width: 80px;
  height: auto;
}

.newsletter__text h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary-color-2);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  font-weight: normal;
}

.newsletter__text p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  opacity: 0.9;
}

.newsletter__action {
  display: flex;
  gap: 10px;
}

.newsletter__action input {
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: inherit;
  outline: none;
}

.newsletter--beige .newsletter__action input {
  border-color: rgba(40, 87, 119, 0.3);
}

.newsletter__action input::placeholder {
  color: inherit;
  opacity: 0.7;
}

/* Bouton d'origine basique */
.btn-subscribe {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  background-color: var(--primary-color-2);
  color: var(--secondary-color);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
}

.btn-subscribe--beige {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  background-color: var(--secondary-color);
  color: #fff;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
}

/* Version mobile simple */
@media (max-width: 768px) {
  .newsletter__container {
    flex-direction: column;
    text-align: center;
  }
  .newsletter__action {
    flex-direction: column;
    width: 100%;
  }
  .newsletter__action input {
    width: 100%;
  }
}

/* ========================================== */
/* =============== FOOTER =================== */
/* ========================================== */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem 3rem;

  width: 100%;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.footer__logo-img {
  width: 50px;
  height: auto;
  display: block;
}

.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__bottom {
  width: 100%;
  text-align: center;
}

.footer__copyright {
  font-family: "montserrat", sans-serif;
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 1.5rem 0;
  }

  .footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }

  .footer__logo-img {
    width: 60px;
  }

  .footer__socials {
    gap: 2rem;
  }
  .footer__bottom {
    margin-top: 1rem;
  }
}
