:root {
    --primary: #0080ff;
    --secondary: #0b05a4;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --accent: #1ABC9C;
    --text: #333333;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */

}



/* Header */
header {
    background-color: rgb(0, 0, 0);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
    width: auto;
    max-width: 180px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links.mobile-active {
    display: block;
    /* Affiche le menu sur mobile */
}

.mobile-menu-btn {
    display: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none !important;
    color: var(--light);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--light);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}




.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none !important;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section - Modifié */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    margin-top: -40px;
    color: white;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: fill !important;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 20%;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Features Section */

.container-1 {
    width: 100%;
}

.features {
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

.features-grid {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
}

.feature-card {
    display: flex;
    width: 100%;
    min-height: 200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card.reverse {
    flex-direction: row-reverse;
}



.feature-content {
    flex: 0 0 50%;
    padding: 0 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-image {
    flex: 0 0 50%;
}

.feature-image img {
    width: 100%;
    height: 100%;
    /* height: 400px !important; */
    object-fit: cover;
}

.feature-icon {
    font-size: 2rem;
    color: #3a86ff;
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
    padding: 10px;
}

.feature-content ul {
    list-style-type: none;
    /* Supprime les puces par défaut */
    padding-left: 0;
    /* Supprime le retrait */
    margin-top: 5px;
}

.feature-content ul li {
    position: relative;
    padding-left: 1.5em;
    /* Espace pour l'icône personnalisée */
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.feature-content ul li::before {
    content: "•";
    /* Symbole de puce personnalisé */
    position: absolute;
    left: 0;
    color: var(--secondary);
    /* Couleur orange (ou autre selon ta charte) */
    font-weight: bold;
}


/* power */

.power {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130vh;
    padding: 2rem;
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.power::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/fitvision-timers.png') top/cover;
    opacity: 0.5;
    z-index: 0;
}

.power-content {
    /* max-width: 900px; */
    position: relative;
    z-index: 1;
    padding: 2rem;
    backdrop-filter: blur(2px);
}

/* Typographie */
.power-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-name {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    margin-top: 2rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}


.power-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

/* Animation subtile */
.power-content>* {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.power-title {
    animation-delay: 0.2s;
}

.power-subtitle {
    animation-delay: 0.4s;
}

.brand-name {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* demo bloc  */
.results-block {
    background: url('/assets/background.jpg') center/cover;
    padding: 2rem;
    width: 100%;
    box-shadow: none !important;
    font-family: 'Segoe UI', sans-serif;
}

.results-block h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary);
    text-transform: uppercase;
}

.result-item {
    background: var(--light);
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary);
    text-align: center;
}


/* videos Section */
.video-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.video-section {
    background-color: #efe2ff;
    text-align: center;
    padding: 40px 20px;
}

.video-thumbnail {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 0px 15px rgb(0, 26, 197),
        0px 0px 15px rgb(0, 26, 197) inset;
}


.watch-button {
    padding: 14px 32px;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.watch-button:hover {
    background-color: #5a2bd8;
    transform: scale(1.1);
}

.video-text {
    margin-top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #0c2794;
    letter-spacing: 1px;
}

.video-gallery {
    padding: 40px 20px;
    background: #f5f5ff;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.video-gallery-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 10px;
}

.video-gallery-subtitle {
    font-size: 30px;
    color: #0d0532;
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(400px, 1fr)); /* 2 colonnes min 400px */
  gap: 40px;
  justify-content: center;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr; /* 1 vidéo sur mobile */
  }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(21, 2, 59, 0.2);
    padding: 20px;
    transition: transform 0.3s ease;
    border: #0b05a4 1px solid;

}

.video-item:hover {
    transform: scale(1.03);
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

.video-item h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}


/* temoignage */

.testimonials-section {
    padding: 60px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.testimonials-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}



.pin-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 20px;
    color: var(--primary) !important;
    rotate: 45deg;
}


.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

.testimonial-content {
    text-align: center;
}

.testimonial-text {

    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

/* CTA Section */
.cta-section {
    background: var(--light);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.tip {
    margin-top: 1rem;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin-top: 2rem !important;
    max-width: 500px;
    margin: 0 auto;

}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.arrow-icon {
    opacity: 0;
    margin-left: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
    display: inline-block;
}

.cta-button:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.cta-button:hover {
    background-color: var(--secondary);
    color: var(--light);
}


/* Footer */
.footer {
  background-color: #2C3E50;
  color: white;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .footer-logo {
  width: 150px;
}

.social-icons a {
  color: white;
  margin-right: 10px;
  font-size: 20px;
}

.quote-button {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 50px;
}

.quote-button:hover {
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
}

.footer-content-right {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  /* flex-wrap: wrap;
  gap: 20px; */
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 30%;
}

.link-group a {
  color: var(--light);
  text-decoration: none;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-mission {
  margin-top: 20px;
  font-size: 14px;
  color: var(--light);
  text-align: justify;
}

.footer-mission h4 {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: var(--light);
  font-size: 13px;
}

/* Responsive Design */

/* Responsive - Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    nav {
        flex-direction: row !important;
        /* height: auto; */
        padding: 10px 0;
    }

    .logo img {
        height: 60px;
        width: auto;
        max-width: 180px;
        left: 20px !important;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 75px;
        /* juste en dessous header */
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-sm);
        z-index: 9999;
    }

    .nav-links.mobile-active {
        display: block;
        height: 100%;
        background: black;
        opacity: 0.8;
    }

    .nav-links li {
        margin: 55px 0;
        text-align: center;
    }

    .nav-links a {

        font-size: 22px;
        color: #fff;
        font-weight: 600;
    }


    .hover:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        color: var(--light);
    }


    .hero {
        height: auto;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 24px;
        text-align: center;
        padding: 5px;
        margin: 0 auto;
    }

    /* .hero-background {

    } */

    .hero-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    }

    .hero-content {
        position: relative;
        z-index: 3;
        width: 100%;
        padding-bottom: 0 !important;
    }

    .hero p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        flex-direction: column;
    }

    .feature-card.reverse {
        flex-direction: column;
    }

    .feature-content {
        flex: 1 1 100%;
        padding: 1rem;
    }

    .feature-image {
        flex: 1 1 100%;
        padding: 0;
    }

    .feature-content h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        text-align: center;
    }

    /* video section  */
    .video-grid {
        grid-template-columns: 1fr;
        /* 1 vidéo par ligne sur mobile */
    }

    .video-thumbnail {
        width: 100%;
        max-width: 500px;
        border-radius: 20px;
        box-shadow: 0 0px 8px rgb(0, 26, 197),
            0px 0px 15px rgb(0, 26, 197) inset;
    }

    .watch-button {
        padding: 10px 25px;
        background-color: var(--secondary);
        color: #fff;
        border: none;
        font-size: 20px;
        font-weight: bold;
        border-radius: 12px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .watch-button:hover {
        background-color: #5a2bd8;
        transform: scale(1.1);
    }

    .video-text {
        font-size: 24px;
        font-weight: bold;
        color: #0c2794;
    }

    /* section  */
    .power-title {
        font-size: clamp(1rem, 6vw, 3rem);
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        margin-top: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;

    }

    .cta-section {
        background: var(--light);
        color: white;
        padding: 0;
        text-align: center;
    }




    .tip {
        margin-top: 1rem;
        color: var(--secondary);
        font-size: 15px;
        font-weight: 500;
        text-align: center;
        margin-top: 2rem !important;
        padding: 0 10px 10px;
    }

    .power {
        padding: 2rem 1rem;
    }

    .power-buttons {
        flex-direction: column;
    }

    .results-block h2 {
        font-size: 2rem;
    }

    .testimonials-section {
        padding: 40px 20px;
    }

    .testimonials-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 100%;
        max-width: 90%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 !important;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-brand {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-content-right {
        width: 100%;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .link-group {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-mission {
        padding: 0 10px;
        text-align: justify;
    }

    .footer-brand .footer-logo {
        width: 150px;
        margin-bottom: 0;
    }
}