/* ==========================================================================
1. POLICES & CONFIGURATION DE BASE
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

:root {
--tara-orange: #FF4500;
--tara-green: #008069;
--tara-blue: #229ED9;
 --tara-dark: #111827;
}

body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; }

/* ==========================================================================
2. SECTION HERO
========================================================================== */
.hero-tara {
 min-height: 75vh;
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: center;
position: relative;
 background-image: url('/static/accueil.jpg');
margin-bottom: 0 !important;
}

.hero-overlay {
 position: absolute; inset: 0;
 background: rgba(0, 0, 0, 0.45);
}

.tara-title {
 line-height: 1.1 !important;
letter-spacing: -0.02em;
color: #ffffff;
}

.text-huge { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
.text-large { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }

.tara-underline {
font-style: italic;
display: inline-block;
position: relative;
z-index: 1;
}

.tara-underline::after {
 content: "";
position: absolute;
left: 0;
bottom: 4px;
width: 100%;
 height: 6px;
background: linear-gradient(90deg, var(--tara-orange) 70%, transparent 70%);
background-size: 20px 100%;
 z-index: -1;
}


/* --- SECTION 2 : Ajustement de l'image --- */
.about-image-container {
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- SECTION 3 : Style "Tara Money" (Contours minces) --- */
.barre-abonnement {
    background-color: transparent;
    border: none; 
    border-radius: 50px;
    padding: 1.5rem 2.5rem !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Suppression de l'effet de décalage brutal pour rester sur le style Tara */
.barre-abonnement:hover {
    box-shadow: none;
    transform: none;
}

/* --- Bouton S'abonner style Tara (plus fin) --- */
.btn-abonnement-orange {
    background-color: var(--tara-orange);
    color: #ffffff;
    padding: 12px 24px;
    font-size: 0.85rem;
    border-radius: 9999px; /* Bouton totalement rond */
    font-weight: 700;
    text-transform: none; /* Moins agressif que l'uppercase */
    border: none; /* Pas de bordure noire sur le bouton pour ce style */
    transition: all 0.3s ease;
}





/* ==========================================================================
3. SECTION PRÉSENTATION
========================================================================== */

.about-badge-pill {
display: inline-flex;
 align-items: center;
background-color: #ffffff;
border: 1px solid #f3f4f6;
padding: 4px 16px 4px 4px;
 border-radius: 9999px;
 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
 margin-bottom: 1.5rem;
}
#multi-channel-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Transition fluide pour l'image de fond */
    transition: background-image 0.8s ease-in-out; 
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    max-width: 98%;
    margin: 2rem auto;
}

/* On s'assure que le contenu survole bien l'image */
#multi-channel-section > div {
    position: relative;
    z-index: 2;
}

.about-badge-tag {
 background-color: var(--tara-orange);
color: #ffffff;
padding: 4px 12px;
 border-radius: 9999px;
 font-size: 10px;
 font-weight: 700;
 text-transform: uppercase;
}

.about-image-container {
 position: relative;
 z-index: 1;
}

/* ==========================================================================
4. SECTION MULTI-CANAL (CORRIGÉE)
========================================================================== */

#multi-channel-section { transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-selector-wrapper {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.2);
 padding: 5px;
 border-radius: 9999px;
display: inline-flex;
}

.channel-btn {
padding: 10px 24px;
border-radius: 9999px;
color: #ffffff;
font-weight: 700;
font-size: 0.9rem;
transition: all 0.3s ease;
border: none;
background: transparent;
cursor: pointer;
 opacity: 0.7;
}

