/* ============================================
   RAPHAELLE SIMONNOT — PORTFOLIO
   Style editorial-dynamique, accent dore/ocre
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #ea9601;
    --gold-light: #F5D9A0;
    --gold-bg: #FBF0E0;
    --dark: #1A1A1A;
    --dark-soft: #2D2D2D;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --bg: #FDFBF7;
    --white: #FFFFFF;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Anek Bangla', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Abhaya Libre', serif;
    color: var(--dark);
    line-height: 1.2;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.4rem 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 143px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 91px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--dark);
    transform: translateY(-1px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 1.5rem 0;
}

.mobile-menu a {
    font-family: 'Abhaya Libre', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--gold);
}

.mobile-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: var(--gold) !important;
    color: var(--white) !important;
    border-radius: 50px;
    font-family: 'Anek Bangla', sans-serif !important;
    font-size: 1rem !important;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-name span {
    color: var(--gold);
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.badge {
    padding: 0.45rem 1.1rem;
    background: var(--gold-bg);
    color: var(--gold);
    border: 1.5px solid var(--gold-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.badge:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 62, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    width: 400px;
    height: 500px;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-hover);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-image-accent {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 400px;
    height: 500px;
    border-radius: 200px 200px 20px 20px;
    border: 3px solid var(--gold);
    z-index: 1;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- SECTION SHARED STYLES --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1.2rem;
    background: var(--gold-bg);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 550px;
    margin: 0 auto;
}

/* --- EXPERIENCES SECTION --- */
.experiences {
    padding: 5rem 0;
    background: var(--white);
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.logos-grid .logo-card {
    width: calc(33.333% - 1.34rem);
}

.logos-grid .logo-card.logo-card--full {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 2rem 3rem;
}

.logo-card--full img {
    height: 70px;
    max-width: 200px;
}

.logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.logo-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.logo-card:nth-child(1) { transition-delay: 0.05s; }
.logo-card:nth-child(2) { transition-delay: 0.1s; }
.logo-card:nth-child(3) { transition-delay: 0.15s; }
.logo-card:nth-child(4) { transition-delay: 0.2s; }
.logo-card:nth-child(5) { transition-delay: 0.25s; }
.logo-card:nth-child(6) { transition-delay: 0.3s; }
.logo-card:nth-child(7) { transition-delay: 0.35s; }

.logo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.logo-card img {
    height: 60px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-card:hover img {
    transform: scale(1.05);
}

.logo-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- REPORTAGES SECTION --- */
.reportages {
    padding: 5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.articles-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
}

.article-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.article-card:nth-child(1) { transition-delay: 0.05s; }
.article-card:nth-child(2) { transition-delay: 0.1s; }
.article-card:nth-child(3) { transition-delay: 0.15s; }
.article-card:nth-child(4) { transition-delay: 0.2s; }
.article-card:nth-child(5) { transition-delay: 0.25s; }

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.article-card--large {
    grid-column: 1 / -1;
}

.article-card--large .article-card__image {
    height: 340px;
}

.article-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.9rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__content {
    padding: 1.5rem;
}

.article-card__content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.article-card:hover .article-card__content h3 {
    color: var(--gold);
}

.article-card__content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.article-card__source {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PODCASTS SECTION --- */
.podcasts {
    padding: 5rem 0;
    background: var(--white);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.podcast-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.podcast-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.podcast-card:nth-child(1) { transition-delay: 0.05s; }
.podcast-card:nth-child(2) { transition-delay: 0.1s; }
.podcast-card:nth-child(3) { transition-delay: 0.15s; }

.podcast-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.podcast-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.podcast-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.podcast-card:hover .podcast-card__image img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200, 150, 62, 0.4);
}

.podcast-card:hover .play-icon {
    opacity: 1;
}

.podcast-card__content {
    padding: 1.3rem;
}

.podcast-card__type {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: var(--gold-bg);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.podcast-card__content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.podcast-card__content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Documentaires */
.docs-header {
    margin-bottom: 2rem;
}

.docs-header h3 {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.docs-header h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.doc-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.doc-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.doc-card:nth-child(1) { transition-delay: 0.05s; }
.doc-card:nth-child(2) { transition-delay: 0.1s; }

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.doc-card__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.doc-card__video iframe,
.doc-card__video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.youtube-facade:hover img {
    opacity: 1;
}

.youtube-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.youtube-facade__play svg {
    width: 68px;
    height: 48px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.youtube-facade:hover .youtube-facade__play svg {
    opacity: 1;
}

.video-group-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--gold);
}

.doc-card__content {
    padding: 1.3rem;
}

.doc-card__content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.doc-card__content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- FOOTER --- */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    height: 135px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-family: 'Anek Bangla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-link:hover svg {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-name {
        font-size: 3.5rem;
    }

    .hero-image-frame {
        width: 320px;
        height: 420px;
    }

    .hero-image-accent {
        width: 320px;
        height: 420px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 104px;
    }

    .navbar.scrolled .nav-logo img {
        height: 72px;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-tagline {
        max-width: 100%;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-frame {
        width: 260px;
        height: 340px;
    }

    .hero-image-accent {
        width: 260px;
        height: 340px;
        right: calc(50% - 150px);
    }

    .hero-scroll {
        display: none;
    }

    .logos-grid {
        gap: 1rem;
    }

    .logos-grid .logo-card {
        width: calc(50% - 0.5rem);
    }

    .logos-grid .logo-card.logo-card--full {
        width: 100%;
        flex-direction: column;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-duo {
        grid-template-columns: 1fr;
    }

    .article-card--large .article-card__image {
        height: 220px;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .logo-card {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
