/* ============================================================
   PayOol — Internal Pages Modern Styles
   Shared styles for about, services, contact, blogs, policy
   Cohérent avec le design BOLD V2 de la homepage
   ============================================================ */

/* Clash Display — local fonts */
@font-face { font-family: 'Clash Display'; font-weight: 200; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Extralight.woff2') format('woff2'), url('../fonts/ClashDisplay-Extralight.woff') format('woff'); }
@font-face { font-family: 'Clash Display'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Light.woff2') format('woff2'), url('../fonts/ClashDisplay-Light.woff') format('woff'); }
@font-face { font-family: 'Clash Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Regular.woff2') format('woff2'), url('../fonts/ClashDisplay-Regular.woff') format('woff'); }
@font-face { font-family: 'Clash Display'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Medium.woff2') format('woff2'), url('../fonts/ClashDisplay-Medium.woff') format('woff'); }
@font-face { font-family: 'Clash Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2'), url('../fonts/ClashDisplay-Semibold.woff') format('woff'); }
@font-face { font-family: 'Clash Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2'), url('../fonts/ClashDisplay-Bold.woff') format('woff'); }

/* --- PAGE HERO BANNER --- */
.page-hero {
    padding: 120px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: #050251;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-block;
    border: 2px solid var(--primary-color);
    padding: 5px 14px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    text-transform: none;
    font-family: 'Clash Display', sans-serif;
}

.page-hero-title {
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.page-hero-subtitle {
    font-family: 'Clash Display', sans-serif;
    font-size: 1rem;
    color: #a0a8c0;
    font-weight: 500;
    max-width: 500px;
    line-height: 1.7;
}

/* --- BREADCRUMB --- */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: 'Clash Display', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.08em;
}

.page-breadcrumb a {
    color: #a0a8c0;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: var(--primary-color);
}

.page-breadcrumb .separator {
    color: #6b7394;
}

.page-breadcrumb .current {
    color: #ffffff;
}

/* --- SECTION STYLES --- */
.modern-page-section {
    padding: 50px 0;
}

.modern-page-section .section-header {
    margin-bottom: 28px;
}

.modern-page-section .section-header .text--base {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.15em;
    display: inline-block;
    border: 2px solid var(--primary-color);
    padding: 6px 18px;
    margin-bottom: 16px;
}

.modern-page-section .section-header .section-title,
.modern-page-section .section-header h2 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
}

/* --- ABOUT PAGE --- */
.modern-page-section.about-section {
    padding: 50px 0;
}

.modern-page-section .about-content-header span.text--base {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.15em;
    border: 2px solid var(--primary-color);
    padding: 6px 18px;
}

.modern-page-section .about-content-header h2.title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.modern-page-section .about-content-header p {
    color: #a0a8c0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    line-height: 1.7;
}

.modern-page-section .about-thumb {
    overflow: hidden;
}

.modern-page-section .about-thumb img {
    width: 100%;
    transition: transform 0.8s ease;
    filter: grayscale(20%);
}

.modern-page-section .about-thumb:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.modern-page-section .about-item .item {
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 8px;
}

.modern-page-section .about-item .item:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--primary-color);
}

.modern-page-section .about-item .item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.1rem;
    margin-right: 14px;
}

.modern-page-section .about-item .item-name p {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.03em;
    margin: 0;
}

/* --- SERVICE PAGE --- */
.modern-page-section.service-section {
    padding: 50px 0;
}

.modern-page-section .service-item {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 24px 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.modern-page-section .service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.modern-page-section .service-item:hover {
    background: rgba(255,255,255,0.02);
    border-color: var(--primary-color);
}

.modern-page-section .service-item:hover::after {
    width: 100%;
}

.modern-page-section .service-icon {
    margin-bottom: 20px;
}

.modern-page-section .service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.modern-page-section .service-content h3.title {
    font-family: 'Clash Display', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.modern-page-section .service-content p {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.9rem;
    color: #a0a8c0;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* --- CONTACT PAGE --- */
.modern-contact {
    padding: 0 0 50px;
}

.modern-contact .contact-form-area {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 28px;
}

.modern-contact .contact-header .sub-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    display: inline-block;
    border: 2px solid var(--primary-color);
    padding: 6px 18px;
    margin-bottom: 16px;
}

.modern-contact .contact-header h2.title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 20px;
}

.modern-contact .contact-form label {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.08em;
    color: #a0a8c0;
    margin-bottom: 8px;
}

.modern-contact .contact-form label span {
    color: var(--primary-color);
}

.modern-contact .contact-form .form--control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.modern-contact .contact-form .form--control:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.06);
}

