/* =========================================================================
   Ayoub Alami | Landing Page Parapharmacie
   Theme: Pro Light
========================================================================= */
/* =========================================================================
   fait le mieu avec css pour centré logo et le text sur desktop et mobile aussi 
========================================================================= */
.feature-content-col {
    display: table;
    margin: 0 auto !important;
    text-align: center;
}

.feature-content-col img {
    display: table;
    margin: 0 auto !important;
}
.social-links {
    display: flex;
    gap: 14px;
    margin-top: 1.2rem;
    align-items: center;
    justify-content: center;
}
/* Social Links */
.social-links {
    display: flex;
    gap: 14px;
    margin-top: 1.2rem;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Couleurs par réseau */
.social-links a.instagram {
    color: #E1306C;
    background: #fdeef4;
}

.social-links a.facebook {
    color: #1877F2;
    background: #e8f0fe;
}

.social-links a.tiktok {
    color: #010101;
    background: #f0f0f0;
}

.social-links a:hover.instagram {
    background: #E1306C;
    color: #fff;
}

.social-links a:hover.facebook {
    background: #1877F2;
    color: #fff;
}

.social-links a:hover.tiktok {
    background: #010101;
    color: #fff;
}
b {
	color: #2e9e8a;
}
:root {
    /* Brand Colors */
    --c-red: rgba(221, 4, 22, 0.818);
    --c-teal: #2e9e8a;

    /* Neutrals */
    --c-white: #ffffff;
    --c-gray-50: #f8fafc;
    --c-gray-100: #f1f5f9;
    --c-gray-200: #e2e8f0;
    --c-gray-400: #94a3b8;
    --c-gray-600: #475569;
    --c-gray-800: #1e293b;
    --c-black: #0f172a;

    /* Gradients */
    --g-teal: linear-gradient(135deg, #2e9e8a 0%, #1f7a6a 100%);
    --g-red: linear-gradient(135deg, #ff1a2e 0%, #dd0415 100%);

    /* Shadows */
    --s-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --s-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --s-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --s-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Radii */
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 20px;
    --r-full: 9999px;

    /* Transitions */
    --t-fast: 0.15s ease-in-out;
    --t-normal: 0.3s ease-in-out;

    /* Layout */
    --max-w: 1200px;
    --spacing-section: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--c-gray-800);
    background-color: var(--c-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================================================
   TYPOGRAPHY
========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--c-gray-600);
}

.text-teal {
    color: var(--c-teal);
}

.text-red {
    color: var(--c-red);
}

.text-white {
    color: var(--c-white);
}

.text-gray {
    color: var(--c-gray-600);
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* =========================================================================
   UTILITIES
========================================================================= */
.section {
    padding: var(--spacing-section) 0;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.pb-4 {
    padding-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.section-bg-light {
    background-color: var(--c-gray-50);
}

.section-bg-gray {
    background-color: var(--c-gray-100);
}

.theme-teal-bg {
    background-image: var(--g-teal);
    color: var(--c-white);
}

.bg-light-teal {
    background-color: rgba(46, 158, 138, 0.1);
}

.bg-light-red {
    background-color: rgba(221, 4, 21, 0.1);
}

.bg-light-gray {
    background-color: var(--c-gray-50);
}

.shadow-md {
    box-shadow: var(--s-md);
}

.shadow-lg {
    box-shadow: var(--s-lg);
}

.shadow-xl {
    box-shadow: var(--s-xl);
}

.rounded-lg {
    border-radius: var(--r-lg);
}

.rounded-xl {
    border-radius: var(--r-xl);
}

.border-t-red {
    border-top: 4px solid var(--c-red);
}

.border-t-teal {
    border-top: 4px solid var(--c-teal);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--s-lg);
    border-radius: var(--r-xl);
}

.card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: 2rem;
    box-shadow: var(--s-md);
    transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--s-lg);
}

.grid {
    display: grid;
    gap: 2rem;
}

.layout-2col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

@media (max-width: 900px) {
    .layout-2col {
        grid-template-columns: 1fr;
    }
}

.justify-center {
    display: flex;
    justify-content: center;
}

.align-center {
    align-items: center;
}

/* =========================================================================
   COMPONENTS
========================================================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-normal);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--c-teal);
    color: var(--c-white);
    box-shadow: 0 4px 14px rgba(46, 158, 138, 0.4);
}

.btn-primary:hover {
    background: #258372;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 158, 138, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--c-gray-800);
    border-color: var(--c-gray-200);
}

.btn-outline:hover {
    border-color: var(--c-gray-400);
    background: var(--c-gray-50);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--c-gray-100);
    color: var(--c-gray-600);
}

.badge-red {
    background: rgba(221, 4, 21, 0.1);
    color: var(--c-red);
}

.badge-teal {
    background: rgba(46, 158, 138, 0.1);
    color: var(--c-teal);
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-desc {
    font-size: 1.125rem;
}

/* =========================================================================
   NAVBAR
========================================================================= */
.navbar {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-gray-100);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--g-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

/* =========================================================================
   HERO SECTION
========================================================================= */
.hero {
    padding: 4rem 0 6rem;
    background: radial-gradient(circle at top right, var(--c-gray-50) 0%, var(--c-white) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-cta {
        justify-content: center;
    }
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--c-gray-600);
    font-weight: 500;
}

.hero-checks span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-checks svg {
    width: 20px;
    height: 20px;
    color: var(--c-teal);
}

/* Hero Profile Card */
.profile-card {
    padding: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--c-gray-200);
}

.profile-info {
    padding: 2rem;
}

.profile-title {
    color: var(--c-teal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-badge {
    background: var(--c-gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--r-md);
    font-size: 0.8rem;
    font-weight: 600;
}

.profile-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.profile-contacts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* =========================================================================
   CLIENTS SECTION
========================================================================= */
.clients {
    padding: 3rem 0;
    overflow: hidden;
}

.client-logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.client-logos {
    display: flex;
    white-space: nowrap;
    animation: scrollLogos 13s linear infinite;
    align-items: center;
    gap: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-gray-400);
}

.client-logos span {
    display: inline-block;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================================================
   STATS SECTION
========================================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .navbar .footer-contact {
	display: none;
}
.nav-container {
	display: block 
}
.navbar img {
	display: table;
	margin: 0 auto;
}
}

.stat-value {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: var(--c-gray-600);
    font-size: 1.125rem;
}

/* =========================================================================
   PROBLEMS SECTION
========================================================================= */
.cards-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.problem-card h3 {
    margin-bottom: 0.5rem;
}

.card-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-xl);
    margin-bottom: 1.5rem;
}

