/* ═══════════════════════════════════════
   FRONT PAGE — Apothicaire Botanique
   ═══════════════════════════════════════ */

/* ═══ GLOBAL COMPONENTS ═══ */
.sw-section { padding: 80px 0; }
.sw-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sw-section-header { margin-bottom: 48px; }
.sw-section-header h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important; font-weight: 800 !important;
    color: #1a1a1a !important; line-height: 1.15; margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.sw-section-desc {
    font-size: 1.05rem; color: #7a7a6e; line-height: 1.7; max-width: 560px;
}
.sw-label {
    display: inline-block;
    font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: #2d6a4f; margin-bottom: 12px;
    padding: 5px 12px; border-radius: 4px;
    background: rgba(45,106,79,0.06);
    border: 1px solid rgba(45,106,79,0.1);
}
.sw-center { text-align: center; margin-top: 40px; }

/* Buttons */
.sw-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'DM Sans', sans-serif; font-weight: 600;
    text-decoration: none !important; border: none; cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px; font-size: 0.92rem;
}
.sw-btn-primary {
    background: #2d6a4f; color: #fff !important;
    padding: 14px 28px;
    box-shadow: 0 2px 8px rgba(45,106,79,0.2);
}
.sw-btn-primary:hover {
    background: #1b4332; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,106,79,0.25);
}
.sw-btn-ghost {
    background: transparent; color: #2d6a4f !important;
    padding: 14px 24px;
}
.sw-btn-ghost:hover { background: rgba(45,106,79,0.06); }
.sw-btn-outline {
    background: transparent; color: #2d6a4f !important;
    padding: 12px 28px;
    border: 1.5px solid rgba(45,106,79,0.3);
}
.sw-btn-outline:hover {
    background: #2d6a4f; color: #fff !important;
    border-color: #2d6a4f;
}
.sw-btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ═══ HERO ═══ */
.sw-hero {
    position: relative;
    background: #f5f0e8;
    overflow: hidden;
    padding: 0;
}
.sw-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(45,106,79,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,111,71,0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f5f0e8 0%, #ede8dd 100%);
}
.sw-hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 80px 2rem 60px;
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
}
.sw-hero-eyebrow {
    display: inline-block;
    font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: #8b6f47;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139,111,71,0.2);
}
.sw-hero h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2.4rem, 4.5vw, 3.4rem) !important; font-weight: 800 !important;
    color: #1a1a1a !important; line-height: 1.12 !important;
    margin: 0 0 20px; letter-spacing: -0.02em;
}
.sw-hero h1 em {
    font-style: normal; color: #2d6a4f;
    text-decoration: underline;
    text-decoration-color: rgba(45,106,79,0.2);
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
}
.sw-hero-desc {
    font-size: 1.05rem; color: #6a6a5e; line-height: 1.7;
    margin-bottom: 32px; max-width: 520px;
}
.sw-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Hero stats */
.sw-hero-stats {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid rgba(139,111,71,0.15);
    border-radius: 16px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
}
.sw-stat {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(139,111,71,0.1);
}
.sw-stat:last-child { border-bottom: none; }
.sw-stat-num {
    display: block;
    font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800;
    color: #2d6a4f; line-height: 1;
    letter-spacing: -0.02em;
}
.sw-stat-label {
    display: block; margin-top: 4px;
    font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500;
    color: #8b8578; text-transform: uppercase; letter-spacing: 0.06em;
}

