/* Assistelia — feuille de style */

/* Direction visuelle reprise du modèle Canva « Modern Lifestyle Store » :
   palette sable/argile, grande photographie, cartes très arrondies. */
:root {
  --ink: #2B211A;
  --ink-2: #5A4A3F;
  --ink-3: #8B7767;
  --paper: #F7F0E7;
  --paper-2: #EFE4D6;
  --surface: #FFFCF8;
  --line: #E2D4C2;
  --accent: #A9563A;
  --accent-dark: #8C4630;
  --accent-soft: #F3E3DA;
  --gold: #C08B2E;
  --gold-soft: #F6E8CE;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(43, 33, 26, .05), 0 4px 14px rgba(43, 33, 26, .05);
  --shadow-md: 0 16px 44px rgba(43, 33, 26, .12);
  --maxw: 1180px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.18rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
a { color: var(--accent-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lead { font-size: 1.16rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 240, 231, .9);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand span {
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em;
}
.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .97rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn svg { width: 17px; height: 17px; }

.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.trust-row div { font-size: .88rem; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Bloc appel */
.call-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.call-card .label {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.call-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 600; color: var(--ink); letter-spacing: .01em;
  display: block; text-decoration: none; margin-bottom: 12px;
}
.call-number:hover { color: var(--accent-dark); }
.price-chip {
  display: inline-block;
  background: var(--gold-soft); color: #7A5512;
  border: 1px solid #EBD9AE;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .93rem; font-weight: 600;
  margin-bottom: 18px;
}
.call-card .hours { font-size: .92rem; color: var(--ink-3); margin: 0 0 20px; }
.call-card .btn { width: 100%; }
.call-note {
  margin: 18px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-3);
}

/* ---------- Bandeau indépendance ---------- */
.disclaimer-band {
  background: var(--ink);
  color: #DCCDBC;
  padding: 22px 0;
}
.disclaimer-band .wrap { display: flex; gap: 14px; align-items: flex-start; }
.disclaimer-band svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.disclaimer-band p { margin: 0; font-size: .93rem; line-height: 1.55; }
.disclaimer-band strong { color: #fff; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.alt .card { background: var(--paper); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.step h3 { margin-bottom: .35em; }
.step p { font-size: .95rem; margin: 0; }

/* Limites */
.limits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 8px; }
.limits li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: .96rem; padding: 4px 0;
}
.limits svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.limits .no svg { color: #B3543F; }
.limits .yes svg { color: var(--accent); }
.limits ul { margin: 0; padding: 0; }
.limits-col h3 { margin-bottom: 16px; }

/* Tarifs */
.pricing {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.pricing .divider { background: var(--line); }
.big-price { font-family: var(--font-serif); font-size: 3rem; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.big-price small { font-size: 1rem; font-family: var(--font-sans); color: var(--ink-3); font-weight: 500; }
.pricing ul { padding: 0; margin: 0; }
.pricing li { list-style: none; display: flex; gap: 10px; font-size: .95rem; padding: 6px 0; }
.pricing li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }

/* FAQ */
.faq { max-width: 780px; }
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.alt details { background: var(--paper); }
summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p { padding: 0 24px 20px; margin: 0; font-size: .96rem; }

/* CTA final */
.cta-final {
  background: var(--ink); border-radius: var(--radius-lg); padding: 56px;
  text-align: center; color: #DCCDBC;
}
.cta-final h2 { color: #fff; }
.cta-final .price-chip { background: rgba(192,139,46,.18); color: #E7C177; border-color: rgba(192,139,46,.35); }
.cta-final .call-number { color: #fff; }
.cta-final .call-number:hover { color: var(--gold); }
.cta-final p { max-width: 54ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 56px 0 32px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink); margin: 0 0 14px; font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a, .footer-grid li { font-size: .92rem; color: var(--ink-3); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-brand p { font-size: .92rem; color: var(--ink-3); max-width: 40ch; margin-top: 14px; }
.footer-legal {
  border-top: 1px solid var(--line); padding-top: 24px;
  font-size: .84rem; color: var(--ink-3);
}
.footer-legal p { margin: 0 0 8px; }

/* ---------- Pages légales ---------- */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { margin-bottom: .3em; }
.legal .updated { font-size: .88rem; color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .box {
  background: var(--gold-soft); border: 1px solid #EBD9AE;
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0;
}
.legal .box p:last-child { margin-bottom: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin-bottom: 24px; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .grid-2, .steps, .limits { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .pricing .divider { height: 1px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 74px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 4px;
  }
  .nav.open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .header-inner .btn-primary { display: none; }
  section { padding: 60px 0; }
  .cta-final { padding: 36px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .call-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Espace client (plateforme.html / espace.html)
   ===================================================================== */

.platform-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: start; }

.auth-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md);
}
.auth-card h2 { font-size: 1.5rem; margin-bottom: .3em; }
.auth-card .sub { font-size: .93rem; color: var(--ink-3); margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .84rem; font-weight: 600; color: var(--ink);
  margin-bottom: 7px;
}
.field .hint { font-size: .8rem; color: var(--ink-3); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="date"], input[type="time"],
select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: .97rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.switch-mode {
  text-align: center; font-size: .9rem; color: var(--ink-3);
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
}
.switch-mode button {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--accent-dark); font-weight: 600; font-size: .9rem;
  font-family: var(--font-sans); text-decoration: underline;
}

.alert {
  border-radius: 10px; padding: 13px 16px; font-size: .9rem;
  margin-bottom: 18px; line-height: 1.5;
}
.alert-error { background: #FBEAE6; color: #8C3A26; border: 1px solid #F0C9BF; }
.alert-ok { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #BFD9D1; }
.alert-info { background: var(--gold-soft); color: #7A5512; border: 1px solid #EBD9AE; }
.hidden { display: none !important; }

/* Tableau de bord */
.dash-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 32px;
}
.dash-head p { margin: 0; color: var(--ink-3); font-size: .95rem; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tabs button {
  background: none; border: none; cursor: pointer;
  padding: 12px 18px; font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.panel-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }

.item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px;
}
.item-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 8px;
}
.item-head strong { color: var(--ink); font-size: 1rem; }
.item .meta { font-size: .82rem; color: var(--ink-3); margin-bottom: 10px; }
.item p { font-size: .93rem; margin: 0; }
.item .response {
  margin-top: 14px; padding: 14px 16px;
  background: var(--accent-soft); border-radius: 10px;
  font-size: .92rem; color: var(--accent-dark);
}

.badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; white-space: nowrap;
}
.badge-recue { background: var(--gold-soft); color: #7A5512; }
.badge-en_cours { background: #E6EEF5; color: #2C4256; }
.badge-repondue, .badge-traitee { background: var(--accent-soft); color: var(--accent-dark); }
.badge-cloturee, .badge-refusee { background: var(--paper-2); color: var(--ink-3); }

.empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 40px 24px; text-align: center; color: var(--ink-3); font-size: .94rem;
}

.side-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.side-card h3 { margin-bottom: 16px; }
.side-card .rgpd-list { list-style: none; padding: 0; margin: 0; }

@media (max-width: 940px) {
  .platform-grid, .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .tabs { overflow-x: auto; }
  .field-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   Photographie éditoriale (direction reprise du modèle Canva)
   ===================================================================== */

.hero { padding: 60px 0 40px; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 60px; }

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bloc d'appel posé sur la photo : le tarif reste collé au numéro. */
.call-inline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.call-inline .num { display: flex; flex-direction: column; gap: 6px; }
.call-inline .call-number { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
.call-inline .price-chip { margin: 0; align-self: flex-start; }
.call-inline .btn { flex: none; }

/* Bande photo pleine largeur, façon éditorial */
.photo-band { position: relative; }
.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo-split .shot {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3;
}
.photo-split .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-split.reverse .shot { order: 2; }

.section-head .eyebrow { color: var(--accent); }

@media (max-width: 940px) {
  .hero-grid, .photo-split { grid-template-columns: 1fr; gap: 36px; }
  .photo-split.reverse .shot { order: 0; }
  .call-inline { flex-direction: column; align-items: stretch; }
  .call-inline .btn { width: 100%; }
}
