/* ============================================================
   REJUVIA PARIS — Global Stylesheet
   Premium Aesthetic & Skin-Care Brand
   ============================================================ */

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

:root {
    --red: #C8102E;
    --red-dark: #A00D24;
    --red-light: #E8314A;
    --charcoal: #4A4A4A;
    --charcoal-dark: #2C2C2C;
    --charcoal-light: #6B6B6B;
    --grey-100: #F5F5F5;
    --grey-200: #EBEBEB;
    --grey-300: #D4D4D4;
    --grey-400: #9E9E9E;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1200px;
    --nav-height: 80px;
    --radius: 4px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Language Toggle --- */
/* French is default. English is hidden until toggled. */
[data-lang="en"] { display: none !important; }
body.lang-en [data-lang="en"] { display: revert !important; }
body.lang-en [data-lang="fr"] { display: none !important; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--charcoal-dark);
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1rem; color: var(--charcoal-light); }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

.accent { color: var(--red); }
.text-center { text-align: center; }

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section--grey {
    background: var(--grey-100);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
}

/* --- Grid --- */
.grid {
    display: grid;
    gap: 2rem;
}

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

@media (max-width: 768px) {
    .grid--2, .grid--3, .grid--4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
    background: var(--charcoal-dark);
    color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--charcoal-dark);
}

.btn--white:hover {
    background: var(--grey-100);
    color: var(--charcoal-dark);
    transform: translateY(-1px);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--grey-200);
    transition: all var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.nav__logo-img {
    height: 50px;
    width: auto;
}

@media (min-width: 769px) {
    .nav__logo-img {
        height: 60px;
    }
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal-dark);
    letter-spacing: 0.05em;
}

.nav__logo-text .logo-r { color: var(--charcoal-dark); }
.nav__logo-text .logo-e { color: var(--red); }
.nav__logo-text .logo-j { color: var(--charcoal-dark); }
.nav__logo-text .logo-u { color: var(--charcoal-dark); }
.nav__logo-text .logo-v { color: var(--charcoal-dark); }
.nav__logo-text .logo-i { color: var(--red); }
.nav__logo-text .logo-a { color: var(--charcoal-dark); }

.nav__logo-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    display: block;
    margin-top: -2px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 2px;
}

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

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--charcoal-dark);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.5rem;
}

.lang-toggle button {
    padding: 0.25rem 0.4rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: transparent;
    border: none;
    color: var(--grey-400);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-toggle button.active {
    color: var(--charcoal-dark);
}

.lang-toggle button:hover:not(.active) {
    color: var(--charcoal);
}

.lang-toggle span.lang-sep {
    color: var(--grey-300);
    font-size: 0.7rem;
}

/* Mobile Menu Toggle */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal-dark);
    transition: all var(--transition);
}

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

.nav__hamburger.open span:nth-child(2) {
    opacity: 0;
}

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

@media (max-width: 768px) {
    .nav__hamburger {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--grey-200);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .lang-toggle {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    background: linear-gradient(165deg, var(--white) 0%, var(--grey-100) 50%, var(--white) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,16,46,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__logo-img {
    height: clamp(100px, 20vw, 200px);
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

.hero__logo-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--charcoal-dark);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero__logo-sub {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 2vw, 1rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--charcoal-light);
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page-level hero (shorter) */
.hero--page {
    min-height: 40vh;
    padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
}

.hero--page .hero__logo-text {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    border: 1px solid var(--grey-200);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200,16,46,0.08), rgba(200,16,46,0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.card__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--charcoal-light);
}

.card__link {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
}

.card__link:hover {
    color: var(--red-dark);
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats {
    background: var(--charcoal-dark);
    padding: 3.5rem 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats__item h3 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.stats__item p {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-400);
}

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

/* ============================================================
   Partners Strip
   ============================================================ */
.partners {
    padding: 4rem 0;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}

.partners__label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--grey-400);
    margin-bottom: 2rem;
}

.partners__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partners__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--grey-300);
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.partners__logo:hover {
    color: var(--charcoal-light);
}

.partners__logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* ============================================================
   About Section (Homepage Preview)
   ============================================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview__image,
.product-category__image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f8f4f0 0%, #ede7e1 50%, #e8e0d8 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--grey-400);
    letter-spacing: 0.03em;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.about-preview__image::before,
.product-category__image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(200,16,46,0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.about-preview__image::after,
.product-category__image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(200,16,46,0.04);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.about-preview__text h2 {
    margin-bottom: 1.5rem;
}

.about-preview__text p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   Product Categories (Products Page)
   ============================================================ */
.product-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--grey-200);
}

.product-category:last-child {
    border-bottom: none;
}

.product-category:nth-child(even) {
    direction: rtl;
}

.product-category:nth-child(even) > * {
    direction: ltr;
}

/* .product-category__image styles merged with .about-preview__image above */

.product-category__info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.product-category__info p {
    margin-bottom: 0.75rem;
}

.product-category__info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.product-category__info ul li {
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.92rem;
    color: var(--charcoal-light);
}

.product-category__info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .product-category,
    .product-category:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ============================================================
   Coming Soon Banner
   ============================================================ */
.coming-soon {
    background: linear-gradient(135deg, var(--charcoal-dark) 0%, #3a3a3a 100%);
    border-radius: var(--radius);
    padding: 3.5rem;
    text-align: center;
    margin-top: 2rem;
}

.coming-soon h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--grey-400);
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================================
   About Page — Timeline
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--grey-200);
}

.timeline__item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    transform: translateX(-4px);
}

.timeline__item h4 {
    margin-bottom: 0.5rem;
    color: var(--charcoal-dark);
}

.timeline__item p {
    font-size: 0.92rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--charcoal-dark);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200,16,46,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info__text h4 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-info__text p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-bottom: 0;
}

.map-placeholder {
    margin-top: 2rem;
    aspect-ratio: 16/9;
    background: var(--grey-100);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--charcoal-dark);
    color: var(--grey-400);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer__brand .nav__logo-text {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer__brand .nav__logo-sub {
    color: var(--grey-400);
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: 0.88rem;
    color: var(--grey-400);
    max-width: 300px;
}

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer__col ul {
    list-style: none;
}

.footer__col ul li {
    margin-bottom: 0.6rem;
}

.footer__col ul a {
    font-size: 0.88rem;
    color: var(--grey-400);
    transition: color var(--transition);
}

.footer__col ul a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__legal {
    font-size: 0.75rem;
    color: var(--grey-400);
    line-height: 1.6;
}

.footer__legal a {
    color: var(--grey-400);
}

.footer__legal a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   Animations (scroll-reveal)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   Utility
   ============================================================ */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.pt-0 { padding-top: 0; }

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

/* Spacer for fixed nav */
.nav-spacer {
    height: var(--nav-height);
}
