/* ============================================
   RESPICARE.BE - Feuille de style principale
   Palette inspirée du logo : orange + rose/violet
   ============================================ */

:root {
  --orange: #F39200;
  --orange-light: #FFB347;
  --pink: #E5007D;
  --pink-light: #F48FB1;
  --purple: #6A1B9A;
  --teal: #00ACC1;
  --dark: #1a2942;
  --gray: #5a6478;
  --light-gray: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --gradient: linear-gradient(135deg, #F39200 0%, #E5007D 100%);
  --gradient-soft: linear-gradient(135deg, #FFF5E6 0%, #FCE4EC 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

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

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; transition: all 0.3s; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; max-width: 1200px; margin: 0 auto; }
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-area img { height: 55px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { color: var(--dark); font-size: 1.15rem; font-weight: 700; }
.logo-text span { color: var(--pink); font-size: 0.85rem; font-weight: 500; }
.nav-menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-menu a:hover { color: var(--pink); }
.nav-menu a.cta { background: var(--gradient); color: white !important; padding: 10px 22px; border-radius: 30px; font-weight: 600; }
.nav-menu a.cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(229,0,125,0.3); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.menu-toggle span { display: block; width: 28px; height: 3px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* HERO */
.hero { padding: 140px 20px 80px; background: var(--gradient-soft); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(243,146,0,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(229,0,125,0.15) 0%, transparent 70%); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--dark); }
.hero-content h1 .accent { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content .subtitle { font-size: 1.2rem; color: var(--gray); margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.badge { background: white; padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 600; color: var(--dark); box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 6px; }
.badge::before { content: '✓'; color: var(--pink); font-weight: bold; }
.cta-group { display: flex; gap: 15px; flex-wrap: wrap; }
.btn { padding: 14px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 15px rgba(229,0,125,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(229,0,125,0.4); }
.btn-secondary { background: white; color: var(--dark); border: 2px solid var(--dark); }
.btn-secondary:hover { background: var(--dark); color: white; }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-hover); }
.hero-floating-card { position: absolute; bottom: -20px; left: -30px; background: white; padding: 18px 22px; border-radius: 15px; box-shadow: var(--shadow-hover); display: flex; align-items: center; gap: 12px; }
.hero-floating-card .num { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.hero-floating-card .label { font-size: 0.85rem; color: var(--gray); font-weight: 500; }

/* SECTIONS */
section { padding: 80px 20px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header .eyebrow { display: inline-block; color: var(--pink); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--dark); margin-bottom: 15px; line-height: 1.2; }
.section-header p { color: var(--gray); font-size: 1.1rem; }

/* EXPERTISE */
.expertise { background: white; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.expertise-card { background: white; border-radius: 20px; padding: 30px; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid #eef0f5; position: relative; overflow: hidden; }
.expertise-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.expertise-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-icon { width: 60px; height: 60px; border-radius: 15px; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; }
.expertise-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.expertise-card p { color: var(--gray); font-size: 0.95rem; }

/* ABOUT */
.about { background: var(--light-gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-hover); }
.about-image .decoration { position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 4px solid var(--orange); border-radius: 20px; z-index: -1; }
.about-content .eyebrow { color: var(--pink); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: inline-block; }
.about-content h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-content p { color: var(--gray); margin-bottom: 15px; font-size: 1.05rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; padding-top: 30px; border-top: 2px solid #e0e5ec; }
.stat-item .num { font-size: 2.2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.stat-item .label { color: var(--gray); font-size: 0.9rem; font-weight: 500; }

/* EQUIPMENT */
.equipment { background: white; }
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.equipment-category { margin-bottom: 50px; }
.equipment-category h3 { text-align: center; font-size: 1.5rem; margin-bottom: 25px; color: var(--pink); font-weight: 700; }
.equipment-item { background: white; padding: 25px; border-radius: 15px; border: 1px solid #eef0f5; transition: all 0.3s; text-align: center; }
.equipment-item:hover { border-color: var(--orange); transform: translateY(-5px); box-shadow: var(--shadow); }
.equipment-item .eq-icon { width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 50%; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.equipment-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.equipment-item p { font-size: 0.85rem; color: var(--gray); }
.equipment-item a { color: var(--pink); text-decoration: none; font-size: 0.85rem; font-weight: 600; margin-top: 10px; display: inline-block; }
.equipment-item a:hover { text-decoration: underline; }

/* PROCESS */
.process { background: var(--gradient-soft); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }
.process-step { background: white; padding: 30px; border-radius: 20px; box-shadow: var(--shadow); position: relative; transition: all 0.3s; }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.process-step .step-num { position: absolute; top: -15px; right: 25px; width: 40px; height: 40px; background: var(--gradient); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
.process-step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; margin-top: 5px; }
.process-step p { color: var(--gray); font-size: 0.95rem; }

/* TARIFS */
.tarifs { background: white; }
.tarifs-table { max-width: 900px; margin: 0 auto; background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.tarif-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 20px 25px; border-bottom: 1px solid #eef0f5; align-items: center; }
.tarif-row.header { background: var(--gradient); color: white; font-weight: 700; }
.tarif-row:last-child { border-bottom: none; }
.tarif-row:not(.header):hover { background: var(--light-gray); }
.tarif-row .price { font-weight: 700; color: var(--pink); }
.tarifs-note { text-align: center; margin-top: 25px; color: var(--gray); font-size: 0.95rem; padding: 0 20px; }
.tarifs-note a { color: var(--pink); text-decoration: none; font-weight: 600; }
.tarifs-note a:hover { text-decoration: underline; }

/* CONTACT */
.contact { background: var(--light-gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; max-width: 1200px; margin: 0 auto; }
.contact-info { background: white; padding: 40px; border-radius: 20px; box-shadow: var(--shadow); }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 25px; color: var(--dark); }
.info-item { display: flex; align-items: start; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eef0f5; }
.info-item:last-child { border-bottom: none; }
.info-item .icon { width: 45px; height: 45px; border-radius: 12px; background: var(--gradient-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.info-item .text { flex: 1; }
.info-item .text strong { display: block; color: var(--dark); margin-bottom: 4px; }
.info-item .text span, .info-item .text a { color: var(--gray); font-size: 0.95rem; text-decoration: none; display: block; }
.info-item .text a:hover { color: var(--pink); }
.contact-form { background: white; padding: 40px; border-radius: 20px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 25px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #e0e5ec; border-radius: 10px; font-family: inherit; font-size: 0.95rem; transition: all 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(229,0,125,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.consent { display: flex; align-items: start; gap: 10px; margin-bottom: 20px; font-size: 0.85rem; color: var(--gray); }
.consent input { width: auto; margin-top: 3px; }
.form-success { background: #d4edda; color: #155724; padding: 15px; border-radius: 10px; margin-bottom: 15px; display: none; }
.form-success.show { display: block; }

/* MAP */
.map-section { padding: 0; background: white; }
.map-container { width: 100%; height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* FOOTER */
.footer { background: var(--dark); color: white; padding: 60px 20px 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-brand img { height: 60px; margin-bottom: 15px; background: white; padding: 8px; border-radius: 10px; }
.footer-brand p { color: #a0a8ba; font-size: 0.9rem; margin-top: 10px; }
.footer-col h4 { color: white; margin-bottom: 18px; font-size: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #a0a8ba; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; color: #a0a8ba; font-size: 0.85rem; max-width: 1200px; margin: 0 auto; }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* CHAT WIDGET */
.chat-widget { position: fixed; bottom: 25px; right: 25px; z-index: 999; }
.chat-bubble { width: 65px; height: 65px; border-radius: 50%; background: var(--gradient); color: white; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(229,0,125,0.4); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: all 0.3s; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 20px rgba(229,0,125,0.4), 0 0 0 0 rgba(229,0,125,0.5); } 50% { box-shadow: 0 6px 20px rgba(229,0,125,0.4), 0 0 0 15px rgba(229,0,125,0); } }
.chat-bubble:hover { transform: scale(1.1); }
.chat-window { position: absolute; bottom: 80px; right: 0; width: 380px; max-width: calc(100vw - 50px); height: 580px; max-height: calc(100vh - 120px); background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); display: none; flex-direction: column; overflow: hidden; }
.chat-window.open { display: flex; }
.chat-header { background: var(--gradient); color: white; padding: 18px; display: flex; align-items: center; gap: 12px; }
.chat-header .avatar { width: 40px; height: 40px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.chat-header h4 { font-size: 1rem; font-weight: 700; }
.chat-header span { font-size: 0.8rem; opacity: 0.9; }
.chat-close { margin-left: auto; background: none; border: none; color: white; cursor: pointer; font-size: 1.5rem; padding: 5px; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; background: var(--light-gray); }
.chat-message { margin-bottom: 12px; display: flex; animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }
.chat-message .bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 0.9rem; line-height: 1.4; }
.chat-message.bot .bubble { background: white; color: var(--dark); border-bottom-left-radius: 5px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.chat-message.user .bubble { background: var(--gradient); color: white; border-bottom-right-radius: 5px; }
.chat-options { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding: 0 15px; }
.chat-option { padding: 10px 14px; background: white; border: 2px solid var(--pink); color: var(--pink); border-radius: 20px; cursor: pointer; font-size: 0.85rem; font-weight: 600; text-align: left; transition: all 0.2s; }
.chat-option:hover { background: var(--pink); color: white; }
.chat-input { padding: 15px; background: white; border-top: 1px solid #eef0f5; display: flex; gap: 10px; }
.chat-input input { flex: 1; padding: 10px 15px; border: 2px solid #e0e5ec; border-radius: 25px; font-size: 0.9rem; }
.chat-input input:focus { outline: none; border-color: var(--pink); }
.chat-input button { background: var(--gradient); color: white; border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }

/* RESPONSIVE */
@media (max-width: 968px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: 2.2rem; }
  .section-header h2 { font-size: 2rem; }
  .about-stats { grid-template-columns: 1fr; gap: 15px; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); gap: 15px; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tarif-row { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 20px 50px; }
  .hero-content h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.6rem; }
  section { padding: 50px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-window { width: calc(100vw - 30px); right: -10px; height: 500px; }
}
