/* Footer Container */
.site-footer {
    background-color: #121212;
    padding: 3rem 0;
    border-top: 1px solid #2d2d2d;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

/* Réseaux Sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icon-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon-link:hover {
    transform: scale(1.15);
}

.feather-icon {
    color: #666666;
    transition: color 0.3s ease;
}

.social-icon-link:hover .feather-icon {
    color: #ffd700; /* Ton jaune doré */
}

/* Navigation Footer */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffd700;
}

.separator {
    color: #2d2d2d;
    user-select: none;
}

/* Copyright */
.footer-copyright {
    color: #444444;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    margin: 0;
}

:root {
  --primary: #FFD700; /* Votre jaune */
  --bg-dark: #1A1A1A;
  --card-bg: #262626;
  --text-light: #FFFFFF;
  --text-gray: #A0A0A0;
}

/* Style global de la page */
body {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(26, 26, 26, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.5rem;
    font-weight: 900;
}
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
    text-decoration: none;
    color: var(--text-light);
}
.logo span { color: var(--primary); }

.btn-login {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-login:hover { background: var(--primary); color: #000; }

/* Hero Section */
.hero {
  padding: 100px 5%;
  text-align: center;
  background: linear-gradient(rgba(26,26,26,0.8), rgba(26,26,26,0.8)), url('/path-to-your-bg.jpg');
  background-size: cover;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.highlight { color: var(--primary); }

.btn-primary {
  background: var(--primary);
  color: #000;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin: 10px;
}

/* Features */
.features { padding: 80px 5%; text-align: center; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-10px); }
.feature-card h3 { color: var(--primary); margin-top: 15px; }

/* Pricing Section */
.pricing {
    padding: 100px 5%;
    background-color: #121212;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pricing-popular-button {
    color: var(--card-bg) !important;
}

.pricing-popular-button:hover {
    background-color: var(--card-bg) !important;
    color: white !important;
    border: 1px var(--primary) solid !important;
}

/* Billing Toggle */
.billing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.toggle-label.active { color: white; }

.discount-badge {
    background: rgba(255, 215, 0, 0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Switch Slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border: 1px solid var(--border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 4px; bottom: 3px;
    background-color: var(--primary);
    transition: .4s;
}

input:checked + .slider { background-color: var(--bg-darker); }
input:checked + .slider:before { transform: translateX(22px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.price-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
    position: relative;

    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.price-card.highlight-border {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 20px 0;
    color: var(--primary);
}

.price .period {
    font-size: 1rem;
    color: var(--text-gray);
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-size: 0.9rem;
}

.price-features li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 10px;
}

.btn-secondary-outline {
    display: block;
    padding: 12px;
    border: 1px solid var(--text-gray);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-secondary-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.price-info {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: -15px;
    margin-bottom: 15px;
}

.pricing-disclaimer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Container de centrage */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    padding: 20px;
}

/* La carte de connexion */
.auth-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    margin-top: 20px;
    font-size: 1.8rem;
    color: var(--text-light);
}

.auth-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Champs de formulaire */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: #121212;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
    box-sizing: border-box; /* Important pour Symfony */
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

/* Options & Liens */
.form-options {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-link {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
}

.forgot-link:hover {
    color: var(--primary);
}

/* Boutons */
.auth-actions .btn-primary {
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 15px;
}

.divider {
    text-align: center;
    margin: 15px 0;
    color: var(--text-gray);
    position: relative;
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #333;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.btn-secondary-outline {
    display: inline-block;
    box-sizing: border-box;
}

/* Alertes d'erreur */
.alert-danger {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #ff4444;
}

.mr-auto {
    margin-right: auto;
}

.ml-auto {
    margin-left: auto;
}

.div-private-policies {
    padding: 3%;
}

/* Style spécifique pour la page Check Email */
.text-center {
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.icon-circle .icon {
    font-size: 2rem;
}

.status-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.info-box {
    background: #121212;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px dashed #333;
}

.info-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.back-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-link:hover {
    color: var(--primary);
}

/* Animation douce pour l'apparition */
.auth-card {
    animation: fadeIn 0.5s ease-out;
}

/* Gestion des erreurs de formulaire Symfony */
.form-error-msg {
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-error-msg ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* On s'assure que le champ en erreur a une bordure rouge */
.form-group input.is-invalid {
    border-color: #ff4444;
}

/* Style spécifique pour le texte d'aide sous le titre */
.text-muted {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* Espacements supplémentaires */
.mt-4 {
    margin-top: 1.5rem;
}

.auth-form {
    margin-top: 30px;
}

/* Pour que les inputs prennent toute la largeur même dans une div 'row' */
.form-control {
    width: 100% !important;
    display: block;
}

/* Style pour les erreurs de validation Symfony (ex: mot de passe trop court) */
.form-error-msg ul {
    color: #ff4444;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    font-size: 0.85rem;
}

.form-label {
    margin-bottom: 8px;
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .price-card.highlight-border {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
}

/* Empêcher le violet après clic */
a:visited {
    color: white;
}
a {
    color: white;
    text-decoration: none;
}

/* --- APP SHOWCASE / CAROUSELS --- */
.app-showcase-section {
    padding: 80px 5%;
}

.app-showcase-section .section-title {
    margin-bottom: 4rem; /* Plus d'espace sous le titre */
}

.carousel-block {
    display: flex;
    align-items: center;
    gap: 3rem; /* Espacement entre le texte et le carrousel */
    margin-bottom: 6rem; /* Espacement entre chaque bloc de carrousel */
    flex-wrap: wrap; /* Pour le responsive */
}

.carousel-block.reverse {
    flex-direction: row-reverse; /* Alterne l'ordre du texte et de l'image */
}

.carousel-content {
    flex: 1;
    min-width: 300px; /* Assure un minimum de largeur pour le contenu */
}

.carousel-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.carousel-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.carousel-wrapper {
    flex: 1.5;
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.carousel-nav-btn:hover {
    background-color: var(--primary);
    color: var(--bg-darker);
}

.carousel-nav-btn.prev { left: 15px; }
.carousel-nav-btn.next { right: 15px; }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicator.active {
    background-color: var(--primary);
}

/* Responsive pour les carrousels */
@media (max-width: 992px) {
    .carousel-block {
        flex-direction: column; /* Empile les éléments sur mobile */
        text-align: center;
    }
    .carousel-block.reverse {
        flex-direction: column; /* Idem pour la version reverse */
    }
    .carousel-content {
        margin-bottom: 2rem;
    }
    .carousel-wrapper {
        min-width: 100%; /* Prend toute la largeur disponible */
    }
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 1.5rem;
    }
    .carousel-description {
        font-size: 1rem;
    }
    .carousel-nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
    }
}