/* ===================================================
   Layout Container – shared by header rows
   =================================================== */
.container {
  max-width: 1200px;              /* Fixed max width */
  margin: 0 auto;                 /* Center horizontally */
  padding: 0 32px;                /* Horizontal padding */
  width: 100%;                    /* Full width inside parent */
  box-sizing: border-box;        /* Include padding in width */
}


/* ===================================================
   Fixed Header Wrapper
   =================================================== */
.menu-header {
  position: fixed;               /* Fix to top of screen */
  top: 0;
  left: 0;
  width: 100%;                   /* Span full screen */
  background: #fff;              /* White background */
  border-bottom: 1px solid #ccc; /* Thin bottom border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  z-index: 100;                  /* Stack above base */
}


/* ===================================================
   Header Inner Block
   =================================================== */
.header-inner {
  display: flex;                 /* Column stacking */
  flex-direction: column;
}

/* ===================================================
   Header Top: Logo, Meta-Zone, Hamburger
   =================================================== */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;                  /* Default desktop height */
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 10;                   /* Stacked above nav */
}

.menu-header .logo{
  display: flex;
  align-items: center;
  height: 100%;
}

.menu-header .logo img {
  height: 58px;                  /* Logo height */
  display: block;
  margin: 0;              /* Top margin for vertical align */
	  transform: translateY(17px);           /* desktop nudge (tune 0–10px) */

}


/* ===================================================
   Meta Zone (LinkedIn + Language Switch)
   =================================================== */
.meta-zone {
  display: flex;
  align-items: center;
  gap: 70px;                     /* Space between items */
  margin: 0;
   transform: translateY(6px);
}

.linkedin-icon img {
  width: 50px;
  height: 50px;
  opacity: 1;
  transition: opacity 0.4s ease; /* Smooth hover fade */
}

.linkedin-icon:hover img {
  opacity: 0.7;
}

.lang-switch {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
}

.lang-switch a {
  color: var(--text-color);
  opacity: 0.45;
  text-decoration: none;
  margin-left: 6px;
}

.lang-switch a.active {
  text-decoration: underline;
  text-decoration-thickness: 1.8px;
  text-underline-offset: 4px;
}


/* ===================================================
   Nav Container Wrapper
   =================================================== */
.nav-container {
  position: relative;
}


/* ===================================================
   Desktop Navigation Bar
   =================================================== */
.header-nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  height: 50px;
  background: #fff;
  width: 100%;
  padding-top: 2px;
  overflow: hidden;
}

.header-nav .nav-links {
  display: flex;
  list-style: none;
  gap: clamp(18px, 3vw, 45px);                    /* Space between nav items */
  margin: 0;
  padding: 0;
}

.header-nav .nav-links a {
  font-family: var(--font-base);
  font-weight: 800;
  font-size: clamp(20px, 1.6vw, 22px);
          /* ← hérité du h3 */
  color: var(--text-color);
  text-decoration: none;
  margin: 0;
  transition: color 0.3s;
  line-height: 1.4;
  white-space: nowrap;
}

.header-nav .nav-links a:hover,
.header-nav .nav-links a.active {
  color: var(--brand-orange);                /* Brand color highlight */
}


/* ===================================================
   Footer – Desktop Layout
   =================================================== */
.site-footer {
  background: var(--brand-orange);
  color: #fff;
  padding: 48px 0;               /* Vertical padding */
	
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-address,
.footer-contact {
  flex: 1 1 45%;                 /* Responsive columns */
}

.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li + li {
  margin-top: 12px;              /* Space between links */
}

.footer-address { text-align: left; }
.footer-contact { text-align: right; }

.footer-address p,
.footer-phone {
  color: #fff;
}

.footer-phone {
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-block;
  margin-top: 40px;
}

.footer-phone:hover {
  opacity: 0.8;
}

.footer-contact a {
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-linkedin {
  text-align: right;
  margin-top: 16px;
}

.footer-linkedin img {
  width: 45px;
  height: 45px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-linkedin img:hover {
  opacity: 0.8;
}

/* ===================================================
   Footer – Mobile Layout (≤768px)
   =================================================== */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;         /* Stack columns vertically */
    align-items: center;           /* Center-align content */
    text-align: center;            /* Center-align text */
    gap: 24px;                     /* Vertical spacing */
  }

  .footer-address,
  .footer-contact,
  .footer-legal {
    width: 100%;                   /* Full width on mobile */
    flex: none;                    /* Disable flex growth */
  }

  .footer-contact ul,
  .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 12px;                     /* Spacing between list items */
  }
}


