/*
  Theme Name: Tradiser 26
  Theme URI: https://www.tradiser.com
  Description: Nouvelle version Tradiser 2026
  Author: Tradiser
  Author URI: https://www.tradiser.com
  Version: 1.0.0
  Template: Divi
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400&display=swap');

:root {
  --rose: #e84893; /* logo */
  --darkblue: #22335c;
  --or: #d5b079;
  --anis: #abcc59;
  --fuchsia: #e84893;
  --citron: #fae345;
  --orange: #f07f13;
  --chocolat: #603232;
  --praline: #b1915e;
  --grisclair: #f6f7fe;
  --rose: #f4a4b8;
  --vert: #7ecb8f;
  --dark: #0d0d0d;
  --light: #f5f0eb;
}

/* reset */

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

/* tradiser 2026 */

html { scroll-behavior: auto; }

body {
  font-family: Lato, sans-serif;
  font-size: 1.1rem;
  background-color: #FCE4EF;
  background: linear-gradient(90deg, rgba(252, 228, 239, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(252, 228, 239, 1) 100%);
}

/* tradiser scroll */

/* ── Canvas fixé ── */
#canvas-container {
    position: fixed;
    top: 100px; left: 0;
    width: 100%; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

canvas { display: block; }

/* ── Scroll sections ── */
.scroll-content {
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8vw;
}

/* Section 1 — Hero */
.s1 { justify-content: flex-start; }
.s1 .text-block { max-width: 440px; }

/* Section 2 — Milieu */
.s2 { justify-content: flex-end; }
.s2 .text-block { max-width: 380px; text-align: right; }

/* Section 3 — Bas */
.s3 { justify-content: center; text-align: center; flex-direction: column; gap: 2rem; }

h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    color: var(--dark);
}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    color: var(--dark);
    line-height: 1;
}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    color: #fff;
}

p {
    font-weight: 300;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--dark);
    margin-top: 1.2rem;
    max-width: 340px;
}

.s3 p{color: #fff}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.25);
    padding: 0.3em 0.8em;
    border-radius: 999px;
    margin-bottom: 1rem;
    color: rgba(0,0,0,0.5);
}

.accent { color: var(--rose); }
.accent-g { color: var(--vert); }

/* Indicateur de scroll */
.scroll-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.3);
    z-index: 10;
    transition: opacity 0.5s;
}
.scroll-hint .bar {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
    animation: scrollDown 1.4s ease-in-out infinite;
}
@keyframes scrollDown {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Progress bar */
#progress {
    position: fixed;
    top: 0; left: 0;
    height: 5px;
    width: 0%;
    background: linear-gradient(to right, var(--rose), var(--vert));
    z-index: 100;
    transition: width 0.1s linear;
}

/* loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    flex-direction: column;
    gap: 1.5rem;
}
#loader span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: rgba(245,240,235,0.4);
}
.loader-bar-wrap {
    width: 180px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.loader-bar {
    height: 100%;
    background: linear-gradient(to right, var(--rose), var(--vert));
    width: 0%;
    transition: width 0.3s ease;
}
#gateau {
    position: fixed;
    bottom: calc(35% - 100px);
    left: 50.5%;
    transform: translateX(-50%);
    /*width: min(830px, 60vw);*/
    max-height: 55vh;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 5px 5px);
}

/* ── Color Switcher ── */
#color-switcher {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 50;
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
}

.color-btn::before {
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
    background: conic-gradient(var(--c1) 50%, var(--c2) 50%);
    transition: transform 0.2s ease;
}

.color-btn:hover { transform: scale(1.15); }
.color-btn.active {
    border-color: rgba(0,0,0,0.2);
    transform: scale(1.2);
}

.color-btn[data-theme="gold-black"]::before {
    background: conic-gradient(
    #111111 0%,
    #111111 50%,
    #FFD700 50%,
    #FFF4A3 60%,
    #C8960C 70%,
    #FFD700 80%,
    #B8860B 90%,
    #FFE55C 100%
    );
}

/* page d'attente (ex-tradiser) */

