/* Anipet — site vitrine. Mobile d'abord, aucune dépendance externe. */

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --amber: #e3a10a;
  --amber-dark: #b97f00;
  --amber-soft: #fdf1d6;
  --ink: #1d2320;
  --ink-2: #4a524e;
  --muted: #6d756f;
  --line: #e8e2d4;
  --cream: #fbf8f1;
  --white: #ffffff;
  --green: #23824f;
  --green-soft: #e3f5e9;
  --blue: #0d6efd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 35, 32, .06), 0 8px 24px rgba(29, 35, 32, .07);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section--white { background: var(--white); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #f0b021; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { padding: .45em 1em; font-size: .92rem; }
.btn--block { width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: var(--amber); color: #fff; border-radius: 6px; padding: 3px 10px; text-decoration: none; font-size: 1.2rem; letter-spacing: .03em; }
.logo b { font-weight: 800; }
.logo span { font-weight: 400; opacity: .95; }
.nav { display: none; gap: 22px; margin-left: 28px; }
.nav a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.login-link { white-space: nowrap; font-weight: 700; text-decoration: none; color: var(--ink-2); padding: 6px 4px; font-size: .95rem; }
.login-link:hover { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--amber-soft) 62%); }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 18px; }
.hero-note { font-size: .92rem; color: var(--muted); margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); font-weight: 700; }
.trust li::before { content: "✓"; color: var(--green); margin-right: 6px; }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 440px; }
.phone {
  width: 230px; border-radius: 34px; background: #111; padding: 9px;
  box-shadow: 0 30px 60px rgba(29, 35, 32, .25), 0 2px 6px rgba(0, 0, 0, .2);
}
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 720 / 1451; object-fit: cover; object-position: top; background: #fbfbfb; }
.phone--mock img { object-fit: contain; object-position: top; }
.phones .phone--back { position: absolute; transform: translate(-36%, 28px) rotate(-6deg) scale(.88); opacity: .97; }
.phones .phone--front { position: relative; transform: translate(22%, 0) rotate(3deg); }

/* Bandeau douleurs */
.pains { display: grid; gap: 14px; }
.pain { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pain strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.pain p { margin: 0; color: var(--ink-2); }

/* Tournée */
.split { display: grid; gap: 40px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 22px 52px; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: var(--ink);
  display: grid; place-items: center; font-weight: 800;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { display: block; }
.steps span { color: var(--ink-2); }

.mail-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; max-width: 360px; margin: 18px auto 0; font-size: .95rem;
}
.mail-card .from { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.mail-card .from i { width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.mail-card .meta { color: var(--muted); font-size: .82rem; margin-left: auto; font-weight: 600; }
.mail-card p { margin: 10px 0 0; color: var(--ink-2); }
.mail-card .subject { color: var(--ink); font-weight: 800; }

.visual { display: flex; flex-direction: column; align-items: center; }

/* Fonctionnalités */
.features { display: grid; gap: 14px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--amber-dark); }
.feature p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.tag-soon { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: #e9eefc; color: #3554b8; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }

/* Suisse */
.swiss { display: grid; gap: 14px; margin-top: 8px; }
.swiss-item { display: flex; gap: 14px; align-items: flex-start; }
.swiss-item .cross { flex: none; width: 30px; height: 30px; border-radius: 6px; background: #d52b1e; position: relative; margin-top: 2px; }
.swiss-item .cross::before, .swiss-item .cross::after { content: ""; position: absolute; background: #fff; }
.swiss-item .cross::before { left: 12px; top: 6px; width: 6px; height: 18px; }
.swiss-item .cross::after { left: 6px; top: 12px; width: 18px; height: 6px; }
.swiss-item p { margin: 0; color: var(--ink-2); }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.stat { text-align: center; background: var(--white); border-radius: var(--radius); padding: 16px 6px; border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.4rem, 5vw, 2.1rem); font-weight: 800; color: var(--amber-dark); line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--ink-2); font-weight: 700; }

/* Tarifs */
.plans { display: grid; gap: 18px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--ink); font-size: .78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .2em; }
.plan .for { color: var(--muted); font-size: .95rem; min-height: 2.8em; }
.price { margin: 10px 0 18px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.price span { color: var(--ink-2); font-weight: 700; }
.price-alt { font-size: .9rem; color: var(--muted); margin-bottom: 16px; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; font-size: .98rem; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.plan li.no { color: #9aa19c; }
.plan li.no::before { border: 0; width: 12px; height: 3px; background: #c9cdc9; transform: none; top: 15px; }
.plan .highlight { font-weight: 800; }
.plans-note { text-align: center; color: var(--ink-2); margin-top: 26px; font-size: .95rem; }

/* Bientôt */
.roadmap { display: grid; gap: 12px; }
.road { background: var(--white); border: 1px dashed #b9c4e6; border-radius: var(--radius); padding: 16px 18px; }
.road strong { display: block; }
.road span { color: var(--ink-2); font-size: .95rem; }

/* Formulaire */
.trial { background: var(--ink); color: #f3efe6; }
.trial h2 { color: #fff; }
.trial .lead { color: #d6d1c5; }
.trial-grid { display: grid; gap: 32px; }
.trial-points { list-style: none; padding: 0; margin: 20px 0 0; }
.trial-points li { padding: 6px 0 6px 30px; position: relative; }
.trial-points li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 800; }
.form { background: var(--white); color: var(--ink); border-radius: 18px; padding: 22px; }
.form .row { display: grid; gap: 14px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 4px; }
.field label small { font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid #d8d2c4; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber-dark); outline: none; box-shadow: 0 0 0 3px var(--amber-soft); }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 700; display: none; }
.form-status.ok { display: block; background: var(--green-soft); color: #145c36; }
.form-status.err { display: block; background: #fdecea; color: #8e1f14; }
.form-status a { color: inherit; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.5rem; color: var(--amber-dark); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* Pied de page */
.footer { background: #151a17; color: #b9b5aa; padding: 40px 0 28px; font-size: .95rem; }
.footer a { color: #e6e1d5; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 22px; }
.footer .logo { margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 4px 0; }
.footer .copy { border-top: 1px solid #2c332f; margin-top: 28px; padding-top: 18px; font-size: .85rem; }

/* Pages simples (mentions légales, 404) */
.page { max-width: 780px; margin: 0 auto; padding: 48px 16px 64px; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page p, .page li { color: var(--ink-2); }

/* Tablette et ordinateur */
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
  .pains { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .form .row--2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .phone { width: 250px; }
}
@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .nav { display: flex; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .phones { min-height: 560px; }
  .phone { width: 270px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .visual { order: -1; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .roadmap { grid-template-columns: repeat(4, 1fr); }
  .trial-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
  .stats { max-width: 720px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 479px) {
  .logo { font-size: 1.05rem; padding: 2px 8px; }
  .header .btn--small { padding: .4em .85em; font-size: .88rem; }
  .login-link { font-size: .88rem; }
  .phones .phone--back { transform: translate(-28%, 28px) rotate(-6deg) scale(.85); }
  .plan .for { min-height: 0; }
}
@media (max-width: 359px) {
  .login-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
