/* ========================================
   BOUTIQUE AÏCHA — CSS
   Palette: Rose poudré + Noir + Doré
   ======================================== */

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

:root {
    --rose: #d4a0a0;
    --rose-light: #f2dede;
    --rose-dark: #b07878;
    --noir: #1a1a1a;
    --noir-soft: #2d2d2d;
    --dore: #c9a84c;
    --dore-light: #e8d48b;
    --blanc: #faf8f6;
    --gris: #6b6b6b;
    --gris-light: #e8e4e0;
    --blanc-pur: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--noir);
    background-color: var(--blanc);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gris-light);
    transition: box-shadow var(--transition);
}

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

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 60px;
    width: auto;
}

.header__whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--blanc-pur);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

.header__whatsapp:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.header__whatsapp .icon--whatsapp {
    width: 20px;
    height: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn--primary {
    background: var(--noir);
    color: var(--blanc-pur);
}

.btn--primary:hover {
    background: var(--noir-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--whatsapp {
    background: #25D366;
    color: var(--blanc-pur);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9rem;
}

.btn--whatsapp:hover {
    background: #1da851;
    transform: translateY(-1px);
}

.btn--whatsapp svg {
    width: 18px;
    height: 18px;
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--blanc);
    position: relative;
    overflow: hidden;
}

.hero__bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.hero__bg-logo img {
    width: 580px;
    height: auto;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero__text {
    text-align: center;
    max-width: 600px;
}

.hero__tag {
    display: inline-block;
    background: var(--dore);
    color: var(--noir);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--noir);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero__script {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    color: var(--rose-dark);
    font-size: 0.85em;
    display: block;
    margin-top: 4px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--gris);
    margin-bottom: 40px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
}

/* --- Sections Communes --- */
.section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--dore);
    margin: 16px auto 0;
}

.section__subtitle {
    text-align: center;
    color: var(--gris);
    font-size: 1.05rem;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Catalogue --- */
.catalogue {
    background: var(--blanc);
}

.logo-intro {
    display: none;
}

.catalogue__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--blanc-pur);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card__image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.product-card__info {
    padding: 20px;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.product-card__price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dore);
    margin-bottom: 16px;
}

/* --- How It Works --- */
.how-it-works {
    background: var(--rose-light);
}

.how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--blanc-pur);
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step__icon {
    width: 56px;
    height: 56px;
    background: var(--rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blanc-pur);
}

.step__icon svg {
    width: 28px;
    height: 28px;
}

.step__number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--rose);
    opacity: 0.3;
    position: absolute;
    top: 16px;
    right: 24px;
}

.step__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.step__text {
    color: var(--gris);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials {
    background: var(--blanc);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.testimonial {
    background: var(--blanc-pur);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.testimonial:hover {
    transform: translateY(-4px);
}

.testimonial__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--rose-light);
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial__stars {
    color: var(--dore);
    font-size: 1.1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial__text {
    font-style: italic;
    color: var(--noir-soft);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial__name {
    font-weight: 600;
    color: var(--noir);
    font-size: 0.9rem;
}

.testimonials__banner {
    text-align: center;
    padding: 24px;
    background: var(--rose-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonials__count {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonials__stars-banner {
    color: var(--dore);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* --- Delivery --- */
.delivery {
    background: var(--noir);
    color: var(--blanc-pur);
}

.delivery .section__title {
    color: var(--blanc-pur);
}

.delivery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.delivery__card {
    background: var(--noir-soft);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.delivery__icon {
    width: 52px;
    height: 52px;
    background: var(--dore);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--noir);
}

.delivery__icon svg {
    width: 26px;
    height: 26px;
}

.delivery__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.delivery__text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: var(--noir);
    color: var(--blanc-pur);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer__logo {
    margin-bottom: 8px;
}

.footer__logo img {
    height: 42px;
    width: auto;
}

.footer__tagline {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer__block h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--dore);
}

.footer__block p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__block a {
    color: rgba(255,255,255,0.6);
}

.footer__block a:hover {
    color: var(--dore);
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.footer__socials a:hover {
    background: var(--dore);
    color: var(--noir);
}

.footer__socials svg {
    width: 18px;
    height: 18px;
}

.footer__bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer__credit {
    margin-top: 8px;
}

.footer__credit a {
    color: var(--dore);
    text-decoration: underline;
}

/* --- WhatsApp Flottant --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .catalogue__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header__whatsapp span {
        display: none;
    }

    .header__whatsapp {
        padding: 10px;
        border-radius: 50%;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .catalogue__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .how-it-works__steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section__inner {
        padding: 70px 20px;
    }
}

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

    .product-card__image {
        height: 220px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
