/* ================================================================
   Barnils — Custom Styles
   Chargé après normalize.css, webflow.css, barnils.webflow.css
================================================================ */

/* ---------------------------------------------------------------
   Accessibilité
--------------------------------------------------------------- */
*[tabindex]:focus-visible,
input[type="file"]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

/* ---------------------------------------------------------------
   Utilities Webflow (margin / padding / visibility helpers)
--------------------------------------------------------------- */
.pointer-events-off { pointer-events: none; }
.pointer-events-on  { pointer-events: auto; }

.container-medium,
.container-small,
.container-large {
  margin-right: auto !important;
  margin-left:  auto !important;
}

/* Héritage typographique pour les éléments Webflow */
a,
.w-input,
.w-select,
.w-tab-link,
.w-nav-link,
.w-dropdown-btn,
.w-dropdown-toggle,
.w-dropdown-link {
  color: inherit;
  text-decoration: inherit;
  font-size: inherit;
}

.display-inlineflex { display: inline-flex; }

.margin-0           { margin:   0 !important; }
.padding-0          { padding:  0 !important; }
.spacing-clean      { padding:  0 !important; margin: 0 !important; }

.margin-top         { margin-right:  0 !important; margin-bottom: 0 !important; margin-left:   0 !important; }
.padding-top        { padding-right: 0 !important; padding-bottom: 0 !important; padding-left:  0 !important; }
.margin-right       { margin-top:    0 !important; margin-bottom: 0 !important; margin-left:   0 !important; }
.padding-right      { padding-top:   0 !important; padding-bottom: 0 !important; padding-left:  0 !important; }
.margin-bottom      { margin-top:    0 !important; margin-right:  0 !important; margin-left:   0 !important; }
.padding-bottom     { padding-top:   0 !important; padding-right: 0 !important; padding-left:  0 !important; }
.margin-left        { margin-top:    0 !important; margin-right:  0 !important; margin-bottom: 0 !important; }
.padding-left       { padding-top:   0 !important; padding-right: 0 !important; padding-bottom: 0 !important; }
.margin-horizontal  { margin-top:    0 !important; margin-bottom: 0 !important; }
.padding-horizontal { padding-top:   0 !important; padding-bottom: 0 !important; }
.margin-vertical    { margin-right:  0 !important; margin-left:   0 !important; }
.padding-vertical   { padding-right: 0 !important; padding-left:  0 !important; }

/* ---------------------------------------------------------------
   Scrollbar
--------------------------------------------------------------- */
.no-scrollbar                      { -ms-overflow-style: none; overflow: -moz-scrollbars-none; }
.no-scrollbar::-webkit-scrollbar   { display: none; }

body::-webkit-scrollbar            { width: 8px; }
body::-webkit-scrollbar-track      { background: #e5e4e4; }
body::-webkit-scrollbar-thumb      { background: #fe7505; border-radius: 100vw; }

/* ---------------------------------------------------------------
   Visibilité responsive
--------------------------------------------------------------- */
.hide { display: none !important; }

@media screen and (min-width: 992px) {
  .hide-desktop { display: none !important; }
}
@media screen and (max-width: 991px) {
  .hide,
  .hide-tablet  { display: none !important; }
}
@media screen and (max-width: 767px) {
  .hide-mobile-landscape { display: none !important; }
}
@media screen and (max-width: 479px) {
  .hide-mobile { display: none !important; }
}

[data-nav-menu-open] {
  display: flex !important;
  justify-content: space-evenly !important;
}

/* ---------------------------------------------------------------
   Layout global
--------------------------------------------------------------- */
.main-wrapper      { padding-top: 4.5rem; }
.text-color-orange { color: var(--orange); }

/* ---------------------------------------------------------------
   Composants — Boutons
--------------------------------------------------------------- */
.button.is-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.button.is-whatsapp {
  background-color: var(--white);
  color: var(--black);
  border: 0.125rem solid var(--black);
}
.button.is-whatsapp:hover {
  background-color: #25d366;
  color: var(--white);
  border-color: #25d366;
  transform: translate(0, -0.25rem);
  box-shadow: 7px 7px 1px #0003;
}
.button.is-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.text-link {
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 2px;
}
.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ---------------------------------------------------------------
   Navbar
--------------------------------------------------------------- */

/* Override le grid 3 colonnes de Webflow → flex simple */
.navbar_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Collapse du numéro WhatsApp au scroll (géré par .is-scrolled via JS) */
.navbar_component .is-whatsapp {
  transition: column-gap 0.35s cubic-bezier(0.37, 0, 0.63, 1),
              padding    0.35s cubic-bezier(0.37, 0, 0.63, 1);
}
.navbar_component .is-whatsapp .hide-mobile {
  max-width: 8rem;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s cubic-bezier(0.37, 0, 0.63, 1),
              opacity   0.25s cubic-bezier(0.37, 0, 0.63, 1);
}
.navbar_component.is-scrolled .is-whatsapp {
  column-gap: 0;
  padding-left:  0.75rem;
  padding-right: 0.75rem;
}
.navbar_component.is-scrolled .is-whatsapp .hide-mobile {
  max-width: 0;
  opacity: 0;
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.header_actions {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.header_trust-strip {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: solid 1px var(--gray);
  max-width: 72ch;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.header_trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   FAQ
--------------------------------------------------------------- */
.faq_icon-wrappper                            { color: var(--orange); }
.faq_icon-wrappper svg                        { transition: transform 0.3s ease; }
.faq_accordion.is-open .faq_icon-wrappper svg { transform: rotate(45deg); }

/* ---------------------------------------------------------------
   Section CTA
--------------------------------------------------------------- */
.cta_subtitle        { color: var(--white); opacity: 0.8; margin-top: 0.75rem; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.cta_subtitle strong { color: var(--orange); font-weight: 700; }
.cta_sublegal        { color: var(--white); opacity: 0.5; font-size: 0.8125rem; margin-top: 0.75rem; }

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.footer_brand-wrapper  { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.footer_brand-baseline { color: var(--white); opacity: 0.6; font-size: 0.875rem; margin: 0; max-width: 18ch; text-align: left; }
.footer_contact-row    { display: flex; flex-direction: row; gap: 2rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

/* ---------------------------------------------------------------
   Animations — révélation au scroll + entrées page-load (hero)
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity   0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(3rem); }
  to   { opacity: 1; transform: none; }
}
.section_header {
  animation: hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes circles-enter {
  from { opacity: 0; transform: scale3d(1.5, 1.5, 1); }
  to   { opacity: 1; transform: none; }
}
.header_background-image-wrapper {
  animation: circles-enter 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible               { transition: none; opacity: 1; transform: none; }
  .section_header,
  .header_background-image-wrapper { animation: none; opacity: 1; transform: none; }
}
