/* ===== InstantComm' — styles ===== */

:root {
  --navy: #0F2A42;
  --cream: #FAF6ED;
  --cream-card: #FFFFFF;
  --gold: #C9A063;
  --turquoise: #16A3A0;
  --coral: #F06B4D;
  --coral-tint: #FDEAE3;
  --turquoise-tint: #E3F5F4;
  --text-muted: #55667A;
  --text-soft: #5B6B7A;
  --border-soft: rgba(15, 42, 66, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--navy);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; margin: 0; }
a { text-decoration: none; color: inherit; }
p { margin: 0; }
ul { margin: 0; }
button { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--coral); color: #fff; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; border-radius: 100px; font-weight: 700; font-size: 15px; }
.btn-block { display: flex; width: 100%; padding: 14px; font-size: 14.5px; }
.btn-gradient { background: linear-gradient(100deg, var(--turquoise), var(--coral)); color: #fff; box-shadow: 0 10px 24px rgba(22,163,160,0.28); }
.btn-gradient-small { padding: 11px 22px; border-radius: 100px; background: linear-gradient(100deg, var(--coral), var(--gold)); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px rgba(240,107,77,0.3); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid rgba(15,42,66,0.25); }
.btn-dark { background: var(--navy); color: #fff; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250,246,237,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(201,160,99,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 137px; height: 74px; object-fit: contain; }
@media (max-width: 480px) { .logo-img { width: 100px; height: 54px; } }
.logo-text { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid rgba(15,42,66,0.15); }
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 8px 24px 20px; border-top: 1px solid rgba(15,42,66,0.08); }
.mobile-menu a { padding: 12px 4px; font-weight: 600; font-size: 15px; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; padding: 96px 24px 88px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-blob-1 { top: -120px; right: -100px; width: 420px; height: 420px; background: radial-gradient(circle, var(--turquoise) 0%, rgba(22,163,160,0) 70%); opacity: 0.35; }
.hero-blob-2 { bottom: -160px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle, var(--coral) 0%, rgba(240,107,77,0) 70%); opacity: 0.3; }
.hero-inner { position: relative; display: flex; align-items: center; gap: 56px; flex-wrap: wrap; padding: 0; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 100px; background: #fff; border: 1px solid rgba(201,160,99,0.4); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--turquoise); }
.hero-text h1 { font-size: 50px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.accent-coral { color: var(--coral); }
.hero-lead { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 560px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { flex: 1 1 360px; min-width: 280px; display: flex; justify-content: center; }
.logo-card { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; border-radius: 28px; background: #fff; border: 1px solid rgba(201,160,99,0.35); box-shadow: 0 30px 60px -20px rgba(15,42,66,0.25); display: flex; align-items: center; justify-content: center; padding: 36px; }
.logo-card-img { width: 100%; height: 100%; object-fit: contain; }
.dot-accent { position: absolute; border-radius: 50%; }
.dot-gold { top: 18px; right: 18px; width: 14px; height: 14px; background: var(--gold); }
.dot-turquoise { bottom: 22px; left: 22px; width: 10px; height: 10px; background: var(--turquoise); }

/* ===== SECTION HEADS ===== */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow-turquoise { color: var(--turquoise); }
.eyebrow-coral { color: var(--coral); }
.eyebrow-gold { color: var(--gold); }
.section-head { max-width: 620px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; }
.section-title-narrow { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; max-width: 640px; }
.title-light { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; color: var(--cream); }

/* ===== SERVICES ===== */
.services { padding: 88px 24px; background: #fff; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 48px; }
.svc-card { padding: 28px; border-radius: 20px; background: var(--cream); border: 1px solid var(--border-soft); }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-turquoise { background: var(--turquoise); }
.icon-coral { background: var(--coral); }
.icon-gold { background: var(--gold); }
.icon-navy { background: var(--navy); }
.svc-card h3 { font-size: 17px; font-weight: 700; }
.svc-card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* ===== RÉALISATIONS ===== */
.realisations { padding: 92px 24px; background: var(--navy); position: relative; overflow: hidden; }
.realisations-blob { position: absolute; top: -100px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, var(--turquoise) 0%, rgba(22,163,160,0) 70%); opacity: 0.25; }
.realisations .container { position: relative; }
.case-card { margin-top: 48px; background: var(--cream); border-radius: 24px; padding: 36px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.4); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.case-preview { border-radius: 16px; overflow: hidden; background: #0D7377; aspect-ratio: 4/3; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(15,42,66,0.2); }
.case-preview-bar { display: flex; gap: 6px; padding: 14px 16px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.case-preview-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.case-preview-img { flex: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.case-content h3 { font-size: 24px; font-weight: 800; }
.case-content p { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { padding: 7px 14px; border-radius: 100px; background: #fff; border: 1px solid rgba(15,42,66,0.12); font-size: 12.5px; font-weight: 600; }

/* ===== POURQUOI NOUS ===== */
.pourquoi { padding: 88px 24px; background: var(--coral-tint); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; margin-top: 44px; }
.why-num { font-size: 26px; font-weight: 800; }
.why-num-turquoise { color: var(--turquoise); }
.why-num-coral { color: var(--coral); }
.why-num-gold { color: var(--gold); }
.why-num-navy { color: var(--navy); }
.why-item h3 { font-size: 16px; font-weight: 700; margin-top: 10px; }
.why-item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-soft); }

/* ===== TARIFS ===== */
.tarifs { padding: 92px 24px; background: var(--cream); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 48px; }
.price-card { padding: 36px; border-radius: 24px; background: #fff; border: 1.5px solid rgba(15,42,66,0.08); box-shadow: 0 20px 40px -24px rgba(15,42,66,0.18); display: flex; flex-direction: column; height: 100%; }
.price-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.price-line { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; position: relative; }
.price-from { font-size: 15px; font-weight: 600; color: var(--text-soft); }
.price-from-light { color: rgba(250,246,237,0.7); }
.price-amount { font-size: 40px; font-weight: 800; }
.price-amount-turquoise { color: var(--turquoise); }
.price-sep { height: 1px; background: rgba(15,42,66,0.08); margin: 24px 0; position: relative; }
.price-sep-light { background: rgba(250,246,237,0.15); }
.price-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; flex: 1 0 auto; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: #2C3E50; }
.price-list-light li { color: var(--cream); }
.check { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-turquoise { background: var(--turquoise); }
.check-coral { background: var(--coral); }
.price-card-dark { background: var(--navy); position: relative; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(15,42,66,0.4); }
.price-card-dark h3 { color: var(--cream); }
.price-card .btn-block { margin-top: 20px; padding: 16px 14px; }
.price-maintenance { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px solid rgba(15,42,66,0.06); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.price-maintenance strong { color: var(--navy); }
.price-blob { position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--coral) 0%, rgba(240,107,77,0) 70%); opacity: 0.4; }

/* ===== CONTACT ===== */
.contact { padding: 92px 24px; background: var(--turquoise-tint); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
.contact-info h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; }
.contact-info p { margin-top: 16px; font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 420px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; color: #2C3E50; }
.contact-icon { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 20px 50px -24px rgba(15,42,66,0.25); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form[hidden], .form-success[hidden] { display: none; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: #2C3E50; }
.form-group input, .form-group textarea { padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(15,42,66,0.12); font-size: 14.5px; background: var(--cream); font-family: 'Work Sans'; }
.form-group textarea { resize: vertical; }
.form-success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 10px; gap: 14px; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--turquoise); display: flex; align-items: center; justify-content: center; }
.form-success h3 { font-size: 18px; font-weight: 700; }
.form-success p { font-size: 14.5px; color: var(--text-soft); max-width: 280px; }
.form-error { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--coral); text-align: center; }
.form-error a { text-decoration: underline; }
.btn:disabled { opacity: 0.7; cursor: default; }

/* ===== FOOTER ===== */
.site-footer { background: var(--cream); padding: 0; }
.footer-stripe { height: 5px; background: linear-gradient(90deg, var(--turquoise), var(--gold), var(--coral)); }
.site-footer .container { padding: 48px 24px 32px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.footer-brand { max-width: 300px; }
.footer-logo-row { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 34px; height: 34px; object-fit: contain; }
.footer-logo-text { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 16px; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn { height: 36px; border-radius: 10px; background: #fff; border: 1px solid rgba(15,42,66,0.1); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-row[href] { cursor: pointer; }
.footer-nav h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: var(--text-soft); margin-top: 6px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: #8A97A5; }

/* ===== LEGAL PAGE ===== */
.legal-page { padding: 56px 0 90px; }
.legal-container { max-width: 820px; }
.legal-title { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal-updated { font-size: 13.5px; color: var(--text-soft); margin-bottom: 40px; }
.legal-section { margin-bottom: 34px; }
.legal-section h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.legal-section p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin-bottom: 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--turquoise); font-weight: 600; text-decoration: underline; }
.legal-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-list li { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.legal-list a { color: var(--turquoise); font-weight: 600; text-decoration: underline; }
.legal-todo { background: var(--coral-tint); border: 1px solid rgba(240,107,77,0.3); border-radius: 14px; padding: 18px 20px; }
.legal-todo p { color: var(--navy); }
.legal-todo p:first-child { font-weight: 700; margin-bottom: 6px; }
@media (max-width: 600px) {
  .legal-title { font-size: 28px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-card { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  transform: translateY(120%);
  transition: transform 0.4s ease;
  box-shadow: 0 -10px 30px rgba(15,42,66,0.25);
}
.cookie-banner.open { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.88); flex: 1 1 420px; }
.cookie-banner a { color: #fff; text-decoration: underline; font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie { padding: 11px 22px; font-size: 14px; border-radius: 100px; }
.cookie-banner .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
@media (max-width: 600px) {
  .cookie-banner { padding: 18px 20px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .btn-cookie { flex: 1; text-align: center; }
}
