/*
 * Ajustements perso par-dessus le template Nino.
 * Ce fichier est chargé en dernier : tout ce qui est ici écrase style.css.
 */

/* ---------- Logo texte (remplace logo.png) ---------- */
.logo-text {
    font-family: var(--title-font);
    font-size: 34px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    color: #c9a227;
}

/* ---------- Hero ---------- */
/* Le template stylait un h2, on utilise un h1 (meilleur pour le référencement) */
.hero-content .hero-name {
    font-weight: 500;
    font-size: 190px;
    line-height: 1.05;
    text-transform: uppercase;
    text-align: center;
    color: var(--main-color);
    margin-bottom: 0;
}

.hero-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2px;
    color: rgb(119, 119, 125) !important;
}

.hero-meta-value {
    font-family: var(--title-font);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Cadre photo au format 3:4 (celui de landry.jpg) */
.hero-image img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #e9e6dc;
}

/* ---------- Bandeau défilant (texte au lieu de logos) ---------- */
.marquee-item {
    font-family: var(--title-font);
    font-size: 42px;
    text-transform: uppercase;
    color: var(--primary-color);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.marquee-item::after {
    content: "✦";
    font-size: 22px;
    color: #c9a227;
    margin-left: 5rem;
}

.scroller__inner {
    gap: 5rem;
}

/* ---------- Qui je suis ---------- */
.about-content-part p + p {
    margin-top: 18px;
}

/* ---------- Parcours ---------- */
.resume-col-title {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgb(119, 119, 125);
    margin-bottom: 20px;
    font-family: var(--text-font);
    font-weight: 500;
}

.resume-box h2 {
    font-size: 26px;
}

/* ---------- Sections sur fond sombre ---------- */
.section-dark {
    background: var(--body-background);
}

.section-dark .section-title h2 {
    color: var(--heading-color);
}

/* ---------- Contact ---------- */
.contact-cards .single-contact {
    background: var(--lighter-color);
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
}

.single-contact a {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    word-break: break-word;
}

/* ---------- Infos à compléter (surlignées en jaune pour les repérer) ---------- */
mark.todo {
    background: #ffe066;
    color: #000;
    padding: 0 6px;
    border-radius: 4px;
    font-style: normal;
}

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .hero-content .hero-name { font-size: 160px; }
}

@media (max-width: 1199px) {
    .hero-content .hero-name { font-size: 120px; }
}

@media (max-width: 991px) {
    .hero-content .hero-name { font-size: 90px; }
    .marquee-item { font-size: 30px; }
    .footer-top h2 { font-size: 110px; }
}

@media (max-width: 767px) {
    .hero-content .hero-name { font-size: 54px; }
    .hero-meta { margin-bottom: 20px; }
    .marquee-item { font-size: 24px; }
    .marquee-item::after { margin-left: 3rem; }
    .hero-counter-area { gap: 16px; }
    .hero-counter-area .count-text { font-size: 38px; }
    .resume-col-title { margin-top: 30px; }
    .footer-top h2 { font-size: 50px; white-space: nowrap; }
    .hero-image img { width: 78%; margin-top: 10px; }
}

/* Le menu mobile caché hors écran créait un scroll horizontal sur téléphone */
html, body {
    overflow-x: clip;
}

/* ---------- En vidéo ---------- */
.video-card,
.video-card:hover {
    display: block;
    color: inherit;
    text-decoration: none;
}

.video-card .portfolio-box img {
    aspect-ratio: 16 / 9;
    object-fit: cover; /* coupe les bandes noires des miniatures YouTube */
    background: #1a1a1a;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: transform 0.3s ease;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin-top: 22px;
    margin-bottom: 6px;
    font-size: 26px;
    text-transform: uppercase;
    color: var(--heading-color);
}

.video-desc {
    color: rgb(160, 160, 165);
    margin-bottom: 0;
}

/* Contact sur fond sombre : les cartes restent claires */
.section-dark .single-contact p {
    color: rgb(119, 119, 125);
}

/* ---------- Réels (vidéos verticales) ---------- */
.video-subtitle {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgb(160, 160, 165);
    font-family: var(--text-font);
    font-weight: 500;
    margin-bottom: 8px;
}

.video-intro {
    color: rgb(160, 160, 165);
    margin-bottom: 30px;
}

.reel-card,
.reel-card:hover {
    display: block;
    color: inherit;
    text-decoration: none;
}

.reel-media {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
}

.reel-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.reel-card:hover .reel-media video {
    transform: scale(1.03);
}

.reel-media .portfolio-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    border-radius: 2em;
    padding: 0.35em 0.9em;
    color: #fff;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reel-media .play-btn {
    width: 56px;
    height: 56px;
    font-size: 26px;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Au survol, l'aperçu se lance : on efface le bouton lecture */
@media (hover: hover) and (pointer: fine) {
    .reel-card:hover .play-btn {
        opacity: 0;
    }
}

.reel-title {
    margin-top: 14px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--heading-color);
    line-height: 1.3;
}

/* Fenêtre de lecture */
.reel-popup {
    position: relative;
    margin: 0 auto;
    max-width: min(420px, 92vw);
}

.reel-popup video {
    width: 100%;
    max-height: 88vh;
    border-radius: 14px;
    background: #000;
    display: block;
}

.mt-80 {
    margin-top: 80px;
}

@media (max-width: 767px) {
    .reel-title { font-size: 15px; }
    .reel-media .play-btn { width: 46px; height: 46px; font-size: 22px; }
}

/* Liens Regista (timeline + contact) */
.resume-box .resume-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-socials {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    gap: 14px;
}

.contact-socials a {
    text-decoration: none;
    font-size: 22px;
    color: var(--main-color);
}

.contact-socials a:hover {
    color: #c9a227;
}

.copy-left-text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Cartes contact de même hauteur sur une ligne */
.contact-cards .single-contact {
    height: calc(100% - 30px);
}

/* Compteur "1M+" */
.hero-counter-area .count-text.m-plus:after {
    content: 'M+';
}

.resume-box p .resume-link {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

/* Formats longs : 3 colonnes, titres plus compacts */
#videos .video-card .video-title {
    font-size: 22px;
    line-height: 1.25;
}

/* Durée façon YouTube + ligne vues/chaîne */
.video-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 5px;
}

.video-meta {
    margin: 18px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c9a227;
}

#videos .video-card .video-title {
    margin-top: 6px;
}
