@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


:root {
--font-display: 'Cormorant Garamond', serif;
--font-footer: 'Inter', sans-serif;
--font-body: 'Inter', sans-serif;
--background: #faf9f6;
--or: #c9a961;
--white : white;
--black : black;
--darkgrey : #1a1a2e;
--blue : #191a2e;
--beige : #F5F3ED;
}

html, body {
  overflow-x: hidden;
}

.ufae-flipbox-front:hover {
  cursor: pointer;
}

body {
margin: 0;
font-family: var(--font-body);
background: var(--background);
}

.site-content {
width: 100%;
margin: 116px auto 0 auto;
}

.title-lines :is(h1, h2, h3, h4, h5, h6) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;          
  max-width: 800px;    
  font-family: var(--font-display);
}

.title-lines :is(h1, h2, h3, h4, h5, h6)::before,
.title-lines :is(h1, h2, h3, h4, h5, h6)::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--or);
  max-width: 70px;
}

.title-lines :is(h1, h2, h3, h4, h5, h6) {
  text-align: center;
}

/* IMAGES */
.profil {
  max-width: 64px;
  max-height: 64px;
}
/* BOUTONS */
button:hover {
  cursor : pointer !important;
}


@media (max-width: 768px) {
 .elementor-button, .elementor-widget-button, button:not(.burger) {
  width: 100%;
}
}


.btn_black {
  color: var(--darkgrey);
  padding: 16px 32px;
  border: 2px solid var(--black);
  background-color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  position: relative;
  overflow: hidden;
  transition: color 0.6s, background-color 0.6s;
    justify-content: center;

}

.btn_black svg {
display: inline-block;      
vertical-align: middle;    
width: 1em;                 
height: 1em;
}

.btn_black:hover{
color : var(--white);  
background-color: var(--black);
}

.btn_black:hover svg path {
fill: var(--white);
}

.btn_black::before,
.btn_black::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-style: solid;
  border-color: transparent; 
  transition: border-color 0.3s;
}

.btn_black::before {
  top: 0;
  left: 0;
  border-top: 1px solid var(--or);   
  border-left: 1px solid var(--or);
  opacity: 0;
}

/* Coin bas-droit */
.btn_black::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--or);
  border-right: 1px solid var(--or);
  opacity: 0;
}

/* Affiche au hover */
.btn_black:hover::before,
.btn_black:hover::after {
  opacity: 1;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
background: var(--background);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  
}

/* Shadow au scroll */
.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

body.admin-bar .site-header {
top: 32px;
}


@media (max-width: 782px) {
body.admin-bar .site-header {
top: 46px; 
}
}

.custom-logo-link img {
width: 80px;
height: 80px;
}
 


.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
max-width: 1140px;
margin : 0 auto;

}

.desktop-only { 
display: flex; 
justify-content: center;
}

.desktop-only ul{ 
gap : 30px;
}

.menu{
display: flex;
list-style: none;
}

/* Lien actif du menu */
.header-inner .menu li.current-menu-item > a {
  color: var(--or);  /* texte en or */
  position: relative; /* nécessaire pour le pseudo-élément */
}

/* Soulignement fixe sous le texte pour le lien actif */
.header-inner .menu li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;       /* décalage sous le texte */
  width: 100%;         /* toujours plein texte */
  height: 2px;
  background-color: var(--or);
}

/* Menu principal */
 .header-inner .desktop-only .menu,
 .header-inner .desktop-only .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Positionnement parent */
.header-inner .menu > li {
  position: relative;
  padding: 10px;
}

/* Sous-menu masqué */
 .header-inner .desktop-only .menu .sub-menu {
  position: absolute;
  top: 40px;
  left: 5px;
  min-width: 250px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.header-inner .menu li:hover > .sub-menu,
.header-inner .menu li > .sub-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-center .sub-menu li {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
}

.header-center .sub-menu li:hover {
  background-color : var(--beige);
  cursor: pointer;
}

/* Lien normal du menu */
.header-inner .menu a {
  color: var(--darkgrey);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}

.header-inner .menu a:hover {
  color: var(--or);
}

.header-center .sub-menu li:hover > a {
  color: var(--or);
}

.header-inner .menu li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;       
  width: 0;
  height: 2px;
  background-color: var(--or);
  transition: width 0.3s;
}

.header-inner .menu li.menu-item-has-children > a:hover {
  color: var(--or);
}

.header-inner .menu li.menu-item-has-children > a:hover::after {
  width: 100%;
}

.mobile-only { display: none; }

@media (max-width: 768px) {
.desktop-only { display: none; }
.mobile-only { display: block; }
}


