html {
  scroll-behavior: smooth;
}

#section2, #allocation {
  scroll-margin-top: 200px; /* adapte à la hauteur de ton header */
}

/* --------- HERO --------- */
.hero {
    position: relative;
    min-height: 700px;
    display: grid;
    place-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
}

.lang-switch {
    display: flex;
    justify-content: center;
    gap: 0px;
    z-index: 2;
}

.lang-pill {
    display: inline-block;
    padding: 10px 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    text-decoration: none;
    background: transparent;

    font-family: Cinzel;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.lang-pill.is-active {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.lang-pill:hover {
    background: #000000;
    color: #ffffff;
    border-color: #fff;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 50px);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 400;
    color: white;
}

.hero-subtitle {
    max-width: min(920px, 92vw);
    color: #FFF;
    text-align: center;
    font-family: Raleway;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.pw-intro.pw-error {
    color: #b00020;
    /* rouge sombre */
    font-weight: 600;
}


/* --------- BODY --------- */
.body {
    padding: 100px 20px;
}

.grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.col-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
}

.note-container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.note {
    color: #000;
    text-align: center;
    font-family: Raleway;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 901px) {
    .note {
        text-align: center;
        margin: 0;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-icon {
    grid-row: 1 / span 2;
    color: #a08e6a;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
}

.contact-title {
    color: #000;
    font-family: Cinzel;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-infos a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    text-align: center;
    text-decoration: underline;
}

.contact-infos a:hover {
    border-bottom-color: #ccc;
}

.col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pw-intro {
    color: #000;
    font-family: Raleway;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.pw-form {
    max-width: 540px;
}

.pw-input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: none;
    border-bottom: 2px dotted #999;
    padding: 12px 2px;
    font-size: 16px;
    margin-bottom: 18px;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 17px 40px;
    border: 1px solid #7A7A7A;
    background: #fff;
    color: #111;
    text-transform: uppercase;
    color: #000;
    font-family: Cinzel;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #111;
    color: #fff;
}

/* A11y helpers */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fix header transparent */
.mkdf-page-header {
    position: absolute !important;
}

.mkdf-page-header .mkdf-menu-area {
    background-color: transparent !important;
}


/*Content*/

.hero-content img {
    margin-top: 10px;
    width: 200px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 250px;
}

.section-1 {
    align-self: center;
    width: 100%;
    max-width: 1172px;
    display: flex;
    gap: 80px;
    padding: 20px 20px;
    margin-top: 100px;
}

.section-1 .left {
    padding-left: 20px;
}

.section-1 .content-top p {
    color: #000;
    font-family: Cinzel;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.section-1 h2 {
    margin: 0 !important;
}

.section-1 .content-bot {
    margin-top: 10px;
}

.left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-1 .left {}

.section-1 .right {
    background-image: url("/wp-content/uploads/2025/09/gunz-main.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 530px;


}

h2::after {
    display: none !important;
}

.section-2 {
    width: 100%;
    max-width: 90vw;
    display: flex;
    gap: 80px;
}

.section-2 .left {
    width: 50vw;
}

.section-2 .right {
    width: fit-content;
    max-width: 610px;
}

.section-3 {
    align-self: flex-end;
    max-width: 90vw;
    display: flex;
    gap: 80px;
}

.section-3 .left {
    width: fit-content;
    max-width: 600px;
}

.section-3 .right {
    width: 50vw;
}

.section-3 .right img {
    object-fit: cover;
}

.full-width {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.full-width-2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    padding: 150px 20px;
}

.section-4 {
    align-self: center;
    width: 100%;
    max-width: 1260px;
    display: flex;
    gap: 80px;
}

.section-4 .left {
    height: fit-content;
    width: fit-content;
}

.section-4 .left img {
    width: 505px;
}

.section-4 .content-middle {
    position: relative;
    margin-top: 30px;
}

.section-4 .content-middle p {
    color: #000;
    font-family: Raleway;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    line-height: 30px;
}

.section-4 .content-middle img {
    position: absolute;
    top: -25px;
    left: -33px;
    z-index: 99;
}

.section-4 .content-middle span {
    color: #000;
    font-family: Raleway;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 200% */
}

.section-4 .content-bot {
    margin-top: 70px;
}

/* ===== Section "CE QUI REND GÜNZIENNE UNIQUE" ===== */
.section-specs {
    width: 100%;
    display: flex;
    justify-content: center;
}

.specs {
    width: 100%;
    max-width: 1260px;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
}

.specs-left {
    margin: 0;
    width: 40%;
}

.specs-left img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.specs-caption {
    margin-top: 10px;
    font-style: italic;
    font-size: 14px;
    color: #444;
    text-align: center;
}

.specs-right {
    width: 60%;
}

.specs-right h2 {
    margin-top: 0 !important;
}

.specs-title {
    margin: 0 0 24px;
    font-family: Cinzel, serif;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5f7f76;
    /* vert/gris doux */
    font-size: clamp(22px, 2.8vw, 40px);
}

/* === Tableau d’infos === */
.info-grid {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: #fff;
    margin-bottom: -1px;
}

.info-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.info-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.info-cell {
    padding: 18px 20px;
    background: #fff;
    border-top: 1px solid #cfcfcf;
    border-left: 1px solid #cfcfcf;
}

/* Première rangée sans bordure top */
.info-grid--3 .info-cell:nth-child(-n+3),
.info-grid--2 .info-cell:nth-child(-n+2) {
    border-top: none;
}

/* Première colonne sans bordure left */
.info-grid--3 .info-cell:nth-child(3n+1),
.info-grid--2 .info-cell:nth-child(2n+1) {
    border-left: none;
}

.info-label {
    color: #6C9893;
    font-family: Cinzel;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.info-value {
    color: #000;
    font-family: Raleway;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.4;
}

/* Légende sous le tableau */
.specs-credit {
    margin: 18px 0 22px;
    color: #000;
    font-family: Raleway;
    font-size: 15px;
    font-style: italic;
    font-weight: 200;
    line-height: 24px;
}

.specs-credit span {
    font-style: normal;
}

/* CTA */
.specs-cta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 40px;
}

.section-6 {
    max-width: 610px;
    align-self: center;
    width: 100%;
    display: flex;
    padding-bottom: 250px;
}

.section-6 .allocation {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 0 20px;
}

.section-6 h2 {
    text-align: center;
    margin: 0 !important;
}

.section-6 p {
    text-align: center;
    color: #000;
    text-align: center;
    font-family: Raleway;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.section-6 .allocation-top {
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.section-6 .definima-contact-form .mkdf-btn.mkdf-btn-solid {
    margin-top: 40px !important;

}

.section-6 .definima-first-row p {
    max-width: 46%;
}

.section-6 .definima-first-row {
    margin-top: 40px !important;
}

.section-6 .definima-contact-form .wpcf7-form-control.wpcf7-textarea {
    margin-top: 40px !important;
}

.section-6 .definima-contact-form input,
.definima-contact-form .wpcf7-form-control.wpcf7-text,
.definima-contact-form .wpcf7-form-control.wpcf7-textarea {
    color: #000;
    font-family: Cinzel;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.section-6 .definima-contact-form .mkdf-btn.mkdf-btn-solid {
    color: #000;
    font-family: Cinzel;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.section-6 .contact {
    margin-top: 20px;
}

.contact-infos {
    gap: 3px;
}

/* ==== ≤1024px ==== */
@media (max-width: 1024px) {
    main {
        gap: 200px;
    }

    /* HERO */
    .hero {
        min-height: 520px;
    }

    .hero-inner {
        gap: 40px;
    }

    .hero-content img {
        width: 170px;
    }

    /* Sections left/right deviennent plus souples */
    .section-1,
    .section-2,
    .section-3,
    .section-4,
    .specs {
        gap: 60px;
    }

    .section-1 .right {
        height: 480px;
    }

    .section-4 .left img {
        width: 460px;
    }

    /* Grille MDP */
    .grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .col-left,
    .col-right {
        align-items: center;
        text-align: center;
    }

    .pw-form {
        margin-inline: auto;
    }
}

/* ==== ≤768px ==== */
@media (max-width: 768px) {
    main {
        gap: 100px;
    }

    .hero {
        min-height: 460px;
    }

    .hero-content img {
        width: 150px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 40px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    /* Empiler toutes les sections principales */
    .section-2,
    .section-4 {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0 20px;
        width: unset;
    }

     .section-1{
        padding: 0 30px;
           flex-direction: column;
        align-items: center;
        gap: 40px;
        width: unset;
        margin-top: 50px !important;
     }

    .section-3 {
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
        width: unset;
    }

    .section-3 h2{
        margin: 0 !important;
    }

    .full-width-2{
        padding: 150px 0;
    }

    .section-1 {
        flex-direction: column-reverse;
        gap: 50px;
    }

    /* Colonnes full-width */
    .section-1 .left,
    .section-1 .right,
    .section-2 .left,
    .section-2 .right,
    .section-3 .left,
    .section-3 .right,
    .section-4 .left,
    .section-4 .right {
        width: 100%;
        padding: 0 20px;
    }

    .section-1 .left p,
    .section-1 .left h2,
    .section-1 a {
        text-align: center;
    }

    .section-1 .content-bot {
        display: flex;
        justify-content: center;
    }

    .section-1 .right {
        height: 360px;
        background-size: contain;
    }

    .section-4 .left img {
        width: 360px;
        max-width: 100%;
        height: auto;
    }

    /* Wrappers */
    .full-width,
    .full-width-2 {
        justify-content: center;
    }

    /* SPECS (fiche technique) */
    .specs {
        flex-direction: column;
        gap: 32px;
    }

    .specs-left,
    .specs-right {
        width: 100%;
    }

    .specs-left img {
        max-width: 520px;
        margin-inline: auto;
    }

    /* Grilles techniques en 1 colonne */
    .info-grid--3,
    .info-grid--2 {
        grid-template-columns: 1fr;
    }

    .info-cell {
        border-left: none;
    }

    .info-cell+.info-cell {
        border-top: 1px solid #cfcfcf;
    }

    /* CTA full-width */
    .specs-cta {
        gap: 20px;
    }

    .specs-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Allocation */
    .section-6 {
        padding-bottom: 140px;
    }

    .section-6 .definima-first-row {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 18px !important;
    }

    .section-6 .definima-contact-form .wpcf7-form-control.wpcf7-textarea {
        margin-top: 18px !important;
    }

    .section-6 .definima-first-row p {
        max-width: 100%;
        width: 100%;
    }

    .section-6 p {
        font-size: 14px;
        line-height: 22px;
    }

    .info-grid--3 .info-cell:nth-child(-n+2) {
        border-bottom: 1px solid #cfcfcf;
    }

    .info-grid--2>.info-cell:not(:last-child) {
        border-bottom: 1px solid #cfcfcf;
    }

    .grid--invert > .col-left  { order: 2; }
.grid--invert > .col-right { order: 1;  }
.grid--invert{
    gap: 60px;
}

.mdp{
    padding: 50px 20px !important;
}

#section2, #allocation {
  scroll-margin-top: 50px; /* adapte à la hauteur de ton header */
}
}