/* ============================================================
   IA Accessible — particuliers.idsworld.fr
   Design "grand confort senior" : grandes polices, contrastes
   forts, espacement généreux. Atkinson Hyperlegible.
   ============================================================ */

:root {
  --bg: #FBF8F1;
  --surface: #FFFFFF;
  --ink: #1F2A37;
  --ink-soft: #45566B;
  --brand: #14538B;
  --brand-dark: #0E3F6A;
  --brand-soft: #E7F0F8;
  --amber: #B45309;
  --amber-bg: #FDF0DC;
  --green: #1E7A4A;
  --green-bg: #E9F6EF;
  --line: #E4DCCB;
  --shadow: 0 10px 30px rgba(31, 42, 55, .10);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 20px;                 /* base généreuse */
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
  font-size: 1.05rem;              /* ~21 px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  cursor: auto;                    /* curseur natif, toujours */
}

img { max-width: 100%; display: block; }
a { color: var(--brand); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .5rem; }
h3 { font-size: 1.5rem; }

.section-title { text-align: center; max-width: 900px; margin: 0 auto 3.2rem; }
.section-title p { color: var(--ink-soft); font-size: 1.15rem; margin-top: .6rem; }
.eyebrow {
  display: inline-block; font-size: 1rem; font-weight: 700; color: var(--brand);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem;
}
section { padding: 5.5rem 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: inherit; font-size: 1.2rem; font-weight: 700;
  padding: 1rem 1.9rem; border-radius: 14px; text-decoration: none;
  border: 3px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-tel { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(20, 83, 139, .35); }
.btn-tel:hover { background: var(--brand-dark); }
.btn-mail { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-mail:hover { background: var(--brand-soft); }
.btn-xl { font-size: 1.35rem; padding: 1.15rem 2.4rem; border-radius: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 28px; max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.3rem; }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 700; padding: .35rem 0; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.nav-cta { font-size: 1.05rem; padding: .75rem 1.4rem; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--amber-bg);
  color: var(--amber); font-weight: 700; font-size: 1.02rem; padding: .55rem 1.1rem;
  border-radius: 999px; margin-bottom: 1.6rem;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 1.3rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 1.4rem; }
.hero-note { color: var(--ink-soft); font-size: 1rem; }
.hero-photo { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ---------- Bandeau réassurance ---------- */
.reassurance { background: var(--brand); padding: 2.4rem 0; }
.reassurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.reass-item { display: flex; gap: 1rem; align-items: flex-start; color: #fff; }
.reass-item svg { flex: none; margin-top: .15rem; }
.reass-item strong { display: block; font-size: 1.1rem; margin-bottom: .15rem; }
.reass-item span { font-size: .98rem; color: rgba(255,255,255,.88); }

/* ---------- Cartes prestations ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line);
}
.card-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 1.9rem 1.9rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .8rem; }
.card .card-desc { color: var(--ink-soft); margin-bottom: 1.2rem; }
.card ul { list-style: none; margin-bottom: 1.5rem; }
.card ul li { padding: .32rem 0 .32rem 1.9rem; position: relative; font-size: 1rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .78rem; width: .72rem; height: .72rem;
  border-radius: 50%; background: var(--brand);
}
.card-price { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.3rem; }
.card-price .num { font-size: 1.9rem; color: var(--brand); }
.card-price small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .95rem; margin-top: .15rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-tag {
  align-self: flex-start; background: var(--green-bg); color: var(--green); font-weight: 700;
  font-size: .92rem; padding: .35rem .9rem; border-radius: 999px; margin-bottom: .9rem;
}

/* ---------- Tarifs ---------- */
.price-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table.prices { width: 100%; border-collapse: collapse; font-size: 1.1rem; }
table.prices th {
  text-align: left; background: var(--brand-soft); color: var(--brand-dark);
  padding: 1.1rem 1.8rem; font-size: 1.05rem;
}
table.prices td { padding: 1.15rem 1.8rem; border-top: 1px solid var(--line); vertical-align: top; }
table.prices tr:last-child td { border-bottom: none; }
table.prices .offer { font-weight: 700; }
table.prices .price { font-weight: 700; color: var(--brand); font-size: 1.25rem; white-space: nowrap; }
table.prices .detail { color: var(--ink-soft); font-size: .98rem; }
.credit-box {
  margin-top: 2.2rem; background: var(--amber-bg); border-left: 6px solid var(--amber);
  border-radius: 14px; padding: 1.6rem 2rem; display: flex; gap: 1.2rem; align-items: flex-start;
}
.credit-box svg { flex: none; }
.credit-box h4 { font-size: 1.25rem; margin-bottom: .3rem; color: var(--amber); }
.credit-box p { font-size: 1.05rem; color: var(--ink); }
.credit-box strong { color: var(--amber); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; position: relative; }
.step-num {
  font-size: 2.6rem; font-weight: 700; color: var(--brand-soft); line-height: 1; margin-bottom: 1rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Pour qui ---------- */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.who-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem 1.9rem; display: flex; gap: 1.1rem; align-items: flex-start; }
.who-item svg { flex: none; }
.who-item strong { display: block; font-size: 1.15rem; margin-bottom: .25rem; }
.who-item p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.6rem; margin-bottom: 1rem; }
.faq summary {
  cursor: pointer; font-size: 1.2rem; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::after { content: "+"; font-size: 1.8rem; color: var(--brand); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .9rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); text-align: center; }
.contact-card h3 { margin-bottom: .4rem; }
.contact-card p { color: var(--ink-soft); margin-bottom: 1.4rem; font-size: 1.05rem; }
.contact-big {
  display: block; font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--brand);
  text-decoration: none; margin-bottom: .4rem;
}
.contact-big:hover { color: var(--brand-dark); }
.contact-zone { margin-top: 2.2rem; background: var(--brand-soft); border-radius: 14px; padding: 1.4rem 1.8rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-zone svg { flex: none; }
.contact-zone strong { display: block; margin-bottom: .2rem; color: var(--brand-dark); }
.contact-zone p { color: var(--ink-soft); font-size: 1rem; }
.contact-zone-img { width: 280px; height: 172px; object-fit: cover; border-radius: 12px; flex: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.2rem 0; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .cards { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 4rem 0; }
}
@media (max-width: 560px) {
  .reassurance-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-zone-img { width: 100%; height: 200px; }
  table.prices th, table.prices td { padding: .9rem 1rem; }
  .credit-box { flex-direction: column; }
}
