/*
Theme Name: AdminWP
Theme URI: https://adminwp.fr
Description: Thème WordPress professionnel pour la récupération d'accès admin, design inspiré Apple avec touches vert émeraude
Version: 1.0
Author: AdminWP
Author URI: https://adminwp.fr
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adminwp
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('cammi-studio-style.css');



/* ============================================
   RESET & BASE
   ============================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    background: #ffffff;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER FIXE
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.logo a,
.site-title {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 700;
}

.logo img {
    max-height: 50px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

nav a,
nav .nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav .nav-link:hover {
    color: #10b981;
}

.header-cta {
    text-align: right;
}

.btn-primary {
    /* background: linear-gradient(135deg, #10b981 0%, #059669 100%); */
    /* background: #f4e87c !important; */
    background: #1a4d3e !important;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px #1a4d3e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #1a4d3e;
}

/* ============================================
   SECTION HÉRO
   ============================================ */

.hero {
    margin-top: 0px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    padding-bottom: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 24px;
    color: #6b7280;
    margin-bottom: 40px;
    font-weight: 400;
}

/* .btn-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 48px;
    border-radius: 32px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    margin-bottom: 16px;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
} */

/* Bouton hero avec effet bordure qui s'étend au hover */
.btn-hero {
    background: #ffffff !important;
    color: #000000;
    padding: 20px 48px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

/* Bordure animée */
.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity 0.5s ease, border 0.5s ease, transform 0.5s ease;
    z-index: 5;
}

/* Animation au hover - la bordure s'agrandit et disparaît */
.btn-hero:hover {
    background: #f4e87c;
    color: #000000;
}

.btn-hero:hover::before {
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: scale(1.2, 1.5);
}

.hero-trust {
    font-size: 14px;
    color: #9ca3af;
    margin-top: 16px;
}

/* ============================================
   SECTION POURQUOI
   ============================================ */

.why-section {
    padding: 120px 40px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 80px;
    color: #1f2937;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.feature h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.feature p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

/* ============================================
   SECTION PROCESSUS
   ============================================ */

.process-section {
    padding: 120px 40px;
    background: #f9fafb;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 100px;
    width: 2px;
    height: calc(100% - 20px);
    background: #e5e7eb;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1f2937;
}

.step-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

/* ============================================
   SECTION TÉMOIGNAGES
   ============================================ */

.testimonial-section {
    padding: 120px 40px;
    background: white;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 28px;
    font-style: italic;
    color: #1f2937;
    line-height: 1.6;
    margin-bottom: 32px;
}

.testimonial-author {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   SECTION FAQ
   ============================================ */

.faq-section {
    padding: 120px 40px;
    background: #f9fafb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 20px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

/* ============================================
   SECTION BLOG
   ============================================ */

.blog-section {
    padding: 120px 40px;
    background: white;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.blog-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.blog-title a {
    color: #1f2937;
    text-decoration: none;
}

.blog-title a:hover {
    color: #10b981;
}

.blog-date {
    font-size: 14px;
    color: #9ca3af;
}

.blog-link {
    text-align: center;
    margin-top: 40px;
}

.blog-link a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.blog-link a:hover {
    color: #059669;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 80px 40px 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #10b981;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin: 8px 0;
}

/* ============================================
   PAGES DE CONTENU (blog, articles)
   ============================================ */

main {
    margin-top: 100px;
    padding: 60px 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

article {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

article:last-child {
    border-bottom: none;
}

article h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

article h2 a {
    color: #1f2937;
    text-decoration: none;
}

article h2 a:hover {
    color: #10b981;
}

.entry-content {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
}



/* ============================================
   HERO AVEC VIDEO - Modifications minimales
   ============================================ */

/* Rendre le hero compatible avec la vidéo */
.hero {
    position: relative;
    overflow: hidden;
}

/* Container vidéo en arrière-plan */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* La vidéo elle-même */
.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay sombre pour la lisibilité du texte */
.hero-video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Ajuste l'opacité ici (0.4 à 0.7) */
    z-index: 1;
}

/* Effet noir et blanc sur la vidéo */
.hero-video-bg video {
    filter: grayscale(100%);  /* 100% = full noir et blanc, 50% = semi-désaturé */
}

/* S'assurer que le contenu reste au-dessus de la vidéo */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Ajuster le texte pour être lisible sur fond sombre */
.hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero-trust {
    color: rgba(255, 255, 255, 0.7);
}

/* Optionnel: Header transparent sur la vidéo */
/*
header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
*/

/* ============================================
   RESPONSIVE - Désactiver vidéo sur mobile
   ============================================ */
@media (max-width: 768px) {
    .hero-video-bg video {
        display: none;
    }
    
    /* Afficher l'image de fallback sur mobile */
    .hero-video-bg {
        background-image: url('assets/images/hero-fallback.jpg');
        background-size: cover;
        background-position: center;
    }
}


/* ============================================
   HEADER TRANSPARENT -> BLANC AU SCROLL
   ============================================ */

/* État initial: header transparent */
header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Texte du header en blanc quand transparent */
header:not(.scrolled) .logo a,
header:not(.scrolled) .site-title,
header:not(.scrolled) nav a,
header:not(.scrolled) nav .nav-link {
    color: #ffffff;
}

/* Bouton CTA toujours visible */
header:not(.scrolled) .btn-primary {
    /* background: linear-gradient(135deg, #10b981 0%, #059669 100%); */
    color: white;
}

/* État au scroll: header blanc (ton style actuel) */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Texte redevient sombre au scroll */
header.scrolled .logo a,
header.scrolled .site-title,
header.scrolled nav a,
header.scrolled nav .nav-link {
    color: #2c3e50;
}

header.scrolled nav a:hover,
header.scrolled nav .nav-link:hover {
    color: #10b981;
}

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

@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    nav {
        grid-column: 1 / -1;
        order: 3;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .header-cta {
        text-align: center;
    }

    nav {
        flex-direction: column;
        gap: 16px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }

    .features-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step::after {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .why-section,
    .process-section,
    .testimonial-section,
    .faq-section,
    .blog-section {
        padding: 80px 20px;
    }
    
    footer {
        padding: 60px 20px 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .btn-hero {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
}