/* ========================================
   PANASONIC PROTOUR — SINGLE ÉVÉNEMENT
   Version: 3.1 — Footer Astra global conservé (header masqué uniquement)
   ======================================== */

/* ========================================
   RESET & VARIABLES
   ======================================== */
:root {
    --orange: #df6134;
    --bleu: #1c9fc9;
    --bleu-hover: #168FB3;
    --gris-clair: #C1CAC2;
    --noir: #1a1a1a;
    --blanc: #ffffff;
}

body.single-evenement {
    margin: 0;
    padding: 0;
    color: var(--noir);
    overflow-x: hidden;
}

body.single-evenement #page {
    max-width: 100%;
    padding: 0;
}

/* Hide Astra header (le footer global Astra est conservé) */
body.single-evenement .ast-header-break-point .main-header-bar,
body.single-evenement header.site-header,
body.single-evenement .ast-above-header,
body.single-evenement .ast-below-header {
    display: none !important;
}

* { box-sizing: border-box; }

/* ========================================
   HEADER SLIDER
   ======================================== */
.pt-header {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.pt-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.pt-slider__slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.pt-slider__slide.active {
    opacity: 1;
}

.pt-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt-header__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.pt-header__topbar {
    display: flex;
    justify-content: flex-end;
    padding: 20px 30px;
}

.pt-header__contact {
    display: inline-block;
    background: var(--bleu);
    color: var(--blanc);
    text-decoration: none;
    transition: background 0.3s;
}

.pt-header__contact:hover {
    background: var(--bleu-hover);
    color: var(--blanc);
}

.pt-header__logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.pt-header__logo-center img {
    max-width: 700px;
    width: 90vw;
    height: auto;
}

/* ========================================
   SECTION PROCHAINE ÉTAPE
   ======================================== */
.pt-prochaine-etape {
    position: relative;
    text-align: center;
    padding: 70px 20px 40px;
    overflow: hidden;
    background-color: #fff;
}

.pt-prochaine-etape__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pt-prochaine-etape__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pt-prochaine-etape__content {
    position: relative;
    z-index: 1;
}

.pt-prochaine-etape__label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95em;
    font-weight: 900;
    color: var(--gris-clair);
    text-transform: uppercase;
}

.pt-prochaine-etape__info {
    display: inline-flex;
    align-items: stretch;
    gap: 10px;
    margin-left: -25px;
}

.pt-prochaine-etape__pin {
    width: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
}

.pt-prochaine-etape__pin svg {
    width: 100%;
    height: 100%;
}

.pt-prochaine-etape__texts {
    text-align: center;
}

.pt-prochaine-etape__date {
    font-family: 'Barlow', sans-serif;
    font-size: 1.45em;
    font-weight: 600;
    color: var(--bleu);
    line-height: 0.8;
}

.pt-prochaine-etape__ville {
    font-family: 'Barlow', sans-serif;
    font-size: 1.6em;
    font-weight: 900;
    color: var(--bleu);
    text-transform: uppercase;
    line-height: 1.2;
}

.pt-prochaine-etape .pt-btn-theme {
    margin-top: 16px;
}

/* ========================================
   BOUTONS
   ======================================== */

/* Bouton qui hérite des styles Astra */
.pt-btn-theme {
    /* Hérite du thème Astra via les classes Astra */
}

.button-inscription-top {
    padding-top: 12px;
}

/* Bouton du bas (plus gros) */
.pt-btn-bottom {
    display: inline-block;
    background: var(--orange);
    color: var(--blanc);
    width: 250px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
}

.pt-btn-bottom:hover {
    background: #c8532a;
    transform: translateY(-1px);
    color: var(--blanc);
}

/* ========================================
   SECTION HERO VIDÉO
   ======================================== */
.pt-hero {
    text-align: center;
    padding: 30px 40px 70px;
    background: var(--blanc);
}

.pt-hero__title {
    font-size: 3em;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 30px;
    letter-spacing: -1.2px;
}

.pt-hero__media {
    position: relative;
    width: 100%;
    max-width: 1203px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.pt-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

.pt-hero__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.pt-hero__media:hover .pt-hero__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--blanc);
}