.red-icon {
    background: var(--c-red);
    color: white;
    box-shadow: 0 10px 20px rgba(221, 4, 21, 0.2);
}

/* =========================================================================
   FEATURES SECTION
========================================================================= */
.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 900px) {
    .feature-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.teal-icon {
    background: var(--g-teal);
    color: white;
    box-shadow: 0 8px 16px rgba(46, 158, 138, 0.2);
}

.feature-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================================================
   HIGHLIGHTS & INCLUDED
========================================================================= */
.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.numbered-list li {
    display: flex;
    gap: 1.5rem;
}

.list-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-gray-300);
    padding-top: 0.25rem;
    min-width: 40px;
}

.list-content h4 {
    margin-bottom: 0.25rem;
}

.list-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.included-box {
    padding: 3rem;
}

.check-list-white {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.check-list-white li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #a7f3d0;
    margin-top: 2px;
}

/* =========================================================================
   TIMELINE
========================================================================= */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    height: 100%;
    width: 2px;
    background: var(--c-gray-200);
}

.timeline-item {
    position: relative;
    padding-left: 35px;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 1px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--c-teal);
    border: 3px solid var(--c-white);
    box-shadow: 0 0 0 2px var(--c-teal);
    z-index: 1;
}

.dot-red {
    background: var(--c-red);
    box-shadow: 0 0 0 2px var(--c-red);
}

.timeline-date {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--c-teal);
}

/* =========================================================================
   TESTIMONIALS
========================================================================= */
.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-text {
    font-style: italic;
    color: var(--c-gray-800);
    font-size: 1.05rem;
}

/* =========================================================================
   COMPARISON TABLE
========================================================================= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--c-gray-200);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        margin-bottom: 1rem;
        border: 1px solid var(--c-gray-200);
        border-radius: var(--r-md);
    }

    .comparison-table td {
        display: grid;
        grid-template-columns: 150px 1fr;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* =========================================================================
   FAQ
========================================================================= */
.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--c-white);
    border-radius: var(--r-md);
    box-shadow: var(--s-sm);
    overflow: hidden;
    transition: all var(--t-fast);
}

.faq-item:hover {
    box-shadow: var(--s-md);
}

.faq-item.active {
    border-left: 4px solid var(--c-teal);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--c-black);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--t-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-normal);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* =========================================================================
   FOOTER
========================================================================= */
.footer {
    border-top: 1px solid var(--c-gray-200);
}

/* =========================================================================
   FLOATING ELEMENTS & UTILITIES
========================================================================= */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 1000;
    transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.fa-brands.fa-whatsapp {
    font-size: 22px;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

@media (max-width: 600px) {}

/* =========================================================================
   COOKIE BANNER
========================================================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--c-white);
    border: 1px solid var(--c-gray-200);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    z-index: 1001;
    /* Above WA floating button */
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    box-shadow: var(--s-lg);
}

.cookie-banner.show {
    bottom: 2rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--c-gray-600);
}

.cookie-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

/* =========================================================================
   RTL SUPPORT (ARABIC)
========================================================================= */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .nav-actions .lang-switch {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-checks span,
html[dir="rtl"] .profile-contacts li,
html[dir="rtl"] .feature-item,
html[dir="rtl"] .check-list-white li {
    text-align: right;
}

html[dir="rtl"] .list-content h4,
html[dir="rtl"] .list-content p {
    text-align: right;
}

html[dir="rtl"] .comparison-table {
    text-align: right;
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

html[dir="rtl"] .faq-icon {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

html[dir="rtl"] .cookie-banner {
    text-align: right;
}

html[dir="rtl"] .timeline {
    padding-left: 0;
    padding-right: 20px;
}

html[dir="rtl"] .timeline::before {
    left: auto;
    right: 25px;
}

html[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 35px;
}

html[dir="rtl"] .timeline-dot {
    left: auto;
    right: 1px;
}

@keyframes slideRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

html[dir="rtl"] .client-logos {
    animation: slideRTL 30s linear infinite;
}