body.page-id-22 p,
body.page-id-22 a{font-size: 1.1rem}
.page-id-22 .et-l.et-l--header{display: none;}
.page-id-22 .et_pb_row {max-width: 1920px; width: 100%}
.page-id-22 .maSection1 {padding: 0!important}
.page-id-22 .maSection1 h1{text-align: center;}
.page-id-22 .maSection1 h1 img{width: 90%}
.page-id-22 .maSection1 h2{color: white; font-size: 3.6rem; color: white; line-height: 4.8rem; font-weight: bolder}
.page-id-22 .maSection1 .maRow1{display: flex; padding: 0!important}
.page-id-22 .maSection1 .maRow1>div{width: inherit!important;}
.page-id-22 .maSection1 .maRow1>div:nth-child(1){background-color: var(--darkblue); color: #fff; padding: 4vw; margin-right: 0}
.page-id-22 .double-face{color: var(--rose)}
.page-id-22 .maSection1 p{font-size: 1.1rem}
.page-id-22 .maSection1 p .h2-ligne-2{font-size: 2.4rem; line-height: 3rem;}
.page-id-22 .maSection1 .maRow1>div:nth-child(1) .et_pb_image{margin: 0}
.page-id-22 .maSection1 .maRow2{padding: 8rem 0 3rem!important}
.page-id-22 .maSection1 .maRow2 p{font-size: 2rem; line-height: 2.6rem; max-width: 1300px; text-align: center; margin: 0 auto}
.page-id-22 span.color{color:var(--rose); font-weight: bold;}
.page-id-22 .maSection1 .maRow3{display: flex;}
.page-id-22 .maSection1 .maRow3>div{width: inherit!important; margin: 0!important; text-align: center;}
.page-id-22 .maSection1 .maRow3 .et_pb_image_wrap,
.page-id-22 .maSection1 .maRow3 img{width: 100%}
.page-id-22 .maSection1 .maRow3 .et_pb_button{border: 1px solid white; border-radius: 50px; color: white}
.page-id-22 .maSection1 .maRow3 .et_pb_button:hover {background-color: var(--darkblue);border-color: var(--darkblue);}
.page-id-22 .maSection1 .maRow3 .et_pb_button::after{line-height: 1.1em;}
.page-id-22 .maSection1 .maRow3 .et_pb_button_module_wrapper{white-space: nowrap;}
.page-id-22 .maSection1 .maRow3 .et_pb_button_0_wrapper,
.page-id-22 .maSection1 .maRow3 .et_pb_button_1_wrapper { position: absolute; bottom: 12%; transform: translateX(-50%); left: 50%; }
.page-id-22 .maSection2{max-width: 1920px; margin: 40px auto; /*background: var(--grisclair);*/ padding: 100px 4vw!important;}
.page-id-22 .maSection2 .maRow1,
.page-id-22 .maSection2 .maRow2{max-width: 1300px; margin: 0 auto}
.page-id-22 .maSection2 .maRow2>div:not(:last-child)::before { content: ""; position: absolute; width: 1px; background-color: rgba(53,58,61,.15); right: -14%; height: 50%; top: 50%; transform: translateY(-50%);}
.page-id-22 .maSection2 h2,
.page-id-22 .maSection3 h2{font-size: 2.6rem; font-weight: bold;}
.page-id-22 .maSection3{padding: 50px 4vw!important}
.page-id-22 .maSection3 .maRow1{max-width: 1300px}
.page-id-22 .maSection3 form{display: grid; grid-template-columns:1fr 1fr; gap:1.6rem 2rem}
.page-id-22 .maSection3 form>span textarea{line-height: 1.5rem; height: 8rem}
.page-id-22 .contact-cdts{font-style: italic;}
.page-id-22 .maSection3 form>span input,
.page-id-22 .maSection3 form>span textarea{ background:white!important; border:inherit; border-bottom:1px solid rgba(53,58,61,.15); font-size: 1.1rem;}
.page-id-22 .maSection3 form>span input::placeholder,
.page-id-22 .maSection3 form>span textarea::placeholder {color: #555;}
.page-id-22 .maSection3 form>span[data-name="tradiser-temp-textarea-804"] {grid-column: 1 / -1;}
.page-id-22 .maSection3 form input[type="submit"] {font-size: 1.1rem; letter-spacing: 0px; padding: .3em 1em; border-radius: 50px; border-style: solid; border-color: var(--darkblue); color: var(--darkblue); background-color: #fff; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><g transform='scale(0.7,1)'><text x='30%' y='60%' dominant-baseline='middle' text-anchor='middle' font-size='40'  fill='white'>></text></g></svg>"); background-repeat: no-repeat; background-position: right 15px center; background-size: 0px; transition: all 300ms ease; grid-column: 1 / -1;}
.page-id-22 .maSection3 form input[type="submit"]:hover {padding: .3em 2em .3em .7em;  border-color: var(--darkblue); color: white; background-color: var(--darkblue); -webkit-transition: all 300ms ease 0ms; transition: all 300ms ease 0ms; padding-right: 40px; background-size: 16px;}
.page-id-22 footer{max-width: 1920px; margin: 0 auto}
.page-id-22 footer .et_pb_section,
.page-id-22 footer .et_pb_menu_0_tb_footer.et_pb_menu{background: var(--darkblue)!important; color: white;}
.page-id-22 footer .et_pb_section>div{max-width: 1300px; padding: 0 4vw;}
.page-id-22 footer .et_pb_menu_0_tb_footer.et_pb_menu a{color: white}
.page-id-22 footer ul#menu-pied-de-page-temp{display: flex; flex-direction: column;}
.page-id-22 .copyright br{display: none;}

@media only screen and (max-width: 1600px) {
  .page-id-22 .maSection1 h2 {font-size: 3.6vw; line-height: 3.8vw;}
  .page-id-22 .maSection1 .maRow1 > div:nth-child(1) {padding: 3vw 4vw; display: flex; flex-direction: column; justify-content: center;}
  .page-id-22 .maSection1 .maRow1 > div:nth-child(1) .et_pb_text_1 {padding-bottom: 2vw}
  .page-id-22 .maSection1 p .h2-ligne-2 {font-size: 2.4vw; line-height: 3vw;}
}

@media only screen and (max-width: 1400px) {
  .page-id-22 .maSection1 p {font-size: 1.1rem;}
  .page-id-22 .maSection1 .maRow1 > div:nth-child(1) {padding: 2vw 4vw;}
  .page-id-22 .maSection1 .maRow2 {padding: 8rem 2rem 3rem !important;}
  .page-id-22 .maSection2 {margin: 5vw auto;}
}

@media only screen and (max-width: 1200px) {
  .page-id-22 .maSection1 p {font-size: 1rem;}
  .page-id-22 .monH1{margin-bottom: 2%!important}
  .page-id-22 .maSection1 .maRow1 > div:nth-child(1) {padding: 0vw 3vw;}
  .page-id-22 .maSection1 .maRow2 p {font-size: 1.8rem; line-height: 2.4rem;}
  .page-id-22 .maSection1 .maRow2 {padding: 5rem 2rem 1rem !important;}
  .page-id-22 .maSection2,
  .page-id-22 .maSection3{padding: 4vw !important;}
  .page-id-22 .maSection2 h2, .page-id-22 .maSection3 h2 {font-size: 2.2rem;}
}

/* Tablettes (paysage) */
@media only screen and (max-width: 980px) {
  .page-id-22 .maSection1 p {font-size: 0.9rem; line-height: 1.1rem;}
  .page-id-22 .maSection1 .maRow1>div:nth-child(1){margin-bottom: 0;}
  .page-id-22 .maSection1 .maRow1>div:nth-child(1) div:has(h2){margin-bottom: 10px}
  .page-id-22 .monH1{margin-bottom: 0%!important}
  .page-id-22 .maSection1 .maRow2 p {font-size: 1.6rem; line-height: 2.2rem;}
  .page-id-22 .maSection2 h2, .page-id-22 .maSection3 h2 {font-size: 2rem;}
  .page-id-22 footer .et_pb_menu_0_tb_footer.et_pb_menu a{color: var(--darkblue)}
  .page-id-22 .et_pb_menu--style-left_aligned .et_pb_menu__wrap {-webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;}
  .page-id-22 .et_pb_menu_0_tb_footer .mobile_nav .mobile_menu_bar::before{color: white!important}
  .page-id-22 .et_mobile_menu {border-top: inherit;}
  .page-id-22 .et_pb_module.et_pb_image.et_pb_image_0_tb_footer,
  .page-id-22 .et_pb_module.et_pb_text.et_pb_text_0_tb_footer .et_pb_text_inner,
  .page-id-22 .et_pb_module.et_pb_code.et_pb_code_0_tb_footer{text-align: center}

}

/* Tablettes (portrait) / petits écrans */
@media only screen and (max-width: 767px) {
  .page-id-22 .maSection1 h2 {font-size: 3rem; line-height: 3.2rem;}
  .page-id-22 .maSection1 p .h2-ligne-2 {font-size: 2.4rem; line-height: 3rem;}
  .page-id-22 .maSection1 .maRow1 {flex-wrap: wrap;}
  .page-id-22 .maSection1 .maRow1 > div:nth-child(1) {padding: 2vw 4vw 10vw;}
  .page-id-22 .maSection1 .maRow3 .et_pb_module.et_pb_image{margin-bottom: 0px!important;}
  .page-id-22 .maSection1 .maRow3 .et_pb_button_0_wrapper,
	.page-id-22 .maSection1 .maRow3 .et_pb_button_1_wrapper {bottom: 6%;}
  .page-id-22 h1 img{width: 100%}
  .page-id-22 .maSection1 p {font-size: 1.1rem; line-height: inherit;}
  .page-id-22 .maSection1 .maRow3{flex-wrap: wrap}
  /*.page-id-22 .et_pb_column.et_pb_column_1_2.et_pb_column_4.et_pb_css_mix_blend_mode_passthrough.et-last-child{margin-top: 50px!important}*/
  .page-id-22 .maSection3 form {grid-template-columns: 1fr;}
  .page-id-22 .maSection2 .maRow2>div:not(:last-child)::before {content: none; display: none;}
}

/* Tablettes (portrait) / petits écrans */
@media only screen and (max-width: 600px) {
  .page-id-22 .maSection1 h2 {font-size: 7vw; line-height: 8vw;}
  .page-id-22 .maSection1 p .h2-ligne-2 {font-size: 5vw; line-height: 5vw;}
  .page-id-22 .maSection1 p {font-size: 1rem;}
}
