
/* ===============================
   INFO TICKER / BANDEAU DÉFILANT
================================= */

.info-ticker {
    width: 100%;
background:
    radial-gradient(circle at top right,
        rgba(124,58,237,.18),
        transparent 52%
    ),

    radial-gradient(circle at bottom left,
        rgba(56,189,248,.14),
        transparent 46%
    ),

    linear-gradient(
        135deg,
        #fdfdff 0%,
        #f4f8ff 45%,
        #eef5ff 100%
    );    

    overflow: hidden;
    white-space: nowrap;
    border-bottom: none; /* violet pour contraste */
    position: sticky;
    top: var(--header-height);
    z-index: 1000;
    line-height: 1;

}

.home-after-ticker {
    margin-top: 60px;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

.ticker-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* 👈 encore plus moderne */
}

/* Emojis décoratifs */
.ticker-content span:nth-child(1)::before { content: "🦷 "; }
.ticker-content span:nth-child(2)::before { content: "✨ "; }
.ticker-content span:nth-child(3)::before { content: "🧠 "; }

/* ANIMATION DÉFILEMENT */
@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* RESPONSIVE : réduire gap sur petit écran */
@media (max-width: 768px) {
    .ticker-content span {
        margin-right: 30px;
    }
}

/* DESKTOP : ticker plus aéré */
@media (min-width: 1024px) {
    .info-ticker {
        min-height: 54px;
        display: flex;
        align-items: center;
    }

    .ticker-content {
        display: inline-flex;
        align-items: center;
        padding-left: 100%;
        animation-duration: 25s;
    }

    .ticker-content span {
        margin-right: 72px;
        font-size: 1rem;
        line-height: 1.4;
        letter-spacing: -0.01em;
    }
}

/* ===============================
   HERO / BANNIÈRE PRINCIPALE
================================= */

.hero {
    margin-top: clamp(40px, 8vw, 100px);
    margin-bottom: 40px;
}


.hero-content {
    margin-top: 15px;
}

.hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
}

.hero-content p {
    color: var(--text-light);
    margin-top: 8px;
}

.tag {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--primary);
}

/* ===============================
   RESPONSIVE MOBILE
================================= */
@media (max-width: 768px) {

    .hero {
        margin-bottom: 15px; /* réduit l’espace sous le hero */
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .tag {
        font-size: 0.85rem; /* cohérent avec mobile */
    }

    .tendances {
        margin-top: 0; /* colle le bloc tendances si nécessaire */
    }
}



/* ========= HERO ET TENDANCES ========= */
.hero-tendance-wrapper {
  display: block; /* mobile/tablette */
  gap: 20px;
}

.hero-main, .tendances {
  max-width: 100%;
}

/* HERO IMAGE */
.hero-inner {
  display: flex;
  flex-direction: column;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  margin-top: 25px; /* léger décalage visuel */
}

/* TENDANCES */
.tendances {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 2rem;   /* mobile/tablette */
  margin-bottom: 4rem; /* espace sous section */
  position: relative;
  z-index: 1; /* desktop : ne pas passer au-dessus du hero */
}

/* CARDS TENDANCES */
.trending-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.trending-card {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 600px;
  min-width: 400px;
  box-sizing: border-box;
  transition: 0.2s;
}

.trending-card img {
  width: 140px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.trending-card:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.trending-content .tag {
  font-size: 0.9rem;
  color: var(--primary);
  display: block;
}

.trending-content h3 {
  font-size: 1rem;
  transition: color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.trending-card:hover .trending-content h3 {
  color: var(--primary);
  transform: translateX(3px);
}

/* ICONES */
.section-title .arrow-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ===============================
   RESPONSIVE MOBILE
================================= */
@media screen and (max-width: 767px) {
  .hero-tendance-wrapper {
    display: block;
  }

  .hero-main,
  .tendances {
    max-width: 100%;
    width: 100%;
  }

  .trending-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .trending-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .trending-card img {
    width: 120px;
    min-width: 120px;
    height: 72px;
  }
}
/* ===============================
   TABLETTE
================================= */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero-tendance-wrapper {
    display: block;
  }

  .hero-main,
  .tendances {
    max-width: 100%;
    width: 100%;
  }

  .trending-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .trending-card {
    min-width: 0;
    max-width: 100%;
  }

  .trending-card img {
    width: 120px;
    min-width: 120px;
    height: 72px;
  }
}

/* ===============================
   DESKTOP
================================= */
@media screen and (min-width: 1024px) {
  .hero-tendance-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }

  .hero-main {
    flex: 2;
    max-width: 55%;
  }

  .tendances {
    flex: 1;
    max-width: 33%;
    margin-top: 0;
  }

  .trending-cards {
    flex-direction: column;
    gap: 20px;
  }

  .trending-card {
    max-width: 300px;
  }

  .section-title .arrow-icon {
    width: 50px;
    height: 50px;
  }

  .hero {
    margin-top: 0;
  }

  main {
    margin-top: 0px; /* padding entre wrapper et hero */
  }
}

/* ===============================
   RECOMMENDED / ARTICLES RECOMMANDÉS — PREMIUM
================================= */

.recommended-reading-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    transition: opacity 0.25s ease;
}

