@charset "UTF-8";

/* =========================================================
   BASE / GLOBAL
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  color: #828282;
  background: #fff;
}

header,
body,
main {
  position: relative;
  z-index: 1;
}

#macro-bubbles {
  z-index: 600 !important;
}

#bubble-trail {
  z-index: 400 !important;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 1.5rem;
  border-bottom: 1px solid #eee;
  background: #fff;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  margin-left: 5cm;
}

.logo {
  height: 60px;
  width: auto;
}

.header-center {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2.5rem;
  margin-left: 3rem;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
}

.header-center a,
.headerinterne a {
  color: #5E5A54;
  text-decoration: none;
  transition: color 0.3s;
}

.header-center a {
  font-size: 1.22rem;
}

.header-center a:hover,
.header-center a:focus {
  color: #d3b46c;
  text-decoration: none;
  outline: none;
}

.headerinterne {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 1rem;
  text-align: center;
}

.headerinterne a {
  display: inline-block;
  white-space: nowrap;
  font-family: 'Domaine', sans-serif !important;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.1;
}

.headerinterne .gold-underline-title {
  font-size: inherit;
  line-height: inherit;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
}

/* =========================================================
   LANGUE SWITCHER
   ========================================================= */
.lang-toggle-input {
  display: none;
}

.lang-switcher {
  position: relative;
  display: inline-block;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #5E5A54;
}

.lang-selected {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #5E5A54;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: color 0.3s;
}

.lang-selected:hover,
.lang-selected:focus {
  color: #cbb990;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 70px;
  margin: 0;
  padding: 0.3rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 9999;
}

.lang-toggle-input:checked ~ .lang-dropdown {
  display: block;
}