/* FOOTER */
.site-footer {
background: #191a2e;
color: #fff;
padding: 3rem 2rem 1rem;
}

.footer-left .custom-logo-link img {
width: 100px;
height: 100px;
margin-left: -5px;
}
.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
}

.footer-left p {
  color: var(--or);
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-inner a{
color : var(--white);
text-decoration: none;
font-size: 16px;
font-family: var(--font-footer);
font-weight: 300;
}

.footer-left svg {
padding: 10px;
margin-top: 15px;
  border: 1px solid var(--or);
  stroke : var(--or);

}

.footer-left svg:hover {
  stroke : var(--blue);
padding: 10px;
background-color: var(--or);
  border: 1px solid var(--blue);
}

.footer-left a:hover {
  color: var(--blue);
  font-size: 16px;
}

.footer-inner h4{
  font-family: var(--font-display);
  font-size: 24px;
    font-weight: 400;
}

.footer-inner a:hover{
color : var(--or);
}

.footer-inner ul{
  margin-top: 20px;
  padding: unset;
list-style-type: none;
}

.footer-inner .sub-menu{
margin-left: 15px;
}

.footer-inner li {
  padding : 10px 0;
}

.footer-inner {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: center;
max-width: 1140px;
margin : 0 auto;
}

.footer-inner .menu {
flex-direction: column;
}

.footer-separator {
height: 1px;
background: rgba(255,255,255,.2);
margin: 2rem 0 1rem;
}


.footer-copy {
text-align: center;
font-size: .875rem;
}

.footer-copy a {
color : var(--or);
}



@media (max-width: 800px) {
  .site-footer .footer-inner {
    flex-wrap: wrap;        /* les colonnes passent à la ligne */
    flex-direction: column; /* ou garder row si tu veux juste wrap */
    gap: 20px;              /* espace entre les éléments */
  }
  
  .site-footer .footer-col {
    width: 100%;            /* chaque colonne prend toute la largeur */
    text-align: center;     /* optionnel : centrer le texte */
  }
}


/* TEXTE ANIMÉ */
.type-lines {
height: auto;
}


/* CARTES */

/* Liste avec V */
.ufae-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.ufae-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
}


/* Icône Font Awesome à la place du V */
.ufae-checklist li::before {
  content: "✔"; /* check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900; /* SOLID */
  position: absolute;
  left: 0;
  top: 2px;
  color: #c9a961;
  font-size: 14px;
}

/* Lien stylé */
.ufae-link {
  position: relative;
  display: inline-block;
  color: #c9a961;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 4px;
}

/* Surlignement décalé */
.ufae-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px; /* plus bas qu'un underline classique */
  width: 100%;
  height: 2px;
  background-color: #c9a961;
}

/* Flèche */
.ufae-link .arrow {
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
}

/* Hover clean */
.ufae-link:hover .arrow {
  transform: translateX(5px);
}

/* SVG visible */
.ufae-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor; 
  display: inline-block;
}

/* Animation clean */
.ufae-link .arrow {
  display: inline-flex;
  transition: transform 0.3s ease;
}

/* ACCORDEON */
.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span>svg {
    fill: var(--or) !important;
}


/* ARTICLES */

/* Container */
.sgc-archives {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

/* Card */
.sgc-archive-card {
    background: #ffffff;
    padding: 50px;
    border: 1px solid #eeeeee;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.ufae-flipbox-back{
  padding: unset !important;
}

/* Date */
.sgc-archive-date {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    gap: 12px;
}

/* Trait or */
.sgc-archive-date::before {
    content: "";
    width: 50px;
    height: 1px;
    background-color: var(--or); 
    flex-shrink: 0;
}



/* Title */
.sgc-archive-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 500;
    color: #000;
    margin: 0 0 15px 0;
}

/* Hover carte → titre en or */
.sgc-archive-card:hover .sgc-archive-title {
    color: var(--or);
    transition: color 0.8s ease;
}

/* Expert */
.sgc-archive-expert {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
}