.pt-hero__play svg {
    width: 48px;
    height: 48px;
    margin-left: 4px;
}

/* ========================================
   BANDEAU TEXTE
   ======================================== */
.pt-bandeau {
    text-align: center;
    padding: 40px 20px;
}

.pt-bandeau__content {
    font-family: 'Barlow', sans-serif;
    font-size: 2em;
    font-weight: 300;
    line-height: 1.2;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--noir);
}

/* Permettre les couleurs depuis le WYSIWYG */
.pt-bandeau__content p {
    margin: 0;
}

.pt-bandeau__content strong,
.pt-bandeau__content b {
    font-weight: 600;
}

/* ========================================
   SECTION COLONNES + PRODUITS
   ======================================== */
.pt-colonnes {
    padding: 60px 40px;
    background: var(--blanc);
}

.pt-colonnes__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* DESKTOP GRID */
.pt-colonnes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.pt-colonne {
    padding: 0px;
}

/* Colonne 1 : texte ferré à droite, titre au-dessus, filet sur le texte uniquement */
.pt-colonne--1 {
    text-align: right;
    padding-top: 0;
    margin:20px;
}

.pt-colonne--1 .pt-colonne__texte-wrap {
    border-right: 1px solid var(--gris-clair);
    padding-right: 25px;
    padding-bottom: 50px;
}

/* Colonne 2 : texte ferré à gauche, décalée vers le bas, filet sur le texte */
.pt-colonne--2 {
    text-align: left;
    padding-top: 90px;
    margin:20px;
}

.pt-colonne--2 .pt-colonne__texte-wrap {
    border-left: 1px solid var(--gris-clair);
    padding-left: 25px;
    padding-bottom: 40px;
}

/* Colonne 3 : texte ferré à gauche, même niveau que col 1 */
.pt-colonne--3 {
    text-align: left;
    padding-top: 30px;
    margin:20px;
}

.pt-colonne--3 .pt-colonne__texte-wrap {
    border-left: 1px solid var(--gris-clair);
    padding-left: 25px;
    padding-bottom: 125px;
}

.pt-colonne__titre {
    font-size: 1.1em;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.pt-colonne__texte {
    font-size: 0.85em;
    font-weight: 300;
    line-height: 1.7;
    color: #555;
}

.pt-colonne__texte p {
    margin: 0 0 10px;
}

.pt-colonne__texte strong,
.pt-colonne__texte b {
    font-weight: 600;
}

.pt-colonne__texte u {
    text-decoration: underline;
}

/* Produits : alignés verticalement par le centre, proportions naturelles */
.pt-produits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: -10px;
    flex-wrap: wrap;
}

.pt-produit {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.pt-produit img {
    width: auto;
    height: auto;
    display: block;
}

/* Mobile layout hidden on desktop */
.pt-colonnes__mobile-layout {
    display: none;
}

/* ========================================
   SECTION VILLE
   ======================================== */
.pt-ville {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--blanc) 0%, #a4d8f0 100%);
}

.pt-ville__bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.pt-ville__bg img {
    width: 100%;
    height: 100%;
    min-height:100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Contenus par-dessus l'image */
.pt-ville__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    padding: 60px 20px 40px;
    justify-content: space-between;
    background: transparent;
}

/* Accroche en 2 colonnes */
.pt-ville__accroche {
    display: flex;
    gap: 100px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 30px;
}

.pt-ville__accroche-col-g{
    flex: 1;
    font-family: 'Barlow', sans-serif;
    font-size: 2.2em;
    font-weight: 300;
    color: var(--noir);
    line-height: 1.3;
    text-align: right;
}
.pt-ville__accroche-col-d{
    flex: 1;
    font-family: 'Barlow', sans-serif;
    font-size: 2.2em;
    font-weight: 300;
    color: var(--noir);
    line-height: 1.3;
    text-align: left;
    margin-top: 50px;
}

/* Permettre les changements depuis le WYSIWYG */
.pt-ville__accroche-col p {
    margin: 0;
}

.pt-ville__accroche-col strong,
.pt-ville__accroche-col b {
    font-weight: 600;
}