/* ═══ MARQUEE ═══ */
.sw-marquee {
    background: #1b4332;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}
.sw-marquee-track {
    display: inline-flex; gap: 0;
    animation: sw-scroll 30s linear infinite;
    font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.7);
}
.sw-marquee-track span { padding: 0 16px; }
.sw-marquee-dot { color: rgba(45,106,79,0.6); font-size: 0.5rem; padding: 0 8px !important; }
@keyframes sw-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══ BENTO BIENFAITS ═══ */
.sw-bienfaits { background: #faf8f4; }
.sw-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sw-bento-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.sw-bento-item::after {
    content: '';
    position: absolute; bottom: 0; left: 24px; right: 24px;
    height: 2px; background: #2d6a4f;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sw-bento-item:hover::after { transform: scaleX(1); }
.sw-bento-item:hover {
    border-color: rgba(45,106,79,0.12);
    box-shadow: 0 8px 40px rgba(0,0,0,0.04);
    transform: translateY(-4px);
}
.sw-bento-large {
    grid-column: span 3;
    display: grid; grid-template-columns: auto 1fr; gap: 24px;
    align-items: start;
    background: linear-gradient(135deg, #f7f5f0 0%, #fff 100%);
    padding: 36px 32px;
}
.sw-bento-large .sw-bento-icon {
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(145deg, #2d6a4f, #1b4332);
    color: #fff;
}
.sw-bento-icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(45,106,79,0.06);
    color: #2d6a4f;
    margin-bottom: 16px; flex-shrink: 0;
}
.sw-bento-item h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important; font-weight: 700 !important;
    color: #1a1a1a !important; margin: 0 0 8px;
}
.sw-bento-large h3 { font-size: 1.3rem !important; }
.sw-bento-item p {
    font-size: 0.88rem; color: #7a7a6e; line-height: 1.65; margin: 0;
}
.sw-bento-large p { font-size: 0.95rem; }

/* ═══ SOCIAL PROOF ═══ */
.sw-proof {
    background: #1b4332;
    padding: 48px 0;
    overflow: hidden;
}
.sw-proof-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: stretch; gap: 0;
}
.sw-proof-item {
    flex: 1; padding: 0 32px;
    display: flex; flex-direction: column;
}
.sw-proof-source {
    font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: rgba(168,213,186,0.7); margin-bottom: 12px;
}
.sw-proof-item p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-style: italic; font-weight: 400;
    color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0;
    flex-grow: 1;
}
.sw-proof-date {
    font-family: 'DM Sans', sans-serif; font-size: 0.75rem;
    color: rgba(255,255,255,0.3); margin-top: 12px;
}
.sw-proof-divider {
    width: 1px; background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ═══ PRODUCTS ═══ */
.sw-shop { background: #fff; }
.sw-products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.sw-product-card {
    background: #faf8f4; border: 1px solid rgba(0,0,0,0.04);
    border-radius: 14px; overflow: hidden;
    text-decoration: none !important; transition: all 0.3s;
    display: flex; flex-direction: column;
}
.sw-product-card:hover {
    border-color: rgba(45,106,79,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}
.sw-product-img {
    aspect-ratio: 1; overflow: hidden;
    background: #f0ece4; display: flex; align-items: center; justify-content: center;
}
.sw-product-img img { width: 100%; height: 100%; object-fit: cover; }
.sw-product-placeholder { background: linear-gradient(135deg, #f0ece4, #e8e0d4); }
.sw-product-body {
    padding: 16px 18px; flex-grow: 1;
    display: flex; flex-direction: column;
}
.sw-product-body h3 {
    font-family: 'DM Sans', sans-serif !important; font-size: 0.92rem !important;
    font-weight: 600 !important; color: #1a1a1a !important; margin: 0 0 8px;
    line-height: 1.4;
}
.sw-product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700; color: #2d6a4f;
    margin-top: auto;
}

/* ═══ ARTICLES ═══ */
.sw-articles { background: #f5f0e8; }
.sw-articles-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sw-article-featured {
    grid-row: span 5;
    background: #fff; border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex; flex-direction: column;
    transition: all 0.3s;
}
.sw-article-featured:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}
.sw-article-cat {
    display: inline-block;
    font-family: 'DM Sans', sans-serif; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: #2d6a4f; margin-bottom: 16px;
    padding: 4px 10px; border-radius: 4px;
    background: rgba(45,106,79,0.06);
}
.sw-article-featured h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important; font-weight: 700 !important;
    color: #1a1a1a !important; line-height: 1.3; margin: 0 0 14px;
}
.sw-article-featured h3 a { color: inherit !important; text-decoration: none !important; }
.sw-article-featured h3 a:hover { color: #2d6a4f !important; }
.sw-article-featured > p {
    font-size: 0.95rem; color: #7a7a6e; line-height: 1.7; margin: 0;
    flex-grow: 1;
}
.sw-article-meta {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 24px; padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.04);
}
.sw-article-meta time {
    font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: #9a9a8e;
}
.sw-read-link {
    font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600;
    color: #2d6a4f !important; text-decoration: none !important;
}
.sw-read-link:hover { text-decoration: underline !important; }

.sw-article-compact {
    background: #fff; border-radius: 12px; padding: 20px 24px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.sw-article-compact:hover {
    border-color: rgba(45,106,79,0.12);
    transform: translateX(4px);
}
.sw-article-cat-sm {
    font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #8b6f47; margin-bottom: 6px; display: block;
}
.sw-article-compact h3 {
    font-family: 'DM Sans', sans-serif !important; font-size: 0.92rem !important;
    font-weight: 600 !important; color: #1a1a1a !important; margin: 0 0 6px;
    line-height: 1.4;
}
.sw-article-compact h3 a { color: inherit !important; text-decoration: none !important; }
.sw-article-compact h3 a:hover { color: #2d6a4f !important; }
.sw-article-compact time {
    font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: #9a9a8e;
}

/* ═══ HOW-TO ═══ */
.sw-howto { background: #faf8f4; }
.sw-steps {
    display: flex; align-items: flex-start; gap: 0;
    counter-reset: step;
}
.sw-step {
    flex: 1; padding: 32px 28px;
    background: #fff; border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    transition: all 0.3s;
}
.sw-step:hover {
    border-color: rgba(45,106,79,0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}
.sw-step-num {
    font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 800;
    color: rgba(45,106,79,0.12);
    line-height: 1; display: block; margin-bottom: 16px;
}
.sw-step h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.2rem !important; font-weight: 700 !important;
    color: #1a1a1a !important; margin: 0 0 10px;
}
.sw-step p {
    font-size: 0.88rem; color: #7a7a6e; line-height: 1.65; margin: 0;
}
.sw-step-arrow {
    display: flex; align-items: center; padding: 0 16px;
    font-size: 1.5rem; color: rgba(45,106,79,0.2);
    margin-top: 48px;
}

/* ═══ FINAL CTA ═══ */
.sw-final-cta {
    background: linear-gradient(160deg, #1b4332 0%, #2d6a4f 40%, #1b4332 100%);
    padding: 80px 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sw-final-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.sw-final-cta-inner {
    max-width: 640px; margin: 0 auto; position: relative; z-index: 1;
}
.sw-final-cta h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 14px; line-height: 1.2;
}
.sw-final-cta p {
    font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin: 0 0 32px;
}
.sw-final-cta .sw-btn-primary {
    background: #fff; color: #1b4332 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sw-final-cta .sw-btn-primary:hover {
    background: #f5f0e8; transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ═══ FAQ ═══ */
.sw-faq-home {
    background: #faf8f4;
}
.sw-faq-list {
    max-width: 720px; margin: 0 auto;
}
.sw-faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0;
}
.sw-faq-item summary {
    padding: 20px 0;
    font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
    color: #1a1a1a; cursor: pointer;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    transition: color 0.2s;
}
.sw-faq-item summary::-webkit-details-marker { display: none; }
.sw-faq-item summary::after {
    content: '+';
    font-size: 1.4rem; font-weight: 300; color: #8b8578;
    transition: transform 0.3s;
    flex-shrink: 0; margin-left: 16px;
}
.sw-faq-item[open] summary::after {
    content: '−';
    color: #2d6a4f;
}
.sw-faq-item summary:hover { color: #2d6a4f; }
.sw-faq-item p {
    padding: 0 0 20px;
    font-size: 0.92rem; color: #6a6a5e; line-height: 1.7; margin: 0;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
    .sw-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .sw-hero-stats { flex-direction: row; }
    .sw-stat { border-bottom: none; border-right: 1px solid rgba(139,111,71,0.1); text-align: center; }
    .sw-stat:last-child { border-right: none; }
    .sw-bento { grid-template-columns: 1fr 1fr; }
    .sw-bento-large { grid-column: span 2; }
    .sw-proof-inner { flex-direction: column; gap: 32px; }
    .sw-proof-divider { width: 100%; height: 1px; }
    .sw-proof-item { padding: 0; }
    .sw-products-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-articles-layout { grid-template-columns: 1fr; }
    .sw-article-featured { grid-row: auto; }
    .sw-steps { flex-direction: column; gap: 16px; }
    .sw-step-arrow { display: none; }
}
@media (max-width: 600px) {
    .sw-section { padding: 60px 0; }
    .sw-hero-inner { padding: 48px 20px 40px; }
    .sw-hero h1 { font-size: 2rem !important; }
    .sw-hero-stats { flex-direction: column; }
    .sw-stat { border-right: none; border-bottom: 1px solid rgba(139,111,71,0.1); text-align: left; }
    .sw-bento { grid-template-columns: 1fr; }
    .sw-bento-large { grid-column: span 1; grid-template-columns: 1fr; }
    .sw-products-grid { grid-template-columns: 1fr; }
    .sw-hero-actions { flex-direction: column; align-items: flex-start; }
}