/* ===================================================
   Responsive Mobile Menu (≤768px)
   =================================================== */

@media (max-width: 768px) {

  /* ==========================================
     Hamburger Button Container
     ========================================== */
	
   /* wrapper is the anchor: dead center vertically */
  .header-hamburger{
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 0;          /* prevents wrapper height affecting centering */
    z-index: 3000;
  }

  /* ==========================================
     Hamburger Icon
     ========================================== */
	
   
  .hamburger{
    position: relative; /* <— important */
    top: auto;
    right: auto;
    transform: none;
    margin: 0;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center center;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(0, 14px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-14px);
  }

  /* ==========================================
     Header Adjustments for Mobile
     ========================================== */
  .header-top {
    height: 76px;
    position: relative;
  }

  .menu-header .logo img {
    height: 48px;
    margin: 0;             /* Adjust vertical position */
	transform: translateY(-7px);         /* usually best on mobile */

  }

  .header-top .meta-zone {
    display: none;                /* Hide on small screens */
  }

  /* ==========================================
     Full-Screen Mobile Navigation Overlay
     ========================================== */
  .header-nav {
    opacity: 0;
    visibility: hidden;
    transition: none;

    flex-direction: column;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    height: 100vh;
    overflow-y: auto;
  }

  .header-nav.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
  }

  .header-nav .nav-links {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }

  .header-nav .nav-links a {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    line-height: 1.4;
    padding: 0;
  }

  .header-nav .nav-links li:nth-child(n+5) {
    display: none;                /* Hide extra links */
  }

  .header-nav .nav-extra {
    margin-top: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
  }

  .header-nav .nav-extra a {
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s;
  }

  .header-nav .nav-extra a:hover {
    color: var(--brand-orange);
  }

  .header-nav .nav-extra .lang-switch {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 1;
    margin-top: 1rem;
  }

  .header-nav .nav-extra .lang-switch a {
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 0 0.25rem;
    font-weight: 600;
    letter-spacing: 0.03em !important;
    margin-top: 1rem;
    opacity: 0.45 !important;
  }

  .nav-extra .lang-switch a.active {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
  }

  .header-nav .nav-extra .linkedin-icon img {
    width: 48px;
    height: 48px;
    opacity: 1;
  }


  /* ==========================================
     Footer Mobile Layout (override desktop)
     ========================================== */
  .site-footer > .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .site-footer .footer-address,
  .site-footer .footer-contact {
    flex: none !important;
    width: 100% !important;
    text-align: center !important;
  }

  .site-footer .footer-address {
    order: 1 !important;
  }

  .site-footer .footer-phone {
    order: 2 !important;
    margin-top: 16px !important;
    margin-bottom: 48px;
  }

  .site-footer .footer-contact {
    order: 3 !important;
  }

  .site-footer .footer-contact ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .site-footer .footer-linkedin {
    order: 4 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
  }

  .site-footer .footer-linkedin img {
    width: 55px !important;
    height: 55px !important;
  }
	
	.mobile-only {
  display: list-item;
}
	
}


/* ===================================================
   Desktop Navigation Defaults (≥769px)
   =================================================== */

@media (min-width: 769px) {
  .hamburger {
    display: none;               /* Hide hamburger on desktop */
  }

  .header-nav {
    display: flex !important;   /* Show nav normally */
  }

  .header-nav .nav-links li:nth-child(n+6) {
    display: none;              /* Hide extra links */
  }

  .header-nav .nav-extra {
    display: none;              /* Hide extra block */
  }
	
	.mobile-only {
  display: none;
}

}



body{
  padding-top: 110px;
}

@media (max-width: 768px){
  body{
    padding-top: 76px; /* your mobile header-top height */
  }
		
 .container{
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }
	
.circularity-section{
    min-height: calc(100svh - 76px); /* full screen minus fixed header */
    
    display: flex;
    flex-direction: column;
    justify-content: center;  /* vertical centering */
    align-items: center;
    
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}


@media (max-width: 768px){
  .header-nav{
    top: 76px;
    height: calc(100vh - 76px);
  }
}
