/* ============================================================
   TIMÉTIS — Site vitrine — Design system
   ============================================================ */
:root {
  --coral:      #FF7F50;
  --coral-dk:   #E86A3A;
  --coral-lt:   #FFF0EB;
  --teal:       #008080;
  --teal-dk:    #006666;
  --teal-lt:    #E0F2F2;
  --teal-pale:  #F0FAFA;
  --gold:       #FFD700;
  --gold-dk:    #B8960A;
  --gold-lt:    #FFFBE0;
  --cream:      #FAFAF8;
  --surface:    #FFFFFF;
  --text:       #1A2B2B;
  --text2:      #4A6060;
  --text3:      #8AACAC;
  --border:     rgba(0,0,0,.08);
  --r:          16px;
  --r-lg:       24px;
  --r-xl:       32px;
  --sh:         0 2px 16px rgba(0,0,0,.06);
  --sh-md:      0 8px 32px rgba(0,0,0,.10);
  --sh-lg:      0 20px 60px rgba(0,0,0,.14);
  --sh-coral:   0 8px 28px rgba(255,127,80,.30);
  --sh-teal:    0 8px 28px rgba(0,128,128,.24);
  --container:  1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
@media (max-width: 720px) { .section { padding: 56px 0; } }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dk); background: var(--teal-lt); padding: 7px 16px; border-radius: 40px;
  margin-bottom: 18px;
}
.lede { font-size: 18px; color: var(--text2); font-weight: 500; max-width: 640px; }
.accent { color: var(--coral); }
.accent-gold { color: var(--gold-dk); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: -.01em; flex-shrink: 0; }
.logo img { height: 34px; width: auto; display: block; }
.logo .ti { font-style: italic; color: var(--teal); }
.logo .metis { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 700; color: var(--text2); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dk); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 400px) {
  .logo img { height: 28px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 40px; font-weight: 800; font-size: 15px;
  transition: all .18s;
}
.btn-coral { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn-coral:hover { background: var(--coral-dk); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,127,80,.4); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--sh-teal); }
.btn-teal:hover { background: var(--teal-dk); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--text); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dk); }
.btn-white { background: #fff; color: var(--teal-dk); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--teal);
  padding: 72px 0 0;
}
.hero-deco1 { position: absolute; top: -120px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-deco2 { position: absolute; bottom: 60px; left: -100px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,215,0,.08); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lede { color: rgba(255,255,255,.85); margin-bottom: 32px; }
@media (max-width: 900px) { .hero .lede { margin-left: auto; margin-right: auto; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 40px;
  margin-bottom: 22px;
}

/* ── Signature : comparateur d'économies ── */
.savings-card {
  background: #fff; border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-lg);
  position: relative;
}
.savings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); }
.savings-row:last-of-type { border-bottom: none; }
.savings-label { font-size: 13px; font-weight: 700; color: var(--text2); }
.savings-price { font-size: 22px; font-weight: 900; }
.savings-price.old { color: var(--text3); text-decoration: line-through; font-size: 17px; }
.savings-price.new { color: var(--teal-dk); }
.savings-result {
  margin-top: 18px; background: var(--coral); color: #fff; border-radius: var(--r);
  padding: 18px 20px; text-align: center;
}
.savings-result .big { font-size: 30px; font-weight: 900; line-height: 1; }
.savings-result .small { font-size: 12.5px; font-weight: 700; opacity: .9; margin-top: 4px; }

/* ============ WAVE DIVIDER ============ */
.wave { display: block; width: 100%; height: 60px; margin-top: -1px; }

/* ============ FEATURE GRID ============ */
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr; } .g2 { grid-template-columns: 1fr; } }

.role-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh);
  border-top: 4px solid var(--teal);
}
.role-card.coral { border-top-color: var(--coral); }
.role-card.gold { border-top-color: var(--gold); }
.role-icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--teal-lt);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.role-card.coral .role-icon { background: var(--coral-lt); }
.role-card.gold .role-icon { background: var(--gold-lt); }
.role-card h3 { margin-bottom: 10px; }
.role-card p { color: var(--text2); font-size: 14.5px; margin-bottom: 16px; }
.role-list { list-style: none; }
.role-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text2); padding: 6px 0; font-weight: 600; }
.role-list li::before { content: '✓'; color: var(--teal); font-weight: 900; flex-shrink: 0; }

/* ============ MOCKUP FRAME (illustration produit) ============ */
.mockup-browser {
  background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-lg);
}
.mockup-bar { background: #E8ECEC; padding: 10px 14px; display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ============ COMPARISON TABLE ============ */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; }
.compare-table thead th { background: var(--teal); color: #fff; font-weight: 800; }
.compare-table thead th:first-child { border-radius: 0; }
.compare-table tbody tr:nth-child(even) { background: var(--teal-pale); }
.compare-table tbody td:first-child { font-weight: 700; color: var(--text); }
.compare-table .yes { color: var(--teal-dk); font-weight: 800; }
.compare-table .no { color: var(--text3); }
.compare-table .highlight { background: var(--coral-lt) !important; font-weight: 800; color: var(--coral-dk); }
@media (max-width: 720px) { .compare-table { font-size: 12.5px; } .compare-table th, .compare-table td { padding: 10px 8px; } }
.tbl-scroll { overflow-x: auto; }

/* ============ STAT STRIP ============ */
.stat-strip { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 32px; }
.stat-item .num { font-size: 40px; font-weight: 900; color: var(--teal-dk); line-height: 1; }
.stat-item .lbl { font-size: 13px; font-weight: 700; color: var(--text2); margin-top: 6px; text-transform: uppercase; letter-spacing: .04em; }

/* ============ FOUNDER STORY ============ */
.story-card {
  background: var(--surface); border-radius: var(--r-xl); padding: 44px; box-shadow: var(--sh-md);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
}
@media (max-width: 720px) { .story-card { grid-template-columns: 1fr; text-align: center; padding: 28px; } }
.story-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 28px; flex-shrink: 0; }
@media (max-width: 720px) { .story-avatar { margin: 0 auto; } }
.story-quote { font-size: 17px; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.story-name { font-weight: 800; }
.story-role { font-size: 13px; color: var(--text3); }

/* ============ CTA SECTION ============ */
.cta-band {
  background: var(--coral); border-radius: var(--r-xl); padding: 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.1); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 16px; margin-bottom: 28px; }

/* ============ FOOTER ============ */
.footer { background: var(--teal-dk); color: rgba(255,255,255,.8); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ============ PRICING ============ */
.price-card {
  background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-lg);
  border: 3px solid var(--teal); max-width: 420px; margin: 0 auto; text-align: center;
}
.price-value { font-size: 56px; font-weight: 900; color: var(--teal-dk); line-height: 1; margin: 14px 0 4px; }
.price-value span { font-size: 18px; font-weight: 700; color: var(--text3); }
.price-list { list-style: none; text-align: left; margin: 28px 0; }
.price-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; font-weight: 600; color: var(--text2); }
.price-list li::before { content: '✓'; color: var(--coral); font-weight: 900; }

/* ============ FAQ ============ */
.faq-item { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); margin-bottom: 14px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: all .25s ease; color: var(--text2); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }

/* ============ CONTACT FORM ============ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 800; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--r);
  font-size: 15px; font-family: inherit; background: var(--surface); transition: border-color .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }

.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-40 { margin-bottom: 40px; }
