/* ================== FONTS ================== */
@font-face {
    font-family: 'Bodoni Sans';
    src: url('fonts/BodoniSansTx-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Bodoni Sans';
    src: url('fonts/BodoniSansTx-Bold.otf') format('opentype');
    font-weight: 600;
}

@font-face {
    font-family: 'Bodoni Sans';
    src: url('fonts/BodoniSansTx-Bold.otf') format('opentype');
    font-weight: 700;
}

/* ================== RESET ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Bodoni Sans', sans-serif;
    font-weight: 400;
    background-color: #fff;
}

/* ================== CONTAINER ================== */
.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* ================== LEFT ================== */
.left {
    flex: 0.8;
    overflow: hidden;
    position: relative;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider img.active {
    opacity: 1;
}

/* ================== RIGHT ================== */
.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    overflow: hidden;
}

.mobile-only,
.ipad-only {
    display: none;
}

.desktop-only {
    display: block;
}

.right .logo {
    width: 160px;
    margin-bottom: 60px;
}

.right h1,
.headline {
    font-family: 'Bodoni Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.35em;
    margin-bottom: 20px;
    font-size: 24px;
}

.right .subtitle {
    font-family: 'Bodoni Sans', sans-serif;
    color: #333;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px !important;
    font-size: 15.5px !important; /* Calqué sur le mobile */
    line-height: 1.4;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
    font-weight: 400 !important;
}

.subtitle-emphasis {
    font-weight: 700;
    letter-spacing: 0.03em;
    display: inline-block;
}

input[type="email"] {
    font-family: 'Bodoni Sans', sans-serif;
    background: linear-gradient(135deg, rgba(80,80,80,0.15), rgba(60,60,60,0.1));
    border: 1px solid rgba(120,120,120,0.25);
    padding: 14px 18px;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    margin-bottom: 10px;
    backdrop-filter: blur(5px);
    text-align: center;
}

input[type="email"]::placeholder {
    color: rgba(100,100,100,0.6);
    font-weight: 400;
}

input[type="email"]:focus {
    outline: none;
    border-color: rgba(100,100,100,0.4);
    background: linear-gradient(135deg, rgba(90,90,90,0.2), rgba(70,70,70,0.15));
}

.right .description {
    font-family: 'Bodoni Sans', sans-serif;
    color: #888888;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 320px;
    text-align: center;
}

button {
    font-family: 'Bodoni Sans', sans-serif;
    background-color: #000;
    color: #fff;
    padding: 14px 18px;
    border: 1px solid #000;
    border-radius: 6px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 40px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
    transform: translateY(-2px);
}

.right .discover {
    font-family: 'Bodoni Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    justify-content: center;
}

.socials img {
    width: 26px;
    height: 26px;
    transition: opacity 0.3s ease;
}

.socials img:hover {
    opacity: 0.7;
}

.right .subtitle,
.subtitle-emphasis,
.right .description,
.right .discover {
    font-weight: 400;
}

/* ================== ART-TYPES ================== */
.art-types {
    font-family: 'Bodoni Sans', sans-serif;
    color: #8f8f8f;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.6px;
    line-height: 1.6;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: justify;
    margin: 0;
    padding: 0;
}

.art-types .line-break {
    display: block;
}

.art-types span {
    display: block;
    width: 100%;
    text-align: justify !important;
    text-align-last: justify !important;
    margin: 0;
    padding: 0;
}

/* ================== MEDIA QUERIES ================== */
/* ------------------ IPAD ------------------ */
/* ------------------ IPAD MINI ------------------ */
@media (min-width: 768px) and (max-width: 819px) {
    .ipad-only { display: block; }
    .desktop-only, .mobile-only { display: none; }

    .container {
        flex-direction: column;
    }

    .left {
        flex: none;
        height: 48vh;
        overflow: hidden;
        position: relative;
    }

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .right {
        flex: none;
        height: 52vh;
        padding: 8px 40px;
        justify-content: flex-start;
        overflow: hidden;
    }

    .right .logo {
        order: 8;
        width: 85px;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .right h1 {
        order: 1;
        font-size: 24px;
        letter-spacing: 9px;
        margin-top: 25px;
        margin-bottom: 23.5px;
    }

    .right .subtitle {
        order: 2;
        font-size: 13px !important;
        margin-bottom: 8px;
        line-height: 1.35;
        width: 100%;
        max-width: 300px !important;
        text-align: justify !important;
        text-align-last: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 400 !important;
    }

    input[type="email"] {
        order: 3;
        font-size: 15px;
        padding: 13px 17px;
        max-width: 300px;
        margin-bottom: 6px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .description {
        order: 4;
        font-size: 12px;
        width: 100%;
        max-width: 300px !important;
        margin-bottom: 8px;
        line-height: 1.3;
        font-weight: 400 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    button {
        order: 5;
        font-size: 14px;
        padding: 13px 17px;
        margin-bottom: 18px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .discover {
        order: 6;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .socials {
        order: 7;
        margin-bottom: 8px;
    }

    .socials img {
        width: 28px;
        height: 28px;
    }

    .art-types {
        order: 9;
        max-width: 300px !important;
        width: 100% !important;
        text-align: justify !important;
        text-align-last: justify !important;
    }

    .art-types span {
        width: 100%;
        display: block;
        text-align: justify !important;
        text-align-last: justify !important;
    }
}

/* ------------------ IPAD AIR ------------------ */
@media (min-width: 820px) and (max-width: 1023px) {
    .ipad-only { display: block; }
    .desktop-only, .mobile-only { display: none; }

    .container {
        flex-direction: column;
    }

    .left {
        flex: none;
        height: 48vh;
        overflow: hidden;
        position: relative;
    }

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .right {
        flex: none;
        height: 52vh;
        padding: 8px 40px;
        justify-content: flex-start;
        overflow: hidden;
    }

    .right .logo {
        order: 8;
        width: 85px;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .right h1 {
        order: 1;
        font-size: 24px;
        letter-spacing: 9px;
        margin-top: 25px;
        margin-bottom: 23.5px;
    }

    .right .subtitle {
        order: 2;
        font-size: 13px !important;
        margin-bottom: 8px;
        line-height: 1.35;
        width: 100%;
        max-width: 300px !important;
        text-align: justify !important;
        text-align-last: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 400 !important;
    }

    input[type="email"] {
        order: 3;
        font-size: 15px;
        padding: 13px 17px;
        max-width: 300px;
        margin-bottom: 6px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .description {
        order: 4;
        font-size: 12px;
        width: 100%;
        max-width: 300px !important;
        margin-bottom: 8px;
        line-height: 1.3;
        font-weight: 400 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    button {
        order: 5;
        font-size: 14px;
        padding: 13px 17px;
        margin-bottom: 18px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .discover {
        order: 6;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .socials {
        order: 7;
        margin-bottom: 8px;
    }

    .socials img {
        width: 28px;
        height: 28px;
    }

    .art-types {
        order: 9;
        max-width: 300px !important;
        width: 100% !important;
        text-align: justify !important;
        text-align-last: justify !important;
    }

    .art-types span {
        width: 100%;
        display: block;
        text-align: justify !important;
        text-align-last: justify !important;
    }
}

/* ------------------ IPAD PRO ------------------ */
@media (min-width: 1024px) and (max-width: 1366px) {
    .ipad-only { display: block; }
    .desktop-only, .mobile-only { display: none; }

    .container {
        flex-direction: column;
    }

    .left {
        flex: none;
        height: 48vh;
        overflow: hidden;
        position: relative;
    }

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .right {
        flex: none;
        height: 52vh;
        padding: 8px 40px;
        justify-content: flex-start;
        overflow: hidden;
    }

    .right .logo {
        order: 8;
        width: 85px;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .right h1 {
        order: 1;
        font-size: 24px;
        letter-spacing: 9px;
        margin-top: 25px;
        margin-bottom: 23.5px;
    }

    .right .subtitle {
        order: 2;
        font-size: 13px !important;
        margin-bottom: 8px;
        line-height: 1.35;
        width: 100%;
        max-width: 300px !important;
        text-align: justify !important;
        text-align-last: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 400 !important;
    }

    input[type="email"] {
        order: 3;
        font-size: 15px;
        padding: 13px 17px;
        max-width: 300px;
        margin-bottom: 6px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .description {
        order: 4;
        font-size: 12px;
        width: 100%;
        max-width: 300px !important;
        margin-bottom: 8px;
        line-height: 1.3;
        font-weight: 400 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    button {
        order: 5;
        font-size: 14px;
        padding: 13px 17px;
        margin-bottom: 18px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .right .discover {
        order: 6;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .socials {
        order: 7;
        margin-bottom: 8px;
    }

    .socials img {
        width: 28px;
        height: 28px;
    }

    .art-types {
        order: 9;
        max-width: 300px !important;
        width: 100% !important;
        text-align: justify !important;
        text-align-last: justify !important;
    }

    .art-types span {
        width: 100%;
        display: block;
        text-align: justify !important;
        text-align-last: justify !important;
    }
}

/* ------------------ MOBILE PORTRAIT ------------------ */
@media (max-width: 768px) and (orientation: portrait) {
    .mobile-only { display: block; }
    .desktop-only, .ipad-only { display: none; }

    body { overflow: hidden; }

    .container { flex-direction: column; height: 100vh; }

    .left {
        flex: none;
        height: 28vh;
        overflow: hidden;
        position: relative;
    }

    .slider img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

    .right {
        flex: none;
        height: 72vh;
        padding: 8px 25px;
        justify-content: flex-start;
        overflow: hidden;
    }

    .right .logo {
        order: 8;
        width: 70px;
        margin-top: 7px;
        margin-bottom: 12px;
    }

    .right h1 {
        order: 1;
        font-size: 20px;
        letter-spacing: 8px;
        margin-top: 25px;
        margin-bottom: 23.5px;
    }

    .right .subtitle {
        order: 2;
        font-size: 15.5px !important; 
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 400 !important; /* Fin */
    }

    input[type="email"] {
        order: 3;
        font-size: 13px;
        padding: 12px 16px;
        margin-bottom: 8px;
    }

    .right .description {
        order: 4;
        font-size: 12px;
        margin-bottom: 10px;
    }

    button {
        order: 5;
        font-size: 12px;
        padding: 12px 16px;
        margin-bottom: 38px;
    }

    .right .discover {
        order: 6;
        font-size: 13px;
        text-align: center;
        margin-bottom: 10px;
    }

    .socials {
        order: 7;
        margin-top: 0;
        margin-bottom: 3px;
    }

    .socials img {
        width: 24px;
        height: 24px;
    }

    .art-types {
        order: 9;
        max-width: 300px !important;
        width: 100% !important;
        text-align: justify !important;
        text-align-last: justify !important;
    }

    .art-types span {
        width: 100%;
        display: block;
        text-align: justify !important;
        text-align-last: justify !important;
    }
}

/* ------------------ MOBILE LANDSCAPE ------------------ */
@media only screen and (max-width: 926px) and (orientation: landscape) {
    * { -webkit-overflow-scrolling: touch !important; }
    html, body {
        overflow: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-only { display: block !important; }
    .desktop-only, .ipad-only { display: none !important; }

    .container {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .left {
        width: 100vw !important;
        height: 100vh !important;
        flex: none !important;
        overflow: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slider {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .slider img {
        width: 100vw !important;
        height: 100vh !important;
        object-fit: cover !important;
        object-position: center 35% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .right {
        width: 100vw !important;
        height: auto !important;
        flex: none !important;
        padding: 15px 25px 40px 25px !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .right * { max-width: 100% !important; }

    .right .logo {
        width: 50px !important;
        margin: 10px 0 8px 0 !important;
        order: 8 !important;
    }

    .right h1 {
        font-size: 25px !important;
        letter-spacing: 5px !important;
        margin: 10px 0 12px 0 !important;
        order: 1 !important;
        margin-top: 25px;
        margin-bottom: 23.5px;
    }

    .right .subtitle {
        font-size: 15px !important;
        margin-bottom: 10px !important;
        order: 2 !important;
        line-height: 1.4 !important;
    }

    input[type="email"] {
        font-size: 15px !important;
        padding: 10px 12px !important;
        margin-bottom: 20px !important;
        order: 3 !important;
    }

    .right .description {
        font-size: 8px !important;
        margin-bottom: 20px !important;
        order: 4 !important;
        line-height: 1.4 !important;
    }

    button {
        font-size: 15px !important;
        padding: 10px 12px !important;
        margin-bottom: 30px !important;
        letter-spacing: 2px !important;
        order: 5 !important;
    }

    .right .discover {
        font-size: 19px !important;
        margin-bottom: 15px !important;
        order: 6 !important;
    }

    .socials {
        display: flex !important;
        justify-content: center !important;
        gap: 25px !important;
        max-width: 300px !important;
        margin-bottom: 25px !important;
        order: 7 !important;
    }

    .socials img {
        width: 28px !important;
        height: 28px !important;
    }

    .art-types {
        max-width: 300px !important;
        width: 100% !important;
        text-align: justify !important;
        text-align-last: justify !important;
    }

    .art-types span {
        width: 100%;
        display: block;
        text-align: justify !important;
        text-align-last: justify !important;
    }
}

/* =========================================================
   PATCH IPAD SAFE – TYPO + IMAGES (NE TOUCHE PAS AU LAYOUT)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1366px) {

  /* ---------- IMAGES : même crop que mobile ---------- */
  .left .slider img {
    object-fit: cover !important;
    object-position: center 35% !important;
  }

  /* ---------- TEXTE "ACCÈS..." ---------- */
  .right .subtitle.ipad-only {
    font-size: 13.5px !important; /* force 2 lignes */
    line-height: 1.35 !important;
    font-weight: 400 !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'Bodoni Sans', sans-serif !important;
    font-style: normal !important;
  }

  /* supprime le gras du mot en emphase */
  .right .subtitle.ipad-only .subtitle-emphasis {
    font-weight: 400 !important; /* forcer regular */
    letter-spacing: 0.02em !important;
    font-family: 'Bodoni Sans', sans-serif !important;
    font-style: normal !important;
  }

  /* ---------- TEXTE "TON E-MAIL..." ---------- */
  .right .description.ipad-only {
    font-weight: 400 !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'Bodoni Sans', sans-serif !important;
    font-style: normal !important;
  }

  /* ---------- ESPACEMENT BAS (léger, safe) ---------- */
  .right .discover {
    margin-bottom: 10px !important;
  }

  .socials {
    margin-bottom: 18px !important;
  }
}
/* =========================================================
   PATCH FINAL IPAD – TYPO ONLY (SAFE, NO LAYOUT)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1366px) {

  /* --- ACCÈS / TEXTE PRINCIPAL --- */
  .right .subtitle,
  .right .subtitle span,
  .right .subtitle .subtitle-emphasis {
    font-weight: 400 !important;
    font-family: 'Bodoni Sans', sans-serif !important;
    font-style: normal !important;
  }

  /* --- TEXTE "TON E-MAIL" --- */
  .right .description {
    font-weight: 400 !important;
    font-family: 'Bodoni Sans', sans-serif !important;
    font-style: normal !important;
  }

  /* --- SÉCURITÉ : supprimer tout gras hérité --- */
  .right * {
    font-synthesis: none;
  }

  /* --- ESPACEMENTS LÉGERS --- */
  .right .discover {
    margin-bottom: 10px !important;
  }

  .socials {
    margin-bottom: 18px !important;
  }
}