.channel-btn.active {
background-color: #ffffff !important;
color: #000000 !important;
opacity: 1;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.illustration-box {
width: 280px;
height: 280px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
 border-radius: 40px;
backdrop-filter: blur(15px);
display: flex;
align-items: center;
 justify-content: center;
}

/* ==========================================================================
5. ANIMATIONS
========================================================================== */
.reveal, .reveal-left, .reveal-right {
 opacity: 0;
 transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.active { opacity: 1 !important; transform: translate(0) !important; }

@keyframes floatY {
 0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.floating-image-y { animation: floatY 5s ease-in-out infinite; }

.fade-out { opacity: 0; transform: translateY(10px); }

@keyframes kf-fade-in-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.anim-fade-in { animation: kf-fade-in-up .6s ease both; }

@keyframes kf-slide-in-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.anim-slide-in { animation: kf-slide-in-right .6s cubic-bezier(.2,.6,.2,1) both; }

@keyframes kf-zoom-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.anim-zoom-in { animation: kf-zoom-in .6s cubic-bezier(.2,.6,.2,1) both; }

@keyframes kf-rotate-in { from { opacity: 0; transform: rotate(-3deg) scale(.98); } to { opacity: 1; transform: rotate(0) scale(1); } }
.anim-rotate-in { animation: kf-rotate-in .6s ease-out both; }

/* Animation de fondu pour le texte en boucle */
.fade-text {
    opacity: 0;
    transform: translateY(5px);
}

#loop-text {
    display: inline-block;
    min-width: 150px; /* Évite que la barre ne saute lors du changement de mot */
    transition: all 0.4s ease-in-out;
}
@keyframes channelColorCycle {
    0%   { color: var(--tara-green); }
    25%  { color: #ffffff; }
    50%  { color: #ff0000; }
    75%  { color: var(--tara-blue); }
    100% { color: var(--tara-green); }
}
.channel-color-cycle {
    animation: channelColorCycle 6s linear infinite;
}
/* Style de la barre transparente avec contours noirs */
.barre-abonnement {
    background-color: transparent;
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Effet au survol de la barre (optionnel) */
.barre-abonnement:hover {
    box-shadow: none;
    transform: none;
}


/* ... (Cherchez la classe .btn-abonnement-orange et remplacez par ceci) ... */

/* Style du bouton orange d'abonnement réduit */
.btn-abonnement-orange {
    background-color: #FF4500;
    color: #ffffff;
    /* Tailles réduites ici */
    padding: 10px 20px; 
    font-size: 0.9rem;   
    border-radius: 10px;
    
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    white-space: nowrap;
}

/* Optionnel : Ajuster aussi les boutons globaux si besoin */
.btn-tara-orange {
    background-color: var(--tara-orange);
    border-radius: 9999px;
    padding: 10px 22px; /* Réduit de 12px 28px */
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}









.btn-abonnement-orange:hover {
    background-color: #000000; /* Devient noir au survol */
    color: #FF4500;            /* Texte orange au survol */
    transform: scale(1.05);
}

/* Animation du texte */
#loop-text { display: inline-block; }

@media (max-width: 640px) {
  a.btn-tara-orange { padding: 6px 12px !important; font-size: 0.8rem !important; gap: 4px; }
  .btn-abonnement-orange { padding: 8px 14px; font-size: 0.75rem; }
  .channel-btn { padding: 6px 10px !important; font-size: 0.75rem !important; }
  #channel-cta { padding: 6px 10px !important; font-size: 0.8rem !important; gap: 4px; }
  .btn-icon-circle { width: 1rem; height: 1rem; }
  .about-image-container { max-width: 320px !important; }
  #multi-channel-section { min-height: 480px; padding-top: 2rem !important; padding-bottom: 2rem !important; border-radius: 20px; }
  .py-16 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .py-20 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .gap-12 { gap: 1rem !important; }
  .hero-tara { min-height: 60vh; }
  .about-image-container img { max-height: 280px; object-fit: cover; border-radius: 16px; }
  .text-huge { font-size: 2rem; }
  .text-large { font-size: 1.6rem; }
  #channel-title { font-size: 1.4rem; }
  #channel-description { font-size: 0.95rem; }
  .floating-image-y { animation: none; }
  .channel-color-cycle { animation: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
  .anim-fade-in, .anim-slide-in, .anim-zoom-in, .anim-rotate-in { animation: none !important; }
}

/* Boutons Tara */
.btn-tara-orange { background-color: var(--tara-orange); border-radius: 9999px; padding: 12px 28px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.btn-icon-circle { width: 28px; height: 28px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
/* Liste des avantages - style coloré par item */
.features-list { list-style: none; padding: 0; margin: 0; }
.features-list .feature-item + .feature-item { margin-top: 12px; }
.feature-item { --feat-color: var(--tara-orange); background: #ffffff; border-left: 6px solid var(--feat-color); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); }
.icon-pill { width: 32px; height: 32px; border-radius: 9999px; border: 2px solid var(--feat-color); color: var(--feat-color); display: flex; align-items: center; justify-content: center; background: #ffffff; }
.feature-text { color: var(--feat-color); font-weight: 400; font-size: 0.95rem; }
.feat-1 { --feat-color: var(--tara-orange); }
.feat-2 { --feat-color: var(--tara-blue); }
.feat-3 { --feat-color: var(--tara-green); }
.feat-4 { --feat-color: #111827; }
/* Carte du texte au-dessus des images */
.channel-title-pro { position: relative; display: inline-block; color: var(--title-color, #ffffff); text-shadow: 0 1px 2px rgba(0,0,0,0.45); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; margin: 0 0 8px; animation: proFadeUp .6s ease both; }
.channel-title-pro::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 4px; width: 0%; background: linear-gradient(90deg, var(--grad-start, var(--tara-orange)), var(--grad-end, var(--tara-blue))); border-radius: 2px; animation: proUnderline .8s .2s ease forwards; }
.channel-desc-pro { color: var(--title-color, #ffffff); text-shadow: 0 1px 2px rgba(0,0,0,0.45); font-weight: 500; font-size: clamp(0.95rem, 2.5vw, 1.1rem); opacity: .95; margin: 0; animation: proFadeUp .8s .15s ease both; }
@keyframes proFadeUp { from { opacity: 0; transform: translateY(12px); filter: blur(2px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes proUnderline { from { width: 0%; } to { width: 100%; } }
/* Section abonnement embellie */
.subscribe-card { background: linear-gradient(90deg, rgba(255,69,0,0.15), rgba(34,158,217,0.15)); border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.subscribe-text { text-align: left; }
.subscribe-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: 8px; }
.subscribe-highlight { position: relative; display: inline-block; font-weight: 900; }
.subscribe-highlight::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--tara-orange), var(--tara-blue)); border-radius: 2px; }
.subscribe-subtitle { font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .9; }
.subscribe-cta { padding: 14px 22px; font-size: 0.95rem; border-radius: 9999px; box-shadow: 0 8px 20px rgba(255,69,0,0.35); transition: transform .2s ease, box-shadow .2s ease; }
.subscribe-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,69,0,0.45); }

@media (max-width: 640px) {
  .subscribe-card { padding: 16px; border-radius: 16px; }
  .subscribe-title { font-size: 1.4rem; }
  .subscribe-subtitle { font-size: .8rem; }
  .subscribe-cta { padding: 10px 16px; font-size: .85rem; }
}
