@font-face {
  font-family: 'Diranista';
  src: url('../assets/Diranista-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg:           #FCFAF7;
  --color-dark:         #1a2d22;
  --color-green-dark:   #233a2d;
  --color-green-btn:    #B7F00D;
  --color-dark-btn:     #1E1E1E;
  --color-text-muted:   #959c98;
  --color-white:        #FFFFFF;
  --color-grey:         #F2F0E7;
  --color-nav-active:   #FCFAF7;

  --font-display: 'Diranista', serif;
  --font-body:    'Satoshi', sans-serif;

  --nav-height: 70px;
  --nav-height-safe: calc(70px + env(safe-area-inset-top, 0px));
  --section-pad: 80px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

.logo{
  max-height: 50px;
  fill: #D0CDBB;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-selector { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--color-dark);
  background: var(--color-grey);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 8px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  user-select: none;
}

.lang-btn:hover { background: color-mix(in srgb, var(--color-grey) 60%, #000 8%); }
.lang-btn .lang-chevron { font-size: 0.65rem; transition: transform 0.2s; opacity: 0.6; }
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--color-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 90px;
  z-index: 10;
}

.lang-selector.open .lang-dropdown { display: flex; }

.lang-option {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover { background: var(--color-grey); }
.lang-option.active { background: var(--color-grey); font-weight: 600; }

.hero-title-black {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 0.9;
  color: var(--color-dark);
}

.hero-title-white {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 0.9;
  color: #fff;
}

.hero-title-serif-black {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.3rem, 5vw, 5.1rem);
  font-style: normal;
  line-height: 1;
  color: var(--color-text-muted);
}

.hero-title-serif-white {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.3rem, 5vw, 5.1rem);
  font-style: normal;
  line-height: 1;
  color: rgba(252, 250, 247, 0.45);
}

.page-title-black {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 0.9;
  color: var(--color-dark);
}

.page-title-white {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 0.9;
  color: #fff;
}

.page-title-serif-black {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.5vw, 3.9rem);
  font-style: normal;
  color: #678175;
}

.page-title-serif-white {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.5vw, 3.9rem);
  font-style: normal;
  color: var(--color-text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-dark);
  background: var(--color-green-btn);
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--color-green-btn) 80%, #000 20%);
}

.btn-green{
  background: #0AA05F;
  color: var(--color-bg);
}
.btn-green:hover{
  background: color-mix(in srgb, #0AA05F 80%, #000 20%);
}

.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-text-muted);
  background: transparent;
  border: 1.5px solid #C8C4BA;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-bg);
  margin-bottom: 24px;
}

.section-label-dark {
  color: var(--color-dark);
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.site-footer {
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 80px 60px;
  box-sizing: border-box;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  display: block;
  margin-bottom: 28px;
  /*filter: brightness(0) invert(1);*/
}

.footer-col-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 6px;
}

.footer-col-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin: 0;
}

.footer-legal strong {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  line-height: 1;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: #fff; }

.footer-email {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-email:hover { color: #ffffffbb; }

.footer-address {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 28px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff;
  stroke: none;
}

.footer-social-btn svg[stroke] {
  fill: none;
  stroke: #fff;
}

.footer-hello {
  position: relative;
  width: 100%;
  overflow: visible;
  user-select: none;
  line-height: 0;
}

.footer-hello-svg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.footer-picto {
  position: absolute;
  cursor: grab;
  width: auto;
  height: clamp(65px, 7.5vw, 110px);
  touch-action: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  transition: filter 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.footer-picto:hover {
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.3));
  transform: scale(1.06);
}

.footer-picto.dragging {
  cursor: grabbing;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.35));
  transform: scale(1.1) rotate(3deg);
  transition: none;
  z-index: 20;
}

.footer-bottom {
  padding: 16px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

.footer-bottom p,
.footer-bottom a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #ffffffa1;
  margin: 0;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--color-dark); }

@media (max-width: 1024px) {
  .footer-top    { padding: 60px 40px 50px; gap: 40px; }
  .footer-bottom { padding: 16px 40px; }
  .nav-cursor-picker {display: none !important;}
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding: 50px 24px 40px;
    gap: 40px;
    text-align: center;
  }
  .nav-account-dis{
    display: none !important;
  }
  .footer-picto{
    display: none;
  }
  .footer-logo-img  { margin: 0 auto 28px; }
  .footer-nav       { align-items: center; }
  .footer-socials   { justify-content: center; }
  .footer-address   { text-align: center; }
  .footer-email     { text-align: center; }
  .footer-bottom {
    padding: 14px 24px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .footer-picto { height: clamp(50px, 10vw, 75px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-delay-1,
  .js .reveal-delay-2,
  .js .reveal-delay-3,
  .js .reveal-delay-4 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