/* Bloc info événement — positionné à gauche de la moitié droite */
.pt-ville__info-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding-left: 50%;
}

.pt-ville__info {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: -20px 0 200px 100px;
}

.pt-ville__info-pin {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    padding-bottom: 10px;
}

.pt-ville__info-pin svg {
    width: 100%;
    height: 100%;
}

.pt-ville__info-texts {
    text-align: center;
}

.pt-ville__info-date {
    font-size: 2.8em;
    font-weight: 600;
    color: var(--bleu);
    /*text-shadow: 0 2px 4px rgba(0,0,0,0.2);*/
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.pt-ville__info-ville {
    font-size: 3.5em;
    font-weight: 900;
    color: var(--bleu);
    text-transform: uppercase;
    /*text-shadow: 0 2px 6px rgba(0,0,0,0.2);*/
    line-height: 1.1;
}

/* Bouton du bas centré */
.pt-ville__btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* ========================================
   FOOTER
   ======================================== */
.pt-footer {
    background: var(--ast-global-color-3);
    text-align: center;
    padding: 30px 20px;
    color: var(--ast-global-color-5);
    font-size: 12pt;
}

.pt-footer a {
    color: var(--bleu);
    text-decoration: none;
}

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */
@media (max-width: 768px) {
    .pt-header {
        height: 50vh;
    }

    .pt-header__topbar {
        padding: 12px 16px;
    }

    .pt-header__logo-center img {
        max-width: 300px;
    }

    .pt-prochaine-etape {
        padding: 30px 20px 20px;
    }

    .pt-prochaine-etape__date {
        font-size: 18px;
    }

    .pt-prochaine-etape__ville {
        font-size: 22px;
    }

    .pt-hero {
        padding: 20px 20px 30px;
    }

    .pt-hero__title {
        font-size: 1.3em;
    }

    .pt-hero__play {
        width: 50px;
        height: 50px;
    }

    .pt-hero__play svg {
        width: 30px;
        height: 30px;
    }
    .pt-bandeau {
    text-align: center;
    padding: 30px 20px;}

    .pt-bandeau__content {
        font-size: 0.95em;
    }

    .pt-colonnes {
        padding: 40px 20px;
    }

    /* Hide desktop layout, show mobile layout */
    .pt-colonnes__desktop {
        display: none;
    }

    .pt-colonnes__mobile-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        align-items: start;
    }

    .pt-colonnes__textes {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .pt-colonne__titre {
    margin-bottom: 5px;}

    .pt-colonnes__mobile-layout .pt-colonne {
        text-align: left;
        border: none;
        padding: 0;
    }

    .pt-produits-mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding-top: 5px;
    }

    .pt-produits-mobile .pt-produit img {
        width: 70%;
        height: 70%;
    }

    .pt-ville__bg {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 150%;
    z-index: 0;
    pointer-events: none;}

    .pt-ville__bg img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center bottom;}

    .pt-ville__info {
    margin: 0px 0 220px 0px;
}
    .pt-ville {
        min-height: 400px;
        background: linear-gradient(to bottom, var(--blanc) 50%, #a4d8f0 100%);
    }

    .pt-ville__overlay {
        min-height: 400px;
        padding: 40px 20px 30px;
    }

    .pt-ville p {
    margin-bottom: 0;}

    .pt-ville__accroche {
        flex-direction: column;
        gap: 16px;
    }

    .pt-ville__accroche-col-d {
    margin-top: 0px;}

    .pt-ville__accroche-col-g,
    .pt-ville__accroche-col-d {
        font-size: 1.4em;
        text-align: center;
    }

    .pt-ville__info-wrapper {
        padding-left: 0;
        justify-content: center;
    }

    .pt-ville__info {
    align-items: stretch;}

    .pt-ville__info-pin {
    width: 41px;
    padding: 0px;
    }

    .pt-ville__info-date {
        font-size: 1.8em;
    }

    .pt-ville__info-ville {
        font-size: 2.2em;
    }

    .pt-btn-bottom {
        width: 200px;
        font-size: 1em;
    }
}
