/* Ajustements de la Home 01 : sa typographie, sa palette et ses blocs restent ceux de Forexy. */
html { scroll-behavior: smooth; }
.tg-logo { display: inline-flex; align-items: center; color: #fff !important; font-family: var(--heading-font-family); white-space: nowrap; }
.tg-logo__mark { display: block; width: 40px; height: 40px; flex: 0 0 40px; margin-right: 9px; border-radius: 9px; }
.tg-logo:not(.tg-logo--dark) .tg-logo__mark { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.tg-logo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tg-logo__copy strong { color: inherit; font-size: 27px; font-weight: 800; line-height: 1; }
.tg-logo__copy small { color: var(--theme-color1); font-family: var(--body-font-family); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.tg-logo--dark { color: var(--theme-color2) !important; }
.tg-logo--dark .tg-logo__copy small { color: var(--theme-color3); }
.main-footer .tg-logo__copy strong { font-size: 29px; }
.header-style-one .main-menu .tg-mobile-entry { display: none; }
.mobile-menu .tg-mobile-entry { display: block; }
.tg-mobile-risk { padding: 22px 25px; color: var(--theme-color4); font-size: 13px; line-height: 1.5; }
.banner-section .banner-info .right-box { gap: 20px; }
.banner-section .banner-info .right-box i { margin-left: 0; }
.funfact-section .counter-block { max-width: none; }
.funfact-section .counter-block .inner-box { display: grid; grid-template-columns: 58px minmax(0,1fr); grid-template-areas: "icon value" "label label"; gap: 12px 14px; align-content: start; min-height: 145px; }
.funfact-section .counter-block .icon-box { grid-area: icon; }
.funfact-section .counter-block .count-box { grid-area: value; white-space: nowrap; font-size: clamp(38px, 2.8vw, 58px); line-height: 1; }
.funfact-section .counter-block .text { grid-area: label; margin: 0; text-align: left; font-size: 16px; line-height: 1.35; }
.funfact-section .counter-block .text .icon { display: inline-flex; align-items: center; justify-content: center; margin: 0 7px 0 0; vertical-align: middle; }
.funfact-section .tg-funfact-note { margin: 8px 0 0; color: var(--theme-color2); font-size: 12px; line-height: 1.5; opacity: .8; }
.tg-market-status { width: fit-content; max-width: calc(100% - 24px); margin: -13px auto 31px; padding: 8px 14px; border-radius: 4px; background: var(--theme-color2); color: var(--theme-color1); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.tg-market-note { max-width: 780px; margin: 6px auto 0; padding: 0 18px; color: var(--text-color); font-size: 13px; line-height: 1.6; text-align: center; }
.tg-market-note a { color: var(--theme-color3); text-decoration: underline; }
.market-block_one .price span, .market-block_one .buy span, .market-block_one .content-box2 > span { white-space: nowrap; }
.market-block_one .price span { color: var(--theme-color2); font-weight: 700; }
.market-block_one[data-market-status="pending"] .left-box .icon { color: var(--theme-color3); transform: none; }
.market-block_one[data-market-status="pending"] .right-box { color: var(--theme-color3); }
.market-block_one[data-market-direction="flat"] .left-box .icon { color: var(--theme-color3); transform: none; }
.market-block_one[data-market-direction="flat"] .right-box { color: var(--theme-color3); }
.testimonial-section .auto-container { position: relative; z-index: 1; }
.testimonial-block .inner-box { -webkit-mask-image: none; mask-image: none; min-height: 290px; border: 1px solid rgba(0,63,47,.08); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,63,47,.08); }
.testimonial-block > .icon-quote { z-index: 2; }
.testimonial-block .text { min-height: 88px; }
.testimonial-block .author-image img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-section .tg-review-source { position: relative; z-index: 1; max-width: 800px; margin: 0 auto 34px; color: var(--text-color); text-align: center; }
.testimonial-section .tg-review-source a { color: var(--theme-color3); text-decoration: underline; }
.tg-footer-risk { color: var(--theme-color4); font-size: 14px; line-height: 1.8; }
.tg-legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tg-legal-links a { color: var(--theme-color2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tg-legal-links a:hover { color: var(--theme-color3); }
.mobile-trade-bar { display: none; }

/* Fenêtres de contact et de dépôt dans les couleurs et polices de la template. */
.trade-modal { position: fixed; inset: 0; width: 900px; max-width: min(900px, calc(100vw - 28px)); max-height: min(90dvh, 900px); margin: auto; padding: 0; border: 0; border-radius: 10px; overflow: auto; box-shadow: 0 30px 90px rgba(0,25,18,.35); color: var(--theme-color2); }
.trade-modal::backdrop { background: rgba(0,30,23,.76); backdrop-filter: blur(4px); }
.trade-modal * { box-sizing: border-box; }
.trade-modal__layout { display: grid; grid-template-columns: 38% 62%; }
.trade-modal__aside { display: flex; flex-direction: column; padding: 42px 33px; background: var(--theme-color2) url('../images/background/trading-bg.png') center/cover; color: #fff; }
.trade-modal__eyebrow, .trade-modal__kicker { font-family: var(--body-font-family); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--theme-color3); }
.trade-modal__eyebrow { color: var(--theme-color1); }
.trade-modal__aside h2 { margin: 70px 0 18px; color: #fff; font-family: var(--heading-font-family); font-size: 39px; line-height: 1.13; }
.trade-modal__aside p { margin: 0; color: #c5d7ca; font-size: 14px; line-height: 1.7; }
.trade-modal__aside small { margin-top: auto; color: #b6cfbd; font-size: 11px; }
.trade-modal__main { position: relative; padding: 44px 44px 27px; background: #fff; }
.trade-modal__close { position: absolute; right: 19px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--theme-color5); color: transparent; font-size: 0; cursor: pointer; }
.trade-modal__close::before, .trade-modal__close::after { content: ""; position: absolute; width: 15px; height: 2px; border-radius: 2px; background: var(--theme-color2); }
.trade-modal__close::before { transform: rotate(45deg); }
.trade-modal__close::after { transform: rotate(-45deg); }
.trade-modal__close:focus-visible { outline: 3px solid var(--theme-color3); outline-offset: 2px; }
.trade-modal__main h2 { margin: 12px 0 6px; color: var(--theme-color2); font-family: var(--heading-font-family); font-size: 32px; line-height: 1.15; }
.trade-modal__intro { margin: 0 0 14px; color: var(--text-color); font-size: 13px; line-height: 1.6; }
.trade-form { display: flex; flex-direction: column; gap: 14px; }
.trade-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trade-form label { position: relative; display: flex; flex-direction: column; gap: 4px; color: var(--theme-color2); font-size: 12px; font-weight: 700; }
.trade-form input:not([type=checkbox]):not([type=radio]) { width: 100%; height: 43px; padding: 9px 13px; border: 1px solid #d7e2db; border-radius: 5px; background: #fafcf9; color: var(--theme-color2); font-family: var(--body-font-family); font-size: 14px; outline: none; }
.trade-form input:focus-visible { border-color: var(--theme-color3); box-shadow: 0 0 0 3px rgba(1,133,153,.15); }
.trade-form input::placeholder { color: #99aaa0; }
.trade-form input[aria-invalid="true"]:not([type=checkbox]):not([type=radio]) { border-color: #b52c33; background: #fffafa; }
.trade-form input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(181,44,51,.13); }
.trade-form input[type=checkbox][aria-invalid="true"] { outline: 2px solid #b52c33; outline-offset: 2px; }
.trade-form__field-error { position: absolute; top: calc(100% + 1px); left: 0; width: 100%; height: 12px; margin: 0; overflow: hidden; color: #b52c33; font-size: 10px; font-weight: 600; line-height: 12px; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.trade-form__consent { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 9px !important; color: var(--text-color) !important; font-size: 11px !important; font-weight: 500 !important; line-height: 1.5; }
.trade-form__consent input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--theme-color2); }
.trade-form__consent a { color: var(--theme-color3); text-decoration: underline; }
.trade-form__consent .trade-form__field-error { left: 25px; width: calc(100% - 25px); }
.trade-form__submit { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 51px; margin-top: 2px; padding: 7px 8px 7px 19px; border: 0; border-radius: 5px; background: var(--theme-color1); color: var(--theme-color2); font-family: var(--body-font-family); font-size: 14px; font-weight: 800; cursor: pointer; }
.trade-form__submit i { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 5px; background: var(--theme-color2); color: #fff; }
.trade-form__submit:hover { background: #c9f879; }
.trade-form__submit:disabled { opacity: .55; cursor: wait; }
.trade-form__feedback { flex: 0 0 20px; height: 20px; margin: 0; overflow: hidden; color: #865a1c; font-size: 11px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.trade-form__feedback[data-state="error"] { color: #b52c33; }
.trade-form__feedback[data-state="success"] { color: #126b4d; }
.amount-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.amount-options legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.amount-options__title { grid-column: 1/-1; color: var(--theme-color2); font-size: 12px; font-weight: 700; }
.amount-options label { display: block; min-width: 0; cursor: pointer; }
.amount-options input { position: absolute; opacity: 0; }
.amount-options label span { display: block; padding: 10px 5px; border: 1px solid #cfded4; border-radius: 5px; text-align: center; white-space: nowrap; font-size: 13px; }
.amount-options input:checked+span { border-color: var(--theme-color2); background: var(--theme-color1); }
.amount-options input:focus-visible+span { outline: 3px solid var(--theme-color3); outline-offset: 2px; }
.trade-form__hint { margin: 0; color: var(--text-color); font-size: 11px; }
@media (max-width: 767px) { .trade-modal__layout { display: block; } .trade-modal__aside { display: none; } .trade-modal__main { padding: 39px 21px 22px; } .trade-modal__main h2 { font-size: 29px; } .trade-form__row { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  html { scroll-padding-bottom: 100px; }
  .testimonial-block > .icon-quote { display: none; }
  .funfact-section .funfact-title { display: block; margin: 0; padding: 30px 16px 0; background: transparent; text-align: center; font-size: 24px; }
  .funfact-section .inner-container { padding-top: 35px; }
  .main-footer { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .header-style-one .header-lower .outer-box .btn-box { display: none; }
  .mobile-trade-bar { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: block; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -8px 30px rgba(0,44,33,.13); }
  .mobile-trade-bar .theme-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 51px; }
  body.mobile-menu-visible .mobile-trade-bar, body:has(.trade-modal[open]) .mobile-trade-bar { display: none; }
  .trade-modal { max-height: calc(100dvh - 24px); }
}
@media (max-width: 575px) { .tg-logo__copy strong { font-size: 22px; } .tg-logo__copy small { font-size: 9px; } .tg-logo__mark { width: 34px; height: 34px; flex-basis: 34px; } .amount-options label span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