.modern-contact .contact-form .form--control::placeholder {
    color: #6b7394;
}

.modern-contact .contact-form textarea.form--control {
    min-height: 140px;
    resize: vertical;
}

.modern-contact .contact-form .btn--base {
    background: #ffffff;
    color: #050338;
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.1em;
    padding: 14px 36px;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-contact .contact-form .btn--base:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateX(4px);
}

.modern-contact .contact-information {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 24px;
    margin-bottom: 0;
}

.modern-contact .contact-information h3.title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.03em;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.modern-contact .contact-information p {
    color: #a0a8c0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.7;
}

.modern-contact .contact-widget-box {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-contact .contact-widget-box:hover {
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.02);
}

.modern-contact .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.2rem;
    margin-right: 16px;
}

.modern-contact .contact-containt h4.title {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 4px;
}

.modern-contact .contact-containt {
    color: #a0a8c0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

/* --- BLOG PAGES --- */
.modern-page-section .blog-item {
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modern-page-section .blog-item:hover {
    border-color: var(--primary-color);
}

.modern-page-section .blog-item .blog-content h3,
.modern-page-section .blog-item .blog-content h4 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.modern-page-section .blog-item .blog-content p {
    color: #a0a8c0;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
}

/* --- POLICY PAGES --- */
.modern-page-section .policy-content {
    font-family: 'Clash Display', sans-serif;
    color: #a0a8c0;
    font-weight: 500;
    line-height: 1.8;
}

.modern-page-section .policy-content h1,
.modern-page-section .policy-content h2,
.modern-page-section .policy-content h3 {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 16px;
}

/* --- FOOTER MODERN --- */
.modern-homepage .footer-modern {
    background: #050338;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 40px;
    padding-bottom: 0;
}

.modern-homepage .footer-brand { margin-bottom: 20px; }
.modern-homepage .footer-brand img { max-height: 36px; }

.modern-homepage .footer-description {
    color: #8a8fa8;
    font-size: 0.9rem;
    line-height: 1.7;
    font-family: 'Clash Display', sans-serif;
    font-weight: 500;
}

.modern-homepage .footer-links-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    font-family: 'Clash Display', sans-serif;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.modern-homepage .footer-links-list { list-style: none; padding: 0; margin: 0; }
.modern-homepage .footer-links-list li { margin-bottom: 6px; }

.modern-homepage .footer-links-list li a {
    color: #8a8fa8;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Clash Display', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modern-homepage .footer-links-list li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.modern-homepage .footer-bottom-modern {
    margin-top: 28px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.modern-homepage .footer-copyright {
    color: #6b7394;
    font-size: 0.8rem;
    font-family: 'Clash Display', sans-serif;
    font-weight: 600;
}

.modern-homepage .footer-copyright a {
    color: #ffffff;
    font-weight: 700;
}

.modern-homepage .footer-social-modern {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-homepage .footer-social-modern li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-homepage .footer-social-modern li a:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #050338;
}

/* --- ANIMATIONS --- */
.page-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER STYLES --- */
.modern-homepage .header-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(5, 3, 56, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.modern-homepage .header-section .navbar-nav .nav-item a,
.modern-homepage .header-section .main-menu li a {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.modern-homepage .header-section .main-menu li a:hover,
.modern-homepage .header-section .main-menu li a.active {
    color: var(--primary-color);
}

.modern-homepage .header-action .btn--base {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0.08em;
    background: #ffffff;
    color: #050338;
    border: none;
    padding: 10px 24px;
}

.modern-homepage .header-action .btn--base:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.modern-homepage .header-action .btn--base.btn--outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
}

.modern-homepage .header-action .btn--base.btn--outline:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
}

.modern-homepage .language-select {
    font-family: 'Clash Display', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 6px 12px;
}

/* --- LINE AWESOME → FONT AWESOME OVERRIDE --- */
.modern-homepage .la,
.modern-homepage .las,
.modern-homepage .lar,
.modern-homepage .lal,
.modern-homepage .lab {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}
.modern-homepage .lab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}
.modern-homepage .lar {
    font-weight: 400 !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .page-hero { padding: 100px 0 40px; }
    .page-hero::before { display: none; }
}

@media (max-width: 767px) {
    .modern-contact .contact-form-area { padding: 24px; }
    .modern-contact .contact-information { padding: 24px; }
    .modern-homepage .footer-bottom-modern { flex-direction: column; text-align: center; }
}

@media (max-width: 575px) {
    .page-hero-title { font-size: 2rem; }
}