.lang-option {
  display: block;
  padding: 0.5rem 1.2rem;
  color: #5E5A54;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover,
.lang-option.active {
  color: #cbb990;
  background: #faf7ef;
}

/* =========================================================
   BURGER / MENU OVERLAY
   ========================================================= */
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #eee;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.burger-bar {
  width: 24px;
  height: 3px;
  margin: 3px 0;
  background: #5E5A54;
  border-radius: 4px;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  overflow-y: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.menu-overlay.active {
  display: flex;
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0;
  color: #5E5A54;
  background: none;
  border: none;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.menu-list,
.menu-info {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list {
  /* display: flex;*/
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.menu-list li {
  margin: 2rem 0;
}

.menu-list a,
.gray-link {
  color: #5E5A54;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  text-decoration: none;
}

.menu-list a {
  font-size: 2.2rem;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.menu-list a:hover,
.menu-list a:focus {
  color: #cbb990;
  text-decoration: none;
}

.menu-info {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}

.gray-link {
  font-size: 1.1rem;
}

.gray-link:hover,
.gray-link:focus {
  text-decoration: none !important;
}

/* =========================================================
   ACCROCHES FR / EN / IT
   ========================================================= */
.accroche,
.accrocheenglish,
.accrocheitalian {
  width: 100%;
  max-width: 100%;
  margin-top: 100px;
  margin-bottom: 4.5rem;
  padding-left: 5cm;
  padding-right: 5cm;
  box-sizing: border-box;
}

.accroche h1,
.accrocheenglish h1,
.accrocheitalian h1 {
  margin: 0 2rem;
  color: #5E5A54;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.42;
}

.accroche h1 {
  font-size: 4.1rem;
}

.accrocheenglish h1,
.accrocheitalian h1 {
  font-size: 3.5rem;
}

.accroche-line {
  display: inline;
}

.gold,
.accroche .gold,
.accrocheenglish .gold,
.accrocheitalian .gold {
  color: #cbb990;
  font-family: 'CIVC', Arial, sans-serif;
  font-weight: 600;
}

.underline,
.accroche .underline,
.accrocheenglish .underline,
.accrocheitalian .underline {
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-thickness: 3px;
  font-size: inherit;
}

.gold-underline-title {
  color: #cbb990 !important;
  font-family: 'CIVC', Arial, sans-serif;
  font-weight: 300;
  font-size: 2rem;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-thickness: 1px;
}

.accrocheitalian i {
  display: inline-block;
  font-family: 'Domaine', Arial, sans-serif;
  font-style: normal;
  transform: skew(-8deg);
  transform-origin: left center;
}

.accrocheitalian i + .gold,
.accrocheitalian .gold + i {
  margin-left: 0.18em;
}

.accrocheitalian .gold {
  font-style: normal;
  transform: none;
}

/* =========================================================
   TITRES / BOUTONS / SECTIONS COMMUNES
   ========================================================= */
.other-sites h2,
.engagement-section h2,
.info-content h2,
.info-content h4,
.site-block h3,
.text-container h3,
.cms-custom h1,
.cms-custom h2 {
  color: #5E5A54;
}

.other-sites h2,
.engagement-section h2,
.info-content h2,
.info-content h4 {
  margin-bottom: 0.5rem;
  margin-left: 0;
  padding-left: 0;
  font-family: 'Domaine', Arial, sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  text-align: left;
}

.engagement-section {
  padding-left: 3rem;
}

.download-btn,
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: white;
  background-color: #B69E64;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download-btn:hover,
.cta-button:hover,
.download-btn:focus,
.cta-button:focus,
.download-btn:active,
.cta-button:active {
  background-color: #B69E64;
  text-decoration: none !important;
  outline: none;
}

/* =========================================================
   SCROLL INDICATOR
   ========================================================= */
.scroll-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid white;
  animation: bounce-arrow 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes bounce-arrow {
  0%, 20%, 50%, 80%, 100% {
    border-top-color: white;
  }

  40% {
    border-top-color: rgba(203, 185, 144, 0.5);
  }

  60% {
    border-top-color: white;
  }
}

/* =========================================================
   TABLETTE PAYSAGE
   ========================================================= */
@media (min-width: 768px) and (max-width: 1081px) and (orientation: landscape) {
  .header-left {
    margin-left: 1.5rem;
  }

  .header-center {
    gap: 0.9rem;
  }

  .header-center a {
    font-size: 1rem;
  }

  .headerinterne {
    padding: 0.5rem 0.75rem;
  }

  .headerinterne a {
    font-size: 1.45rem;
  }

  .accroche,
  .accrocheenglish,
  .accrocheitalian {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .accroche h1 {
    font-size: 3.4rem;
    line-height: 1.35;
  }

  .accrocheenglish h1,
  .accrocheitalian h1 {
    font-size: 3rem;
    line-height: 1.35;
  }

  .accroche .underline,
  .accrocheenglish .underline,
  .accrocheitalian .underline {
    text-decoration-thickness: 1px;
  }

  .sites-container {
    gap: 1.5rem;
  }

  .site-block {
    min-height: 380px;
  }

  .site-block h3 {
    font-size: 1.3rem;
  }
}

/* iPad mini / petites tablettes paysage : accroches harmonisées sur 2 lignes */
@media (min-width: 900px) and (max-width: 1200px) and (orientation: landscape) {
  .accroche,
  .accrocheenglish,
  .accrocheitalian {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    padding-left: 2cm;
    padding-right: 2cm;
  }

  .accroche h1,
  .accrocheenglish h1,
  .accrocheitalian h1 {
    max-width: 100%;
    margin: 0;
    color: #5E5A54;
    font-size: 2.45rem;
    line-height: 1.35;
  }

  .accroche .accroche-line,
  .accrocheenglish .accroche-line,
  .accrocheitalian .accroche-line {
    display: block;
    white-space: nowrap;
  }

  .accroche .gold,
  .accroche .underline,
  .accrocheenglish .gold,
  .accrocheenglish .underline,
  .accrocheitalian .gold,
  .accrocheitalian .underline {
    font-size: inherit;
    text-decoration-thickness: 1px;
  }
}


/* iPad Pro paysage / grandes tablettes */
@media (min-width: 1082px) and (max-width: 1366px) and (orientation: landscape) {
  .header-left {
    margin-left: 2rem;
  }

  .headerinterne a {
    font-size: 1.85rem;
  }
}

/* =========================================================
   TABLETTE PORTRAIT
   ========================================================= */
@media (min-width: 821px) and (max-width: 1081px) and (orientation: portrait) {
  .header-left {
    margin-left: 1.5rem;
  }
  .header-right {
    gap: 0.8rem;
  }
  .headerinterne {
    padding: 0.5rem 0.75rem;
  }

  .headerinterne a {
    font-size: 1.55rem;
  }
  .header-center a {
	  font-size: 0.9rem;
  }
  .accroche,
  .accrocheenglish,
  .accrocheitalian {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    padding-left: 1cm;
    padding-right: 1cm;
  }

  .accroche h1 {
    font-size: 3rem;
    line-height: 1.35;
  }

  .accrocheenglish h1,
  .accrocheitalian h1 {
    font-size: 2.6rem;
    line-height: 1.35;
  }

  .accroche .underline,
  .accrocheenglish .underline,
  .accrocheitalian .underline {
    text-decoration-thickness: 1px;
  }
}

/* iPad mini portrait : masquer la top bar interne pour conserver un header propre */
@media (max-width: 820px) and (orientation: portrait) {
  header {
    height: 70px;
    padding: 0 1rem;
    justify-content: space-between;
  }

  .header-left {
    margin-left: 0;
  }

  .logo {
    height: 58px;
  }

  .header-right {
    margin-left: auto;
    gap: 1rem;
  }

  .header-center,
  .header-center a,
  nav.headerinterne,
  .headerinterne,
  .headerinterne a,
  .headerinterne .gold-underline-title {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 2 !important;
    line-height: 0 !important;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  header {
    height: 70px;
    padding: 0 1rem;
  }

  .header-left {
    margin-left: 0;
  }

  .header-center a {
    display: none;
  }

  .burger {
    width: 38px;
    height: 38px;
  }

  .burger-bar {
    width: 18px;
  }

  .close-menu {
    font-size: 2rem;
  }

  .menu-overlay {
    min-height: 0;
    max-height: 100%;
  }

  .menu-overlay.active .menu-list,
  .menu-list {
    margin-top: 100px !important;
  }

  .menu-list a {
    font-size: 1.3rem;
  }

  .menu-list li {
    margin: 1.2rem 0 !important;
  }

  .menu-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 2.8rem;
  }

  .gray-link {
    font-size: 1.2rem;
  }

  .accroche,
  .accrocheenglish,
  .accrocheitalian {
    margin-top: 50px;
    margin-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .accroche h1,
  .accrocheenglish h1,
  .accrocheitalian h1 {
    margin: 0;
    color: #5E5A54;
    font-size: clamp(1.25rem, 5.4vw, 1.55rem);
    line-height: 1.45;
  }

  .accroche .accroche-line,
  .accrocheenglish .accroche-line,
  .accrocheitalian .accroche-line {
    display: block;
    white-space: nowrap;
  }

  .accroche .gold,
  .accroche .underline,
  .accrocheenglish .gold,
  .accrocheenglish .underline,
  .accrocheitalian .gold,
  .accrocheitalian .underline {
    font-size: inherit;
    text-decoration-thickness: 1px;
  }

  .sites-container {
    flex-direction: column;
    gap: 2rem;
  }

  .site-block {
    width: 100%;
    min-height: auto;
  }

  .site-block h3 {
    font-size: 1.2rem;
  }

  .engagement-section,
  .other-sites {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    box-sizing: border-box;
  }

  .other-sites h2,
  .engagement-section h2 {
    width: 100%;
    margin-left: 0;
    font-size: 1.9rem;
    text-align: left;
    box-sizing: border-box;
  }

  .info-content p,
  .info-content div,
  .info-content li {
    font-weight: 300;
    line-height: 1.6;
  }
}

@media (max-width: 870px) {
  .scroll-indicator {
    display: none;
  }
}

/* =========================================================
   TOP BAR ANGLAISE - iPad Pro portrait uniquement
   Objectif : réduire légèrement le titre anglais sans toucher au FR ni à l'IT
   ========================================================= */
@media (min-width: 821px) and (max-width: 1081px) and (orientation: portrait) {
  .headerinterne-english a {
    font-size: 1.4rem !important;
	padding-top:0.2rem;
  }

  .headerinterne-english .gold-underline-title {
    font-size: inherit;
  }
}
/* =========================================================
   CMS TITLE - iPad Pro paysage
   Objectif : aligner le titre CMS avec la marge du texte
   Toutes langues
   ========================================================= 
@media (min-width: 1082px) and (max-width: 1366px) and (orientation: landscape) {
  .cms-custom {
    padding-left: 8rem;
  }
}*/
/* iPad Pro paysage / grandes tablettes */
@media (min-width: 1082px) and (max-width: 1366px) and (orientation: landscape) {
  .header-left {
    margin-left: 2rem;
  }

  .headerinterne a {
    font-size: 1.85rem;
  }

  .cms-custom,
  .cms-image-wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 8rem;
    padding-right: 8rem;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .cms-custom h1,
  .cms-custom h2 {
    max-width: 100%;
  }

  .cms-image-wrapper img {
    width: 100%;
    display: block;
  }
}