/* ============================================
   COURTAGE ENERGIE - Styles complets
   ============================================ */

:root {
    --primary: #2E8B8B;
    --primary-dark: #1F5F5F;
    --primary-light: #4ECDC4;
    --secondary: #FF6B6B;
    --secondary-dark: #EE5A5A;
    --accent: #4ECDC4;
    --dark: #1A3A3A;
    --dark-light: #2F4F4F;
    --gray: #5A6B6B;
    --gray-light: #8B9D9D;
    --light: #E8F4F4;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2E8B8B 0%, #4ECDC4 100%);
    --shadow: 0 4px 6px -1px rgba(46, 139, 139, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(46, 139, 139, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(46, 139, 139, 0.25);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; line-height: 1.6; color: var(--dark); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVIGATION - Logo très agrandi */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(78, 205, 196, 0.1); transition: var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 140px; }
.logo { display: flex; align-items: center; padding: 10px 0; }
.logo-img { height: 120px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 35px; }
.nav-link { font-weight: 600; color: var(--dark-light); position: relative; padding: 8px 0; font-size: 0.95rem; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }
.btn-nav { background: var(--gradient-1); color: var(--white) !important; padding: 12px 24px !important; border-radius: 50px; box-shadow: var(--shadow); }
.btn-nav::after { display: none !important; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 25px; height: 3px; background: var(--dark); border-radius: 3px; transition: var(--transition); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--gradient-1); overflow: hidden; padding-top: 140px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(78,205,196,0.3) 0%, transparent 50%); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle { position: absolute; width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; animation: float 20s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) translateX(100px); opacity: 0; } }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); max-width: 900px; margin: 0 auto; padding: 60px 0; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 24px; line-height: 1.1; }
.hero-title .line { display: block; opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.hero-title .line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .brand { background: linear-gradient(to right, #fff, #4ECDC4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 40px; opacity: 0.95; font-weight: 300; animation: fadeInUp 0.8s 0.4s forwards; opacity: 0; }
.hero-subtitle .percent { color: #4ECDC4; font-weight: 700; font-size: 1.3em; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-cta { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; animation: fadeInUp 0.8s 0.6s forwards; opacity: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 1rem; border-radius: 50px; border: none; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background: var(--secondary); color: var(--white); box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-secondary:hover { background: var(--white); color: var(--primary); border-color: var(--white); }
.hero-stats { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; animation: fadeInUp 0.8s 0.8s forwards; opacity: 0; }
.hero-stat { text-align: center; }
.hero-stat .number { display: block; font-size: 2.5rem; font-weight: 800; color: #4ECDC4; font-family: 'Montserrat', sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.hero-stat .label { font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); color: var(--white); text-align: center; animation: bounce 2s infinite; }
.mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 13px; margin: 0 auto 10px; position: relative; }
.wheel { width: 4px; height: 8px; background: rgba(255,255,255,0.8); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 20px; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/* SECTIONS */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header.light { color: var(--white); }
.section-tag { display: inline-block; padding: 8px 16px; background: rgba(46, 139, 139, 0.1); color: var(--primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; margin-bottom: 16px; }
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--dark); margin-bottom: 20px; }
.section-header.light .section-title { color: var(--white); }

/* SERVICES */
.services { background: var(--light); }
.services-intro { text-align: center; max-width: 900px; margin: 0 auto 50px; font-size: 1.1rem; color: var(--dark-light); }
.services-intro p { margin-bottom: 15px; line-height: 1.8; }
.highlight-text { font-weight: 700; color: var(--primary); font-size: 1.2rem; margin-top: 20px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); position: relative; overflow: hidden; border: 1px solid rgba(78, 205, 196, 0.1); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-1); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { border: 2px solid var(--primary); transform: scale(1.02); }
.service-card.featured:hover { transform: scale(1.02) translateY(-10px); }
.badge { position: absolute; top: 20px; right: -35px; background: var(--secondary); color: var(--white); padding: 5px 40px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; transform: rotate(45deg); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: rotate(45deg) scale(1); } 50% { transform: rotate(45deg) scale(1.05); } }
.service-icon { width: 70px; height: 70px; background: rgba(78, 205, 196, 0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 2rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--dark); }
.service-card > p { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.service-features li { padding: 8px 0; padding-left: 24px; position: relative; color: var(--dark-light); font-size: 0.95rem; }
.service-features li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* STATS */
.stats-section { background: var(--dark); position: relative; overflow: hidden; padding: 120px 0; }
.stats-bg { position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(46,139,139,0.3) 0%, transparent 50%), radial-gradient(circle at 100% 100%, rgba(78,205,196,0.2) 0%, transparent 50%); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; position: relative; z-index: 1; }
.stat-item { text-align: center; padding: 40px 20px; background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(78, 205, 196, 0.2); backdrop-filter: blur(10px); transition: var(--transition); }
.stat-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.stat-number { font-size: 4rem; font-weight: 800; color: var(--white); font-family: 'Montserrat', sans-serif; line-height: 1; margin-bottom: 10px; }
.stat-number .suffix { font-size: 2.5rem; color: var(--accent); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ABOUT - Logo agrandi */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-subtitle { font-size: 1.5rem; color: var(--primary); margin: 20px 0; }
.about-text { font-size: 1.1rem; color: var(--gray); line-height: 1.8; margin-bottom: 30px; }
.about-features { margin-bottom: 40px; }
.about-features li { display: flex; align-items: center; gap: 15px; padding: 12px 0; font-size: 1.05rem; color: var(--dark-light); }
.check-icon { width: 28px; height: 28px; background: var(--accent); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.experience-box { display: inline-flex; align-items: center; gap: 20px; background: var(--gradient-1); color: var(--white); padding: 25px 35px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.exp-number { font-size: 3rem; font-weight: 800; font-family: 'Montserrat', sans-serif; }
.exp-text { display: flex; flex-direction: column; }
.exp-text strong { font-size: 1.1rem; }
.exp-text span { opacity: 0.9; font-size: 0.9rem; }
.about-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.about-card { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-xl); border: 1px solid rgba(78, 205, 196, 0.1); }
.card-logo-img { max-width: 450px; width: 100%; height: auto; }

/* TESTIMONIALS */
.testimonials { background: var(--light); }
.testimonials-slider { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonial-card { background: var(--white); padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; display: none; }
.testimonial-card.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.quote-icon { font-size: 5rem; color: var(--primary); opacity: 0.2; line-height: 1; margin-bottom: -20px; font-family: Georgia, serif; }
.testimonial-text { font-size: 1.2rem; color: var(--dark-light); line-height: 1.8; font-style: italic; margin-bottom: 30px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 15px; }
.author-avatar { width: 60px; height: 60px; background: var(--gradient-1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.2rem; }
.author-info { text-align: left; }
.author-info strong { display: block; color: var(--dark); font-size: 1.1rem; }
.author-info span { color: var(--gray); font-size: 0.9rem; }
.testimonials-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.nav-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--primary); background: transparent; cursor: pointer; transition: var(--transition); }
.nav-dot.active { background: var(--primary); transform: scale(1.2); }
.nav-dot:hover { background: var(--primary-light); }

/* CONTACT */
.contact { background: var(--white); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info .section-title { text-align: left; }
.contact-info > p { font-size: 1.1rem; color: var(--gray); margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 25px; margin-bottom: 30px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; padding: 20px; background: var(--light); border-radius: var(--radius); transition: var(--transition); }
.contact-item:hover { background: rgba(46, 139, 139, 0.05); transform: translateX(10px); }
.contact-item .icon { font-size: 1.5rem; width: 50px; height: 50px; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); flex-shrink: 0; }
.contact-item strong { display: block; color: var(--dark); margin-bottom: 4px; }
.contact-item span { color: var(--gray); font-size: 0.95rem; display: block; }
.map-link { display: inline-block; color: var(--primary); font-weight: 600; margin-top: 5px; font-size: 0.9rem; }
.map-link:hover { color: var(--primary-dark); }
.map-container { margin-top: 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-form { background: var(--white); padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow-xl); border: 1px solid rgba(78, 205, 196, 0.1); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border: 2px solid #E0E7E7; border-radius: 10px; font-family: inherit; font-size: 1rem; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46, 139, 139, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-full { width: 100%; justify-content: center; }

/* FOOTER COMPLET */
.footer { background: var(--dark); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand { max-width: 350px; }
.footer-logo { height: 100px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 20px; }
.footer-contact { margin-top: 20px; }
.footer-contact p { color: rgba(255,255,255,0.8); margin-bottom: 8px; font-size: 0.95rem; }
.footer-links h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary); color: var(--white); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); box-shadow: var(--shadow-lg); z-index: 999; font-size: 1.5rem; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-5px); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-visual { order: -1; }
    .footer-logo { height: 80px; }
    .card-logo-img { max-width: 350px; }
}

@media (max-width: 768px) {
    .nav-wrapper { height: 100px; }
    .logo-img { height: 80px; }
    .nav-menu { position: fixed; top: 100px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 40px; gap: 20px; box-shadow: var(--shadow-lg); transform: translateY(-150%); transition: transform 0.3s; }
    .nav-menu.active { transform: translateY(0); }
    .nav-toggle { display: flex; }
    .hero { padding-top: 100px; }
    .hero-stats { gap: 30px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card.featured { transform: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 3rem; }
    .testimonial-card { padding: 30px 20px; }
    .contact-form { padding: 30px 20px; }
    .card-logo-img { max-width: 280px; }
    .footer-logo { height: 70px; }
    .footer-grid { gap: 40px; }
}

@media (max-width: 480px) {
    .nav-wrapper { height: 90px; }
    .logo-img { height: 70px; }
    .hero { padding-top: 90px; }
    .hero-title { font-size: 1.8rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .experience-box { flex-direction: column; text-align: center; width: 100%; }
    .card-logo-img { max-width: 220px; }
    .footer-logo { height: 60px; }
}