/* Link */
.sgc-archive-link {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sgc-archive-link .arrow {
    transition: transform 0.3s ease;
}

.sgc-archive-link:hover .arrow {
    transform: translateX(5px);
}

/* Pagination */
.sgc-pagination {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sgc-pagination a,
.sgc-pagination span {
    padding: 8px 14px;
    border: 1px solid #eeeeee;
    text-decoration: none;
    color: #000;
    font-family: 'Roboto', sans-serif;
}

.sgc-pagination .current {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
  .sgc-archive-card {
    padding: 24px;
  }
  .sgc-archive-title {
    font-size: 36px;
}
}
/* ===============================
   EFFETS CARTES (AJOUTS UNIQUEMENT)
   =============================== */

/* Animation carte */
.sgc-archive-card {
    position: relative;
    transition: transform 1.2s ease-in-out;
}

.sgc-archive-card:hover {
    transform: translateY(-5px);
}

/* Coins pseudo-éléments (haut gauche / bas droit) */
.sgc-archive-card::before,
.sgc-archive-card::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid var(--or);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.8s ease-in-out;
}

/* Haut gauche */
.sgc-archive-card::before {
    top: -3px;
    left: -3px;
    border-right: none;
    border-bottom: none;
}

/* Bas droit */
.sgc-archive-card::after {
    bottom: -3px;
    right: -3px;
    border-left: none;
    border-top: none;
}

/* Coins background (haut droit / bas gauche) */
.sgc-archive-card {
    background-image:
        linear-gradient(rgba(201, 169, 97, 0.5), rgba(201, 169, 97, 0.5)),  /* top right horizontal */
        linear-gradient(rgba(201, 169, 97, 0.5), rgba(201, 169, 97, 0.5)),  /* top right vertical */
        linear-gradient(rgba(201, 169, 97, 0.5), rgba(201, 169, 97, 0.5)),  /* bottom left horizontal */
        linear-gradient(rgba(201, 169, 97, 0.5), rgba(201, 169, 97, 0.5));  /* bottom left vertical */
    
    background-size:
        50px 1px,   /* top right horizontal */
        1px 50px,   /* top right vertical */
        50px 1px,   /* bottom left horizontal */
        1px 50px;   /* bottom left vertical */
    
    background-repeat: no-repeat;
    background-position:
        top right,
        top right,
        bottom left,
        bottom left;

        transition: background-image 0.8s ease-in-out;

}

/* Hover → tous les coins opaques */
.sgc-archive-card:hover::before,
.sgc-archive-card:hover::after {
    opacity: 1;
}

/* Hover background coins */
.sgc-archive-card:hover {
    background-image:
        linear-gradient(rgba(201, 169, 97, 1), rgba(201, 169, 97, 1)),
        linear-gradient(rgba(201, 169, 97, 1), rgba(201, 169, 97, 1)),
        linear-gradient(rgba(201, 169, 97, 1), rgba(201, 169, 97, 1)),
        linear-gradient(rgba(201, 169, 97, 1), rgba(201, 169, 97, 1));
}


/* BURGER */

/* ===== BURGER ===== */
.burger {
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

/* ligne centrale grise */
.burger .burger-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #999;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

/* lignes noires */
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #000;
  transition: transform 0.3s ease, top 0.3s ease;
}

.burger::before {
  top: 0;
}

.burger::after {
  bottom: 0;
}

/* ===== ÉTAT OUVERT ===== */
.mobile-menu.open + .burger .burger-line,
.burger.active .burger-line {
  opacity: 0;
}

.mobile-menu.open + .burger::before,
.burger.active::before {
  top: 50%;
  transform: rotate(45deg);
}

.mobile-menu.open + .burger::after,
.burger.active::after {
  bottom: auto;
  top: 50%;
  transform: rotate(-45deg);
}

/* ===== MENU MOBILE ===== */
.mobile-menu {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--background, #fff);
  padding: 25px;
  gap: 30px;
box-sizing: border-box;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.mobile-menu.open {
  transform: translateY(0);
}

/* liens principaux */
.mobile-menu a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

/* sub menu */
.mobile-menu .sub-menu a {
  color: #888;
  font-size: 16px;
}

.mobile-menu .sub-menu {
  margin: 25px 0 -10px 25px;
}

/* structure WP */
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding-top: 12px;
  margin-bottom: 12px;
}

.mobile-menu .btn_black {
  margin-top: 40px;
  align-self: flex-start;
  width: 100%;
}

.marquee,
.marquee .e-con-inner {
  overflow: hidden;
  width: 100%;
  max-width: 1140px;
}

.marquee p {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  transform: translateX(0); /* visible au chargement */
  animation: scroll 70s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optionnel : animation */
.e-n-accordion details[open] > div[role="region"] {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

#background-text {
  position: relative;
  overflow: hidden;
  min-height: 600px; 
}

#background-text::before {
  content: "VISION";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;      
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 25vw;   
  max-width: 80%;
  text-align: center;
  color: var(--or);
  opacity: 0.08;        
  white-space: nowrap;
  z-index: 0;
}

.cmplz-links li:not(:first-child) {
    display: none;
}