/* CARD */

.recommended-reading-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;

    padding: 14px;

    border-radius: 22px;

    background:
        linear-gradient(180deg, #ffffff, #fbfdff);

    border: 1px solid rgba(226,232,240,.95);

    text-decoration: none;
    color: inherit;

    box-shadow:
        0 12px 32px rgba(15,23,42,.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.recommended-reading-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right, rgba(124,58,237,.08), transparent 34%);

    opacity: 0;
    pointer-events: none;

    transition: opacity .25s ease;
}

.recommended-reading-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;

    box-shadow:
        0 20px 48px rgba(15,23,42,.075);
}

.recommended-reading-card:hover::before {
    opacity: 1;
}

/* IMAGE */

.recommended-reading-card img {
    position: relative;

    width: 96px;
    height: 74px;

    object-fit: cover;
    border-radius: 16px;

    flex-shrink: 0;

    background: #f8fafc;

    box-shadow:
        0 8px 20px rgba(15,23,42,.055);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.recommended-reading-card:hover img {
    transform: scale(1.035);
    box-shadow:
        0 12px 26px rgba(15,23,42,.09);
}

/* CONTENT */

.recommended-reading-content {
    position: relative;
    min-width: 0;
}

.recommended-reading-content h3 {
    margin: 0;

    color: #0f172a;

    font-size: .98rem;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -0.015em;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    transition:
        color .2s ease,
        transform .2s ease;
}

.recommended-reading-card:hover .recommended-reading-content h3 {
    color: #2563eb;
    transform: translateX(3px);
}

/* THEMES SLIDER */

.recommended-themes-slider {
    display: flex;
    gap: 10px;

    overflow-x: auto;
    padding: 2px 2px 12px;

    scroll-behavior: smooth;
    margin-bottom: 18px;

    scrollbar-width: none;
}

.recommended-themes-slider::-webkit-scrollbar {
    display: none;
}

/* THEME BUTTONS */

.theme-btn {
    flex: 0 0 auto;

    padding: 8px 14px;

    border-radius: 999px;

    border: 1px solid rgba(199,210,254,.95);

    background: rgba(255,255,255,.88);

    color: #475569;

    font-size: .82rem;
    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 8px 22px rgba(15,23,42,.04);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.theme-btn:hover {
    transform: translateY(-1px);
    color: #2563eb;
    border-color: #93c5fd;

    box-shadow:
        0 12px 28px rgba(37,99,235,.10);
}

.theme-btn.active {
    background:
        linear-gradient(135deg, #4da6ff, #2563eb);

    color: white;

    border-color: transparent;

    box-shadow:
        0 12px 28px rgba(37,99,235,.22);
}

/* TABLET */

@media (min-width: 600px) {
    .recommended-reading-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* DESKTOP */

@media (min-width: 1024px) {
    .recommended-reading-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .recommended-reading-card {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 16px;
    }

    .recommended-reading-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 18px;
    }

    .recommended-reading-content h3 {
        font-size: 1rem;
    }
}

/* MOBILE */

@media (max-width: 599px) {
    .recommended-reading-card {
        grid-template-columns: 82px 1fr;
        gap: 13px;
        padding: 12px;
        border-radius: 20px;
    }

    .recommended-reading-card img {
        width: 82px;
        height: 62px;
        border-radius: 14px;
    }

    .recommended-reading-content h3 {
        font-size: .94rem;
    }

    .theme-btn {
        padding: 7px 12px;
        font-size: .78rem;
    }
}



/* ===============================
   EXPLORE / SLIDER CATÉGORIES
================================= */

.explore {
    margin: 40px 0;
}

/* HEADER */
.explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.explore-header h2 {
    font-size: 1.6rem;
    color: var(--text);
}

.explore-header .voir-tout {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

/* SLIDER */
.categories-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    /* cache scrollbar (Firefox + autres) */
    scrollbar-width: none;
}

/* Chrome / Safari */
.categories-slider::-webkit-scrollbar {
    display: none;
}

/* SLIDE */
.category-slide {
    flex: 0 0 160px;
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
}

.category-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.category-slide h3 {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--text);
}

/* HOVER */
.category-slide:hover img {
    transform: scale(1.05);
}

.category-slide:hover h3 {
    color: var(--primary);
}


/* DOTS */

.explore-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.explore-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d5dbe5;
    transition:
        all 0.3s ease;
}

/* DOT ACTIF */

.explore-dots span.active {
    width: 24px;
    background: var(--primary);
}
/* ===============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .category-slide {
        flex: 0 0 140px;
    }

    .category-slide img {
        height: 180px;
    }
}

/* ===============================
   SECTION DERNIÈRES VIDÉOS — PREMIUM
================================= */

.latest-videos {
    margin: 56px 0 72px;
}

.latest-videos-inner {
    position: relative;
    overflow: hidden;

    padding: clamp(22px, 4vw, 34px);

    border-radius: var(--radius-xl);

    background:
        radial-gradient(circle at top right, rgba(124,58,237,.12), transparent 34%),
        radial-gradient(circle at bottom left, rgba(77,166,255,.13), transparent 36%),
        linear-gradient(135deg, #ffffff, #f8fbff);

    border: 1px solid rgba(226,232,240,.95);

    box-shadow:
        0 24px 70px rgba(15,23,42,.07),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.latest-videos-header {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;

    margin-bottom: 24px;
}

.latest-videos-header h2 {
    margin: 6px 0 8px;

    color: var(--text);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.latest-videos-header p {
    max-width: 620px;
    margin: 0;

    color: var(--text-muted);
    font-size: .98rem;
    line-height: 1.7;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(245,243,255,.92);
    color: var(--violet-dark);

    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.latest-videos-link {
    flex: 0 0 auto;

    margin-top: 4px;
    padding: 9px 14px;

    border-radius: 999px;
    border: 1px solid rgba(199,210,254,.95);

    background: rgba(255,255,255,.72);
    color: var(--primary);

    font-size: .9rem;
    font-weight: 800;

    box-shadow: 0 10px 24px rgba(15,23,42,.045);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.latest-videos-link:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(37,99,235,.12);
}

.latest-videos-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 22px;
    align-items: stretch;
}

/* Vidéo principale */

.video-featured-card {
    overflow: hidden;

    border-radius: 30px;

    background: rgba(255,255,255,.92);
    border: 1px solid rgba(226,232,240,.95);

    box-shadow:
        0 18px 48px rgba(15,23,42,.065);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.video-featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(147,197,253,.9);
    box-shadow:
        0 26px 64px rgba(15,23,42,.095);
}

.video-media {
    position: relative;
    overflow: hidden;

    background: #020617;
    border-radius: 30px 30px 22px 22px;
}

.video-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #020617;
}

.video-badge {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(255,255,255,.92);
    color: var(--primary-dark);

    font-size: .76rem;
    font-weight: 850;

    box-shadow: 0 10px 24px rgba(15,23,42,.16);
    backdrop-filter: blur(12px);
}

.video-featured-content {
    padding: 20px 22px 22px;
}

.video-category {
    display: inline-block;
    margin-bottom: 8px;

    color: var(--violet-dark);
    font-size: .82rem;
    font-weight: 850;
}

.video-featured-content h3 {
    margin: 0;

    color: var(--text);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.video-featured-content p {
    margin: 10px 0 0;

    color: var(--text-muted);
    font-size: .96rem;
    line-height: 1.7;
}

/* Futures vidéos */

.video-upcoming-list {
    display: grid;
    gap: 14px;
}

.video-upcoming-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;

    padding: 16px;

    border-radius: 22px;

    background: rgba(255,255,255,.72);
    border: 1px dashed rgba(148,163,184,.65);

    box-shadow: 0 12px 30px rgba(15,23,42,.04);
}

.video-upcoming-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    background:
        linear-gradient(135deg, rgba(77,166,255,.16), rgba(124,58,237,.13));

    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 800;
}

.video-upcoming-card span {
    display: block;
    margin-bottom: 3px;

    color: var(--text-muted);
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.video-upcoming-card h3 {
    margin: 0;

    color: #334155;
    font-size: .92rem;
    line-height: 1.35;
    font-weight: 750;
}

/* Responsive */

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

    .video-upcoming-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .video-upcoming-card {
        grid-template-columns: 1fr;
        align-content: start;
    }
}

@media (max-width: 640px) {
    .latest-videos {
        margin: 42px 0 56px;
    }

    .latest-videos-inner {
        padding: 18px;
        border-radius: 28px;
    }

    .latest-videos-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    .latest-videos-link {
        width: 100%;
        text-align: center;
    }

    .video-featured-card,
    .video-media {
        border-radius: 24px;
    }

    .video-featured-content {
        padding: 17px;
    }

    .video-upcoming-list {
        grid-template-columns: 1fr;
    }

    .video-upcoming-card {
        grid-template-columns: 42px 1fr;
    }
}

.video-badge {
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.video-badge.hide {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

/* =========================
VIDEO HERO ARTICLE
========================= */

.article-video-hero {
    margin-top: 34px;
    width: 100%;
    max-width: 100%;

    aspect-ratio: 16 / 9;

    border-radius: 28px;
    overflow: hidden;
    background: #000;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.10);
}

.article-video-hero video {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

/* ===============================
   NEWSLETTER SECTION — PREMIUM
================================= */
.newsletter {
    position: relative;
    overflow: visible;

    margin: 60px auto;
    padding: 60px 40px;

    max-width: 1200px;
    border-radius: 20px;

       background:
        radial-gradient(circle at top right,
            rgba(124,58,237,.10),
            transparent 34%
        ),

        radial-gradient(circle at bottom left,
            rgba(56,189,248,.08),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #ffffff,
            #f8fbff
        );

    border: 1px solid rgba(226,232,240,.9);

    box-shadow:
        0 24px 60px rgba(15,23,42,.08),
        inset 0 1px 0 rgba(255,255,255,.85);

    isolation: isolate;
}

/* Glow décoratif */
.newsletter::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;

    background: radial-gradient(circle, rgba(10,102,194,0.15) 0%, transparent 70%);
    z-index: 0;
}

/* Fade bas (effet pro) */
.newsletter::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 120px;

    background: linear-gradient(to top, rgba(242,247,250,1), transparent);
    pointer-events: none;
    z-index: 1;
}

/* ===============================
   GRID
================================= */
.newsletter-inner {
    position: relative;
    z-index: 2;

    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===============================
   CONTENT
================================= */
.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-content h2 {
    font-size: 2rem;
    line-height: 1.25;
    color: #0a66c2;
}

.newsletter-content p {
    font-size: 1.05rem;
    color: #333;
    max-width: 480px;
}

.newsletter-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.3rem;
    vertical-align: middle;
    color: var(--primary);
}

/* ===============================
   FORMULAIRE
================================= */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 18px;
    border-radius: 999px;
    border: 1px solid rgba(10, 102, 194, 0.16);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: #12324a;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 22px rgba(10, 102, 194, 0.06);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: rgba(37, 99, 235, 0.55);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12),
        0 10px 26px rgba(10, 102, 194, 0.10);
}


.newsletter-form button {
    padding: 16px 22px;
    border: none;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    color: #fff;

    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;

    box-shadow:
        0 14px 30px rgba(37,99,235,.24);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        opacity .22s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 20px 38px rgba(37,99,235,.32);

    opacity: .97;
}
.newsletter-form button:active {
    transform: translateY(0);
    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}


/* ===============================
   IMAGE (EFFET BUSTE)
================================= */
.newsletter-image {
    position: absolute;
    bottom: -40px;
    right: -40px;

    width: clamp(420px, 45vw, 700px);

    z-index: 1;
    pointer-events: none;
}

.newsletter-image img {
    width: 100%;
    height: auto;
    object-fit: cover;

    transform: translateY(20px) scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));

    transition: transform 0.4s ease;
}

/* micro animation premium */
.newsletter:hover .newsletter-image img {
    transform: translateY(10px) scale(1.07);
}

/* ===============================
   RESPONSIVE
================================= */

/* TABLETTE */
@media (max-width: 1024px) {

    .newsletter {
        margin: 20px 10px;
        padding: 30px 20px;
        border-radius: 14px;
    }

    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-image {
        position: relative;
        width: 100%;
        right: 0;
        bottom: 0;
        margin-top: 20px;
    }

    .newsletter-image img {
        transform: none;
        filter: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .newsletter {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .newsletter-content h2 {
        font-size: 1.4rem;
    }

    .newsletter-content p {
        font-size: 0.95rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        padding: 14px;
        font-size: 0.95rem;
    }
}
