/* Digital Mind SComm — feuille de style commune
   Palette et typographie alignées sur easypsy.eu */

:root {
  --navy: #1B3A35;
  --navy-light: #2A5A50;
  --teal: #3A9485;
  --teal-light: #E0EFEC;
  --teal-dark: #2A6B5E;
  --gold: #D4A853;
  --bg: #F1F6F4;
  --text: #1B3A35;
  --text-muted: #6B7280;
  --surface: #FFFFFF;
  --line: #E3ECE9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
nav .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
nav .mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'DM Serif Display', serif; font-size: 1rem; letter-spacing: -0.5px;
}
nav .brand-text { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--navy); }
nav .links { display: flex; align-items: center; gap: 1.5rem; }
nav .links a {
  color: #4B5C58; text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color .2s;
}
nav .links a:hover, nav .links a[aria-current="page"] { color: var(--teal-dark); }
nav .lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: .03em;
  border: 1px solid #C7DCD6; border-radius: 999px; padding: 4px 12px;
  color: var(--teal-dark) !important; text-decoration: none;
  transition: all .2s;
}
nav .lang:hover { background: var(--teal-light); border-color: var(--teal); }
@media (max-width: 660px) { nav { padding: 0 1.1rem; } nav .links { gap: 1rem; } nav .links a.hide-sm { display: none; } }

/* ── HERO ── */
.hero {
  padding: 150px 2rem 90px;
  background: linear-gradient(160deg, var(--teal-light) 0%, #E9F2EF 45%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60%; right: -25%; width: 75%; height: 200%;
  background: radial-gradient(ellipse, rgba(58,148,133,0.10) 0%, transparent 70%);
}
.hero.compact { padding: 132px 2rem 62px; }
.wrap { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; background: var(--surface); border: 1px solid #C7DCD6;
  color: var(--teal-dark); padding: 6px 15px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.16;
  color: var(--navy); margin-bottom: 1.3rem; max-width: 21ch;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lede { font-size: 1.12rem; color: #4A5C5A; max-width: 60ch; }

/* ── SECTIONS ── */
section { padding: 84px 2rem; }
section.tight { padding: 64px 2rem; }
h2 {
  font-family: 'DM Serif Display', serif; font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--navy); margin-bottom: .7rem;
}
.sub { color: var(--text-muted); max-width: 64ch; margin-bottom: 2.6rem; }

/* ── CARTES ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid #E5E7EB; border-radius: 16px;
  padding: 28px 26px; transition: all .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(27,58,53,0.07); border-color: var(--teal); }
.card h3 { font-size: 1.03rem; font-weight: 600; margin-bottom: .5rem; color: var(--navy); }
.card p { font-size: .93rem; color: var(--text-muted); }
.card .num {
  font-family: 'DM Serif Display', serif; font-size: 1.1rem;
  color: var(--teal); display: block; margin-bottom: .8rem;
}

/* ── PRODUIT ── */
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 36px 34px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
}
@media (max-width: 620px) { .product { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; } }
.product .logo {
  width: 62px; height: 62px; border-radius: 16px;
  background: var(--teal-light); border: 1px solid #C9E2DC;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.45rem; color: var(--teal-dark);
}
.product h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.5rem; color: var(--navy); margin-bottom: .1rem; }
.product .tag { font-size: .82rem; color: var(--text-muted); margin-bottom: .9rem; }
.product p { color: #4A5C5A; font-size: .97rem; margin-bottom: 1.2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff;
  padding: 12px 26px; border-radius: 10px; font-size: .95rem; font-weight: 600;
  text-decoration: none; transition: all .3s;
}
.btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(58,148,133,0.28); }

/* ── BLOC LÉGAL / CONTACT ── */
.panel { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.panel dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 30px; font-size: .95rem; }
@media (max-width: 560px) { .panel dl { grid-template-columns: 1fr; gap: 2px 0; } .panel dt { margin-top: 14px; } }
.panel dt { color: var(--text-muted); font-weight: 500; }
.panel dd { color: var(--navy); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-bottom: 2.4rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px;
}
.contact-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: .45rem; }
.contact-card p { font-size: .93rem; color: var(--text-muted); margin-bottom: 1rem; }
.contact-card .mail {
  font-size: 1.02rem; font-weight: 600; color: var(--teal-dark);
  text-decoration: none; word-break: break-word;
}
.contact-card .mail:hover { text-decoration: underline; }

/* ── PIED ── */
footer {
  padding: 34px 2rem; text-align: center;
  color: var(--text-muted); font-size: .85rem; line-height: 1.8;
}
footer a { color: var(--text-muted); }
