@import url('theme-vars.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400; 0,500;0,600;0,700;0,800;0,900;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppinsr:ital,wght@0,100; 0,300; 0,500;0,600;0,700;0,800;0,900;1,200; 1,300; 1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ruthie&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'poppins', sans-serif;
}

html{
    font-size: 87.5%;
}

/* Variables : theme-vars.css */

/* -------------------------- animation--------------------------------------------- */
@keyframes slideRight{
    0%{
        transform: translateX(-100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop{
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideLeft{
    0%{
        transform: translateX(100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes zoomIn {
    0%{
        transform: scale(0);
    }
    100%{
        transform: scale(1);
    }
}

@keyframes slide{
    0%{
        transform: translate(100px, 100px);
        opacity: 0;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-up {
    to {
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section{
     padding: 2rem 5rem; 
    background: #fff;
    
} 

@media(max-width: 1000px) {
      section{
     padding: 1rem 3rem; 
    }
}

section h4 {
    color: var(--main-color);
    font-size: 3rem;
    text-transform: uppercase;
    padding-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'poppins', sans-serif;
    letter-spacing: 2px;
}

section h4 i {
    padding-right: 0.5rem;
}

/* Titres section classiques (hors bandeau épreuves) */
section h1:not(.hero-skill-title) {
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
    font-size: 3rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #fff;
    position: relative;
}

section h1:not(.hero-skill-title)::before {
    content: '';
    position: absolute;
    background: #fff;
    border: 4px solid var(--main-color);
    bottom: 0;
    height: 10px;
    width: 100px;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
}

section h1 span {
    color: var(--main-color);
}

/* Nom du sujet / compétence : rouge plateforme */
section.hero-banner h1.hero-skill-title,
.hero-banner h1.hero-skill-title,
h1.hero-skill-title {
    color: #d30d0d !important;
    -webkit-text-fill-color: #d30d0d !important;
    margin-bottom: 0.4rem !important;
    padding-bottom: 0 !important;
    font-size: clamp(1.2rem, 5vw, 1.95rem) !important;
    text-transform: none !important;
    letter-spacing: -0.02em;
    position: relative;
}

section.hero-banner h1.hero-skill-title::before,
.hero-banner h1.hero-skill-title::before,
h1.hero-skill-title::before {
    display: none !important;
    content: none !important;
    border: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Top-header : styles gérés dans header_footer.css (éviter conflits / marges 13rem) */

/* Configuration de la navbar -----------------------------------------------*/
.header {
    padding: 0.5rem 2%;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0 0 5px rgba(190, 190, 190, 0.5);
    z-index: 1000;
}

.header .logo {
    white-space: nowrap;
    font-size: 1rem;
    animation: slideRight .5s linear forwards;
    opacity: 0; 
}

 .logo h1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-weight: 800;
 }

 .logo h1 i{
    color: var(--main-color);
    font-size: 4rem;
}

.header .logo span {
    color: var(--main-color);
    font-weight: 800;
}

nav {
    display: flex;
    align-items: center;
}

nav .navbar .navLinks {
    display: flex;
    gap: 1rem; 
}

nav .navbar .navLinks .active{
    border-bottom: 2px solid var(--main-color);
}

nav .navbar .navLinks li {
    position: relative; 
    font-size: 1.5rem; 
    padding: .5rem; 
    color: var(--text-color);
}

nav .navbar .navLinks li a{
    color: var(--text-color);
    font-family: 'popping', sans-serif;
    font-weight: 600;
    animation: slideTop .1s ease forwards;
    opacity: 0;
    animation-delay: calc(.1s * var(--i) ) ;
}

nav .navbar .navLinks li a:hover{
    color: var(--main-color);
}

nav .navbar .navLinks li:hover .drop-drown {
    display: flex;
}

nav .navbar .navLinks li .drop-drown {
    position: absolute;
    top: 100%; 
    left: 0;
    display: none; 
    flex-direction: column;
    background: #fff;
    box-shadow: 0 0 5px rgba(190, 190, 190, 0.5);
    z-index: 100; 
}

nav .navbar .navLinks li .drop-drown li {
    padding: 0.5rem 1rem; 
    font-size: 1.4rem; 
}

nav .others {
   display: flex;
    align-items: center;
    gap: 2rem;
    animation: slideLeft .5s linear forwards;
    opacity: 0;
}

 nav .others i{
    font-size: 1.9rem;
    color: var(--text-color);
    cursor: pointer;
 }

  nav .others i:hover{
    color: var(--main-color);
  }

 nav .others .login i{
    font-size: 2.5rem;
    background: var(--main-color);
    color: #fff;
    padding: .4em;
    border-radius:50%;
 }

  nav .others .login i:hover{
    background: var(--text-color);
  }

/* Bouton connexion : styles dans header_footer.css + mobile-bottom-nav.css */

/* Pour s'assurer que le bouton reste aligné avec les autres éléments */
nav .others {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Ajustement de l'espacement sur mobile */
@media(max-width: 768px) {
    nav .others {
        gap: 1rem;
    }
}

@media(max-width: 600px) {
    nav .others {
        gap: 0.8rem;
    }
}

    /* Styles pour la page de notifications */
        .notification-page {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1000;
            overflow-y: auto;
        }

        .notification-page.active {
            right: 0;
        }

        .notification-header {
            padding: 15px;
            background: var(--main-color);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .notification-header h2 {
            margin: 0;
            font-size: 1.8rem;
        }

        .notification-content {
            padding: 15px;
        }

        .notification-item {
            padding: 10px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: flex-start;
        }

        .notification-item.unread {
            background-color: #f9f9f9;
        }

        .notification-icon {
            margin-right: 10px;
            font-size: 1.5rem;
            color: var(--main-color);
        }

        .notification-text {
            flex: 1;
        }

        .notification-title {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .notification-time {
            font-size: 0.8rem;
            color: #888;
        }

        .notification-actions {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            border-top: 1px solid #eee;
        }

        .btn {
            padding: 8px 15px;
            background: var(--main-color);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .btn:hover {
            background: #b00b0b;
        }

        .notification-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .notification-overlay.active {
            display: block;
        }

        /* Styles pour la page de profil */
        .profile-page {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1000;
            overflow-y: auto;
        }

        .profile-page.active {
            right: 0;
        }

        .profile-header {
            padding: 15px;
            background: var(--main-color);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .profile-header h2 {
            margin: 0;
            font-size: 1.8rem;
        }

        .profile-content {
            padding: 15px;
        }

        .profile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            display: none;
        }

        .profile-overlay.active {
            display: block;
        }

 
        .profile-container {
            max-width: 100%;
            margin: 0 auto;
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
        }

        .profile-avatar-container {
            background-color: var(--text-color);
            color: #fff;
            padding: 20px;
            text-align: center;
        }

        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 3px solid #fff;
            object-fit: cover;
            margin: 0 auto 15px;
            display: block;
            background-color: #eee;
            font-size: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .edit-avatar {
            position: relative;
            display: inline-block;
        }

        .edit-icon {
            position: absolute;
            bottom: 5px;
            right: 5px;
            background: var(--main-color);
            color: #fff;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #fff;
            cursor: pointer;
        }

        .profile-name {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }

        .profile-email {
            font-size: 0.8rem;
            opacity: 0.9;
        }

        .subscription-section {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }

        .subscription-badge {
            display: inline-block;
            background-color: rgba(211, 13, 13, 0.1);
            color: var(--main-color);
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-bottom: 10px;
        }

        .progress-container {
            margin: 10px 0;
        }

        .progress-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 0.7rem;
        }

        .progress-bar {
            height: 6px;
            background-color: #eee;
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--main-color);
            border-radius: 3px;
        }

        .profile-details {
            padding: 15px;
        }

        .detail-item {
            display: flex;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .detail-label {
            width: 100px;
            font-weight: bold;
            font-size: 0.8rem;
        }

        .detail-value {
            flex: 1;
            font-size: 0.8rem;
        }

        .editable {
            cursor: pointer;
            text-decoration: underline;
            text-decoration-style: dotted;
            text-decoration-color: var(--main-color);
        }

        .profile-actions {
            display: flex;
            justify-content: space-between;
            padding: 15px;
            background-color: #f9f9f9;
        }

        .profile-btn {
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.8rem;
            border: none;
        }

        .btn-primary {
            background-color: var(--main-color);
            color: #fff;
        }

        .btn-outline {
            background-color: transparent;
            border: 1px solid var(--text-color);
            color: var(--text-color);
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1100;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: #fff;
            border-radius: 8px;
            width: 90%;
            max-width: 350px;
            padding: 15px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }

        .modal-title {
            font-size: 1rem;
            font-weight: bold;
            color: var(--text-color);
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            color: var(--text-color);
        }

        .form-group {
            margin-bottom: 10px;
        }

        .form-label {
            display: block;
            margin-bottom: 5px;
            font-size: 0.8rem;
            color: var(--text-color);
        }

        .form-control {
            width: 100%;
            padding: 6px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 0.8rem;
        }

        .modal-footer {
            display: flex;
            justify-content: flex-end;
            margin-top: 15px;
        }

        .modal-footer .profile-btn {
            margin-left: 8px;
        }

        .password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #777;
        }

        .password-input-container {
            position: relative;
        }

        .error-message {
            color: red;
            font-size: 0.8rem;
            margin-top: 5px;
        }

        .success-message {
            color: green;
            font-size: 0.8rem;
            margin-top: 5px;
        }

        @media (max-width: 768px) {

            .notification-page,
            .profile-page {
                width: 100%;
                right: -100%;
            }
        }

#menuBTN {
    font-size: 2rem;
    display: none; 
    cursor: pointer;
}

/* Responsive */
@media(max-width: 991px) {
    nav .navbar .navLinks {
        display: none; 
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 5rem;
        left: 0;
        z-index: 100;
    }
 
    nav .navbar .navLinks.active {
        display: flex; 
    }

    #menuBTN {
        display: block; 
    }
}

/* Ne plus masquer #menuBTN ≤767px : le header garde le hamburger ;
   la barre du bas gère aussi Épreuves / Menu. */


/* ------------------------------------------------------------------------- */


/* ----------------------------------- Début configuration de la page d'accueil ------------------------------ */
.main-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--text-color);
    min-height: auto;
    padding: 5rem 1.25rem 1.25rem;
}

.main-section .main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 2.5rem;
    row-gap: 0;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.main-section .hero-copy {
    flex: 1 1 55%;
    min-width: 0;
    max-width: none;
    width: auto;
    text-align: left;
}

.main-section .main-content h3,
.main-section .hero-copy h3 {
    font-size: clamp(1.15rem, 1.75vw, 1.55rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.28;
    animation: slideRight .5s linear forwards;
    opacity: 0;
    animation-delay: .3s;
    margin-bottom: 0.55rem;
    max-width: 22em;
}

.main-section .main-content h3 span,
.main-section .hero-copy h3 span {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    color: var(--main-color);
    line-height: 1.08;
    display: block;
    margin-top: 0.35rem;
    letter-spacing: 0.02em;
}

.main-section .main-content p,
.main-section .hero-copy p {
    font-size: clamp(0.88rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.92);
    padding: 0.45rem 0;
    animation: slideLeft .5s ease forwards;
    opacity: 0;
    animation-delay: 1s;
    line-height: 1.6;
    max-width: 34em;
}

.info-button {
    position: relative;
    display: inline-block;
    padding: clamp(0.4rem, 0.9vw, 0.5rem) clamp(1.25rem, 2.5vw, 2rem);
    border-radius: 5rem;
    font-size: clamp(0.82rem, 0.95vw, 0.92rem);
    color: #f9f9f9;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .5);
    overflow: hidden;
    margin-top: 1rem;
    animation: fadeIn .5s linear forwards;
    opacity: 0;
    animation-delay: 1.5s;
    text-decoration: none;
    z-index: 1;
}

.info-button span {
    position: absolute;
    top: -100%;
    left: 0;
    background: linear-gradient(#000, var(--main-color), #000, var(--main-color));
    width: 100%;
    height: 300%;
    z-index: -1;
    transition: .2s;
}

.info-button:hover span {
    top: 0;
}

.main-section .image-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 320px;
    line-height: 0;
}

.main-section .image-gallery .canada-image {
    width: min(280px, 26vw);
    max-width: 280px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
    animation: fadeIn .5s linear forwards;
    opacity: 0;
    animation-delay: 2s;
    aspect-ratio: 1;
    object-fit: cover;
}

.main-section .image-gallery .canada-image:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
    transform: scale(1.05);
}

/* Animations */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* -------------------------- Responsive ------------------------------- */

@media(max-width: 1200px) {
    .main-section {
        padding: 5.25rem 1.5rem 2rem;
    }
}

@media(min-width: 768px) and (max-width: 991px) {
    .main-section .main-content {
        gap: 1.75rem;
    }

    .main-section .image-gallery .canada-image {
        width: min(220px, 24vw);
        max-width: 220px;
    }
}

@media(max-width: 767px) {
    .main-section {
        min-height: unset;
        padding: 6.25rem 0.75rem 0.85rem;
    }

    .main-section .main-content {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        row-gap: 0.35rem;
    }

    .main-section .hero-copy {
        justify-self: center;
        text-align: center;
    }

    .main-section .main-content h3,
    .main-section .hero-copy h3 {
        margin-bottom: 0.35rem;
        line-height: 1.12;
    }

    .main-section .main-content h3 span,
    .main-section .hero-copy h3 span {
        margin-top: 0;
        line-height: 1;
    }

    .main-section .main-content p,
    .main-section .hero-copy p {
        padding: 0.2rem 0;
        margin: 0;
    }

    .main-section .hero-copy .info-button,
    .main-section .info-button {
        margin-top: 0.35rem;
        margin-bottom: 0;
    }

    .main-section .image-gallery {
        justify-self: center;
        margin: 0;
        padding: 0;
    }
    
    .main-section .image-gallery .canada-image {
        width: min(240px, 68vw);
        max-width: 100%;
    }
}

@media(max-width: 600px) {
    .main-section .image-gallery .canada-image {
        width: min(220px, 72vw);
    }
}

@media(max-width: 434px) {
    .main-section .image-gallery .canada-image {
        max-width: 200px;
        width: 80%;
    }
    
    .main-section .main-content h3 {
        font-size: clamp(1.2rem, 3vw, 1.55rem);
    }
    
    .main-section .main-content h3 span {
        font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    }
}

@media(max-width: 330px) {
    .main-section .image-gallery .canada-image {
        max-width: 180px;
        width: 85%;
    }
    
    .info-button {
        padding: 0.5rem 2.5rem;
        font-size: 1.4rem;
    }
}
/* debut configuration formation -------------------------------- */

.tcf-container {
    padding: 2.75rem 0;
    background: #fff;
    position: relative;
}

.tcf-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.15rem;
    position: relative;
    z-index: 2;
}

.tcf-main-title {
    text-align: center;
}

/* Carte principale */
.tcf-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tcf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px var(--main-color);
}

/* Image de fond */
.tcf-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.tcf-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.tcf-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--text-color) 0%, rgba(27, 27, 27, 0.7) 100%);
}

.tcf-card:hover .tcf-bg-image img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Contenu */
.tcf-content {
    position: relative;
    z-index: 3;
    padding: 4rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tcf-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tcf-title span {
    color: var(--main-color);
}

.tcf-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Boutons de compétences */
.tcf-skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.tcf-skills-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.tcf-skill-btn {
    flex: 1;
    padding: 1.3rem 1.5rem;
    background: var(--main-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 220px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    opacity: 0;
    animation: tcf-pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.tcf-skill-btn i {
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tcf-skill-btn:hover {
    background: var(--text-color);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tcf-skill-btn:hover i {
    transform: rotate(10deg) scale(1.2);
}

/* Bouton CTA */
.tcf-cta {
    margin-top: 2rem;
}

.tcf-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tcf-cta-btn:hover {
    background: var(--main-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211,13,13,0.3);
}

.tcf-cta-btn i {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tcf-cta-btn:hover i {
    transform: translateX(5px);
}

/* Animation */
@keyframes tcf-pop-in {
    0% { 
        opacity: 0;
        transform: scale(0.8);
    }
    80% {
        transform: scale(1.05);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tcf-content {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .tcf-skills-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tcf-skill-btn {
        width: 100%;
    }
    
    .tcf-main-title {
        font-size: 2.2rem;
    }
    
    .tcf-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .tcf-content {
        padding: 2rem;
    }
    
    .tcf-main-title {
        font-size: 2rem;
    }
    
    .tcf-title {
        font-size: 1.8rem;
    }
    
    .tcf-subtitle {
        font-size: 1rem;
    }
}

/* Section Services : voir Assets/css/services-section.css */

/* debut configuration de la section abonnement ------------------------*/
.subscription-section {
    background: #ffffff;
    padding: 2.25rem 0.85rem 2.5rem;
    color: var(--tcf-text, #141622);
}

.subscription-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.1vw, 0.95rem);
    width: 100%;
    max-width: min(1140px, calc(100vw - 1.5rem));
    margin: 0 auto;
    padding: 0 0.25rem;
    box-sizing: border-box;
}

.pricing-card {
    background: var(--tcf-secondary, #141622);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(20, 22, 34, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(20, 22, 34, 0.12);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(211, 13, 13, 0.2);
}

.card-header {
    padding: 1rem 0.55rem 1.05rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    background: linear-gradient(135deg, var(--tcf-secondary, #141622) 0%, var(--main-color) 100%);
}

.plan-name {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.period-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 0.45rem;
}

.price {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0.35rem 0 0;
}

.currency {
    font-size: 0.92rem;
    vertical-align: super;
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 14px;
}

.wave-shape svg {
    width: 100%;
    height: 100%;
}

.subscription-section .wave-shape svg path {
    fill: var(--tcf-secondary, #141622);
}

.card-content {
    padding: 0.7rem 0.55rem 0.8rem;
    background: var(--tcf-secondary, #141622);
    color: #f1f5f9;
}

.features-list {
    list-style: none;
    margin-bottom: 0.75rem;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.92);
}

.feature-item i {
    color: var(--main-color);
    font-size: 1rem;
}

.subscribe-btn {
    width: 100%;
    padding: 0.58rem 0.4rem;
    border: none;
    border-radius: 999px;
    background: var(--main-color);
    color: white;
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.subscribe-btn:hover {
    background: #ffffff;
    color: var(--tcf-secondary, #141622);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 13, 13, 0.25);
}

.subscribe-btn:disabled,
.subscribe-btn.is-disabled {
    background: #9ca3af !important;
    color: #f8fafc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive — 2 cartes sur une ligne (mobile / tablette) */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: clamp(0.35rem, 1.4vw, 0.65rem);
        padding: 0 clamp(0.25rem, 1vw, 0.5rem);
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
}

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

@media (max-width: 500px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .pricing-grid {
        max-width: 100%;
        padding: 0 0.75rem;
    }

    .pricing-card {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 200px) {
    .subscription-section {
        padding: 2rem 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .plan-name {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .subscribe-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}
/* <!-- employer --------------------------------------------------------------------------------------------------------------------------> */
.team-section {
    padding: 5rem 0;
    background: #fff;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-container h4{
    text-align: center;
}

.team-container h1{
    color: var(--text-color);
    text-align: center;
}

.team-title{
    text-align: center;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Trainer Card */
.trainer-card {
    background: var(--text-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(211, 13, 13, 0.15);
}

.trainer-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.social-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(to top, rgba(211, 13, 13, 0.8), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.trainer-card:hover .social-hover {
    opacity: 1;
    transform: translateY(0);
}

.social-hover a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    color: var(--main-color);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-hover a:hover {
    background: var(--main-dark);
    color: white;
    transform: scale(1.1);
}

.trainer-info {
    padding: 20px;
    text-align: center;
}

.trainer-info h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.trainer-info p {
    color: var(--main-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .trainer-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trainer-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-title::after {
        width: 20px;
        height: 3px;
        bottom: -10px;
    }
}

/* -------------------------TELECHARGEMENT APP- -------------------------------------------------*/

 section h1.motob{
    font-size: 3.8rem;
    margin-bottom: 0;
    /* padding-bottom: 1rem; */
} 

section h1.motob::before{
    border: none;
    background: transparent;
} 

 section h1.motob::after{
    background: transparent;
} 

 .download{
    background: var(--text-color);
    padding-top: 4rem;
    padding-bottom: 4rem;
} 

 .download .app-row{
    background: #f7f2f2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
} 

.download .app-row:hover{
    box-shadow: 0 8px 10px var(--main-color);
    
}

.download .app-row .app-col{
    flex: 1 1 20rem;
} 

.download .app-row .app-col h1{
    color: var(--text-color);
}
 .app-row .app-col p.text{
    font-size: 1.4rem;
    color: var(--text-color);
    padding-bottom: 2rem;
} 

 .app-row .app-col button{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 30px;
} 

.app-row .app-col .button a{
    display: inline-block;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 3rem;
    border-radius: 30px;
} 


.app-row .app-col .button a img{
    width: 40px;
    height: 40px;
    color: #fff; 

}

.app-row .app-col .button a span{
    color: #fff;
    font-size: 1.3rem;
} 


 .app-row .app-col .button a p {
    color: #fff;
    font-size: 1.8rem ;
} 

 .app-row .app-col .button a.google{
    background: var(--main-color);
    color: #fff;
    transition: 0.4s;
} 

 .app-row .app-col .button a.apple{
    background: var(--text-color);
    color: #fff;
    transition: 0.4s;
} 

.app-row .app-col .button a:hover.google{
    background: var(--text-color);
    color: #fff;
}   

.app-row .app-col .button a:hover.apple{
    background: var(--main-color);
    color: #fff;
}   

.app-row .app-col img.down{
    width: 50rem;
    height: 35rem;
    position: absolute;
    top: 2rem;
}
  @media(max-width :1200px){
    .download .app-row{
        flex-direction: column;
    }
    .app-row .app-col img.down{
        height: auto;
        position: inherit;
        margin-top: 2rem;
    }
}  

@media(max-width :768px){
    .app-row .app-col img.down{
        width: 100%;
        height: auto;
    }

    .app-row .app-col .button{
        flex-direction: column;
    }
}


@media(max-width :450px){
    section h1.motob{
        font-size: 2.4rem;
    }
}

/* DEBUT configuration play button --------------------------------*/
.play{
    width: 100%;
    min-height: 70vh;
    background: url(IMAGE/1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.play .play-btn{
    background: var(--main-color);
    color: #fff;
    font-size: 5rem;
    width: 70px;
    height: 70px;
    line-height: 80px;
    position: relative;
    border-radius: 50%;
}

.play .play-btn::before,
.play .play-btn::after{
    content: '';
    position: absolute;
    border: 6px solid rgb(255,255,255, 0.4);
    border-radius: 50%;
    left: -20px;
    bottom: -20px;
    right: -20px;
    top: -20px;
    animation: animate 1.5s linear infinite;
    opacity: 1;
}

@keyframes animate {
   0%{ 
        transform: scale(0.5);
   }   
   50%{
    opacity: 1;
   }
   100%{
    transform: scale(1.5);
   }
}

.play .play-btn::after{
    animation-delay: 0.5s;
}


 /* -------------------------section contact------------------------ */

.contact{
    margin-bottom: 3rem;
    padding-top: 7rem;
    background: #fff;
}

.contact h4{
    text-align: center;
}

.contact form{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form .input-box input{
    width: 49%;
    background: var(--text-color);
    color: #fff;
}

.contact form textarea{
    resize: none;
    background: var(--text-color);
    color: #fff;
}

.contact form .btn{
    margin-top: 2rem;
    cursor: pointer;
    background: var(--main-color);
    padding: 1rem 10%;
    border-radius: 10%;
    color: #fff;
    font-size: 1.5rem;
}

.contact form .btn:hover{
    background: var(--text-color);
}

/* Carte abonnement (accueil connecté) */
.index-subscription-strip {
    background: linear-gradient(135deg, rgba(211, 13, 13, 0.08) 0%, rgba(20, 22, 34, 0.06) 100%);
    border-bottom: 1px solid var(--tcf-border, #e9ecef);
    padding: 1.25rem 1rem;
}

.index-subscription-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.index-subscription-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    background: var(--tcf-white, #fff);
    border-radius: 14px;
    padding: 1.1rem 1.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--tcf-border, #e9ecef);
}

.index-subscription-icon {
    font-size: 2.25rem;
    color: var(--main-color, #d30d0d);
}

.index-subscription-text {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.index-subscription-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tcf-text-muted, #6c757d);
    font-weight: 600;
}

.index-subscription-plan {
    font-size: 1.35rem;
    color: var(--text-color, #141622);
}

.index-subscription-hint {
    font-size: 0.85rem;
    color: var(--tcf-text-muted, #6c757d);
    line-height: 1.4;
}

.index-subscription-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    background: var(--main-color, #d30d0d);
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.index-subscription-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.index-subscription-card--staff {
    border-color: #86efac;
    background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}

.index-subscription-card--staff .index-subscription-icon {
    color: #166534;
}

/* Sections pleine largeur (alternance fonds : témoignages clair, contact foncé) */
.tcf-section-block {
    width: 100%;
    padding: 4rem 0;
    box-sizing: border-box;
}

.tcf-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.tcf-section-lead {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #64748b;
}

.tcf-section-lead--on-dark {
    color: rgba(248, 250, 252, 0.88);
}

/* Témoignages — fond section blanc ; zone carrousel = même fond que le footer (--tcf-footer-bg) */
.tcf-section-testimonials {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 4.25rem 0 4.5rem;
}

/* En-tête témoignages : mêmes classes que la section Abonnement (subscription_section.css) */
.tcf-section-testimonials .tfc-sub-main-title {
    color: var(--text-color);
}

.tcf-tc-carousel-wrap {
    position: relative;
    margin-bottom: 2rem;
}

.tcf-tc-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 14px;
    background: var(--tcf-footer-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Hauteur adaptée au contenu : juste un léger espace autour des cartes */
    min-height: 0;
}

.tcf-tc-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    width: 100%;
    will-change: transform;
    align-items: stretch;
}

/* Page carrousel : toujours une rangée horizontale (jamais empilée) */
.tcf-tc-page {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    padding: 0.85rem 0.9rem;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .tcf-tc-page {
        gap: 1.15rem;
        padding: 1rem 1.15rem;
    }

    .tcf-tc-slide {
        flex: 1 1 calc(50% - 0.575rem);
        max-width: calc(50% - 0.575rem);
        min-width: 0;
    }
}

.tcf-tc-page--single {
    justify-content: center;
}

.tcf-tc-page--single .tcf-tc-slide {
    flex: 0 1 520px;
    max-width: min(520px, 100%);
    width: 100%;
}

/* Une seule carte (écrans < 900px) — format carte de visite centré */
.tcf-tc-page--one {
    justify-content: center;
    align-items: stretch;
    padding: 0.75rem 0.7rem;
}

.tcf-tc-page--one .tcf-tc-slide {
    flex: 0 1 540px;
    max-width: min(540px, 100%);
    width: 100%;
    margin: 0 auto;
}

.tcf-tc-slide {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    display: flex;
}

/* Carte témoignage — toujours paysage (carte de visite), accent = --main-color */
.tcf-tc-wave-card {
    --tc-accent: var(--main-color);
    --tc-accent-dark: var(--secondary-color, var(--tcf-primary-dark, #a50a0a));
    width: 100%;
    min-height: 0;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.14),
        0 1px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.tcf-tc-wave-card__white {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
    padding: 0.85rem 1rem 0.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Grille horizontale permanente — profil | texte (jamais une seule colonne) */
.tcf-tc-wave-card__grid {
    display: grid;
    grid-template-columns: minmax(88px, 132px) minmax(0, 1fr);
    gap: 0.65rem 1rem;
    align-items: start;
}

.tcf-tc-wave-card__profile {
    text-align: center;
}

.tcf-tc-wave-card__photo-ring {
    display: inline-flex;
    padding: 0;
    border-radius: 50%;
    border: 3px solid var(--tc-accent);
    box-shadow: 0 6px 20px rgba(211, 13, 13, 0.22);
}

.tcf-tc-wave-card__photo {
    display: block;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    background: #0a0a0a;
}

.tcf-tc-wave-card__photo--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #000;
    color: var(--tc-accent);
    font-size: 2.6rem;
}

.tcf-tc-wave-card__stars-bar {
    margin: 0.5rem auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    padding: 0.3rem 0.7rem;
    background: linear-gradient(180deg, var(--tc-accent) 0%, var(--tc-accent-dark) 100%);
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(211, 13, 13, 0.3);
}

.tcf-tc-wave-card__stars-bar .bxs-star {
    color: #fff;
    font-size: 0.92rem;
}

.tcf-tc-wave-card__stars-bar .bx-star {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.92rem;
}

.tcf-tc-wave-card__name {
    margin: 0.5rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--tc-accent);
    line-height: 1.2;
}

.tcf-tc-wave-card__job {
    margin: 0.25rem 0 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #111827;
    letter-spacing: 0.01em;
}

.tcf-tc-wave-card__copy {
    min-width: 0;
    padding-top: 0.15rem;
}

.tcf-tc-wave-card__script {
    margin: 0;
    font-family: "Great Vibes", cursive;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 0.95;
    color: var(--tc-accent);
}

.tcf-tc-wave-card__headline {
    margin: 0.1rem 0 0.4rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(0.92rem, 1.6vw, 1.15rem);
    font-weight: 800;
    font-style: italic;
    color: #000;
    letter-spacing: 0.03em;
}

.tcf-tc-wave-card__quote-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
}

.tcf-tc-wave-card__qm {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 0.75;
    color: var(--tc-accent);
    flex-shrink: 0;
    opacity: 0.95;
}

.tcf-tc-wave-card__qm--open {
    margin-top: 0;
    align-self: flex-start;
}

.tcf-tc-wave-card__qm--close {
    align-self: flex-end;
    margin-bottom: 0.1rem;
}

.tcf-tc-wave-card__quote-body {
    flex: 1;
    min-width: 0;
    padding: 0.25rem 0 0;
}

.tcf-tc-wave-card__quote {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.55;
    color: #1f2937;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.tcf-tc-wave-card__attrib {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding-right: 0.1rem;
}

.tcf-tc-wave-card__attrib-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.tcf-tc-wave-card__attrib-lines i {
    display: block;
    width: 1.35rem;
    height: 1px;
    background: var(--tc-accent);
    border-radius: 1px;
}

.tcf-tc-wave-card__attrib-text {
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--tc-accent);
    letter-spacing: 0.02em;
}

.tcf-tc-wave-card__wave {
    display: block;
    width: 100%;
    height: 24px;
    margin: 0;
    flex-shrink: 0;
    vertical-align: bottom;
    color: var(--main-color);
}

.tcf-tc-nav {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.tcf-tc-nav button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #f1f5f9;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.tcf-section-testimonials .tcf-tc-nav button {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: var(--text-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.tcf-section-testimonials .tcf-tc-nav button:hover {
    transform: translateY(-1px);
    background: rgba(211, 13, 13, 0.1);
    border-color: var(--main-color);
    color: var(--main-color);
}

.tcf-tc-nav button:hover {
    transform: translateY(-1px);
    background: rgba(211, 13, 13, 0.35);
    border-color: rgba(248, 113, 113, 0.5);
    color: #fff;
}

.tcf-tc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

.tcf-tc-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s, background 0.2s;
}

.tcf-tc-dots button.is-active {
    background: var(--main-color);
    transform: scale(1.25);
}

.tcf-section-testimonials .tcf-tc-dots button {
    background: #cbd5e1;
}

.tcf-section-testimonials .tcf-tc-dots button.is-active {
    background: var(--main-color);
}

.tcf-tc-page--empty {
    padding: 1.5rem 1.25rem;
}

.tcf-tc-page--empty .tcf-tc-empty {
    flex: 1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: rgba(203, 213, 225, 0.9);
    font-size: 1.05rem;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.12);
}

.tcf-tc-form {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.7rem 1.7rem 1.5rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.tcf-tc-form h3 {
    margin: 0 0 1.1rem;
    font-size: 1.28rem;
    color: #0f172a;
    text-align: center;
}

.tcf-tc-field {
    margin-bottom: 1rem;
}

.tcf-tc-field label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.4rem;
}

.tcf-tc-field input,
.tcf-tc-field textarea,
.tcf-tc-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d6deea;
    border-radius: 10px;
    font: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tcf-tc-field input:focus,
.tcf-tc-field textarea:focus,
.tcf-tc-field select:focus {
    outline: none;
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16);
}

.tcf-tc-field textarea {
    min-height: 110px;
    max-height: 220px;
    resize: vertical;
}

.tcf-tc-submit {
    width: 100%;
    padding: 0.78rem;
    background: var(--main-color);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.tcf-tc-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(211, 13, 13, 0.22);
}

.tcf-tc-form-msg {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    text-align: center;
}

.tcf-tc-form-msg.ok {
    color: #047857;
}

.tcf-tc-form-msg.err {
    color: #b91c1c;
}

/* Témoignages — petit écran : on réduit l’échelle, on garde le format carte de visite */
@media (max-width: 899px) {
    .tcf-section-testimonials .tcf-section-inner {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .tcf-tc-carousel-wrap {
        margin-bottom: 1.5rem;
    }

    .tcf-tc-viewport {
        border-radius: 12px;
    }

    .tcf-tc-page,
    .tcf-tc-page--one {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding: 0.65rem 0.55rem;
    }

    .tcf-tc-wave-card {
        border-radius: 12px;
    }

    .tcf-tc-wave-card__white {
        padding: 0.7rem 0.75rem 0.25rem;
    }

    .tcf-tc-wave-card__grid {
        grid-template-columns: minmax(78px, 110px) minmax(0, 1fr) !important;
        gap: 0.5rem 0.7rem;
    }

    .tcf-tc-wave-card__profile {
        text-align: center;
        display: block;
        width: auto;
    }

    .tcf-tc-wave-card__photo-ring {
        border-width: 2px;
        box-shadow: 0 4px 12px rgba(211, 13, 13, 0.2);
    }

    .tcf-tc-wave-card__photo {
        width: 72px;
        height: 72px;
    }

    .tcf-tc-wave-card__photo--fallback {
        width: 72px;
        height: 72px;
        font-size: 2.2rem;
    }

    .tcf-tc-wave-card__stars-bar {
        margin: 0.4rem auto 0;
        padding: 0.22rem 0.5rem;
    }

    .tcf-tc-wave-card__stars-bar .bxs-star,
    .tcf-tc-wave-card__stars-bar .bx-star {
        font-size: 0.72rem;
    }

    .tcf-tc-wave-card__name {
        margin: 0.4rem 0 0;
        font-size: 0.78rem;
    }

    .tcf-tc-wave-card__job {
        font-size: 0.62rem;
        margin-top: 0.15rem;
    }

    .tcf-tc-wave-card__copy {
        text-align: left;
        padding-top: 0;
    }

    .tcf-tc-wave-card__script {
        font-size: 1.45rem;
        text-align: left;
    }

    .tcf-tc-wave-card__headline {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
        text-align: left;
    }

    .tcf-tc-wave-card__quote-inner {
        justify-content: flex-start;
    }

    .tcf-tc-wave-card__qm {
        font-size: 1.85rem;
    }

    .tcf-tc-wave-card__quote {
        font-size: 0.76rem;
        line-height: 1.5;
        text-align: left;
    }

    .tcf-tc-wave-card__attrib {
        margin-top: 0.55rem;
    }

    .tcf-tc-wave-card__wave {
        height: 22px;
    }

    .tcf-tc-nav {
        margin-top: 0.85rem;
    }

    .tcf-tc-nav button {
        width: 40px;
        height: 40px;
    }

    .tcf-tc-form {
        padding: 1.25rem 1rem 1.1rem;
    }
}

@media (max-width: 420px) {
    .tcf-tc-wave-card__grid {
        grid-template-columns: minmax(70px, 96px) minmax(0, 1fr) !important;
        gap: 0.4rem 0.55rem;
    }

    .tcf-tc-wave-card__photo,
    .tcf-tc-wave-card__photo--fallback {
        width: 64px;
        height: 64px;
    }

    .tcf-tc-wave-card__photo--fallback {
        font-size: 1.9rem;
    }

    .tcf-tc-wave-card__script {
        font-size: 1.25rem;
    }

    .tcf-tc-wave-card__headline {
        font-size: 0.88rem;
    }

    .tcf-tc-wave-card__quote {
        font-size: 0.72rem;
    }
}

/* Contact — fond sombre (comme services / abonnement) + grille 2 colonnes */
.tcf-section-contact {
    background: var(--text-color);
    padding: 4rem 0 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tcf-section-contact__title {
    color: #fff;
    font-size: clamp(1.65rem, 3.5vw, 2.1rem);
    text-align: left;
    margin-bottom: 0.5rem;
}

.tcf-section-contact__title i {
    color: var(--main-color);
    vertical-align: middle;
    margin-right: 0.35rem;
}

.tcf-contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.tcf-contact-col--info .tcf-section-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.tcf-contact-flash {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.tcf-contact-flash--ok {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.tcf-contact-flash--err {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.tcf-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tcf-contact-info-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.tcf-contact-info-card h5 {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tcf-contact-info-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(248, 250, 252, 0.9);
}

.tcf-contact-info-card a {
    color: inherit;
    text-decoration: none;
}

.tcf-contact-info-card a:hover,
.tcf-contact-info-card a:focus-visible {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(211, 13, 13, 0.55);
}

.tcf-contact-support-note {
    margin: 1.35rem 0 0;
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.65);
}

.tcf-contact-support-note a {
    color: #fff;
    font-weight: 600;
}

.tcf-contact-form {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tcf-contact-form__title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    color: #0f172a;
}

.tcf-contact-form__hint {
    margin: 0 0 1.1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.tcf-contact-field {
    margin-bottom: 0.9rem;
}

.tcf-contact-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
}

.tcf-contact-field input,
.tcf-contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.95rem;
}

.tcf-contact-field input:focus,
.tcf-contact-field textarea:focus {
    outline: 2px solid var(--main-color);
    outline-offset: 1px;
    border-color: transparent;
}

.tcf-contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.tcf-contact-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tcf-contact-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.75rem 1rem;
    background: var(--main-color);
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.tcf-contact-submit:hover {
    filter: brightness(1.06);
}

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

    .tcf-contact-cards {
        grid-template-columns: 1fr;
    }

    .tcf-section-contact__title {
        text-align: center;
    }

    .tcf-contact-col--info .tcf-section-lead {
        text-align: center;
    }

    .tcf-contact-flash {
        text-align: center;
    }
}


