/* PhotoTri — sobre et lumineux : fond clair, texte presque noir, jaune de l'icône en accent.
   Mode sombre automatique. Polices système uniquement (aucun outil externe, promesse de confidentialité). */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #0d0f14;
  --muted: #5d6270;
  --line: #e6e7eb;
  --accent: #00758a;        /* liens : turquoise de l'app, contrasté */
  --accent-2: #005f70;
  --brand: #ffc53d;         /* jaune de l'icône */
  --brand-ink: #3d2b00;
  --btn: #0d0f14;
  --on-btn: #ffffff;
  --keep: #0a8a6a;
  --tip: #e9f6f3;
  --warn: #fff4e0;
  --shadow: 0 1px 2px rgba(13, 15, 20, .06), 0 12px 32px rgba(13, 15, 20, .08);
  --radius: 22px;
  --round: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c10;
    --bg-alt: #14161c;
    --surface: #181a21;
    --ink: #f4f5f7;
    --muted: #a3a8b5;
    --line: #262933;
    --accent: #5fd4e4;
    --accent-2: #8fe3ee;
    --brand-ink: #ffd877;
    --btn: #ffffff;
    --on-btn: #0b0c10;
    --keep: #45e2c0;
    --tip: #10302c;
    --warn: #33280f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--round); line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; margin: 2em 0 .5em; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 1.6em 0 .4em; letter-spacing: -.01em; line-height: 1.25; }
main { overflow-x: clip; }

/* boutons : pilule noire (blanche en mode sombre) */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px;
  background: var(--btn); color: var(--on-btn); font-weight: 700; text-decoration: none;
  transition: transform .15s, opacity .15s;
}
.btn:hover { color: var(--on-btn); transform: translateY(-1px); opacity: .92; }
.btn svg { width: 1.35em; height: 1.35em; flex-shrink: 0; fill: currentColor; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; }
/* paire App Store + Google Play : petite ligne d'accroche au-dessus du nom du magasin */
.stores { display: flex; flex-wrap: wrap; gap: .7rem; }
.final-cta .stores, .plan .stores { justify-content: center; }
.stores .btn { min-width: 11em; }
.stores .btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.stores .btn small { font-weight: 500; font-size: .7em; opacity: .85; }
@media (max-width: 420px) { .stores .btn { flex: 1 1 100%; justify-content: center; } }

/* en-tête et pied de page */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem max(16px, calc((100% - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand {
  display: flex; align-items: center; gap: .55rem; text-decoration: none;
  font: 800 1.2rem var(--round); letter-spacing: -.02em; color: var(--ink);
}
.brand img { border-radius: 22%; }
.site-header nav { display: flex; align-items: center; gap: 1.2rem; }
.site-header nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.site-header nav a:not(.btn):hover { color: var(--accent); }
.head-stores { display: flex; gap: .45rem; }
.head-stores .btn { padding: .45em .9em; font-size: .86rem; gap: .4em; }
.head-stores .btn svg { width: 1.15em; height: 1.15em; }
@media (max-width: 860px) { .site-header nav > a.nav-link { display: none; } }
@media (max-width: 480px) {
  .head-stores .btn { padding: .5em; } .head-stores .btn b { display: none; }
  .site-header nav { gap: .6rem; }
}

.site-footer {
  margin-top: 4rem; padding: 3rem max(16px, calc((100% - 1160px) / 2)) 2rem;
  background: var(--bg-alt); border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted);
}
.foot-cols { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 2rem; }
.foot-cols nav { display: flex; flex-direction: column; gap: .4rem; }
.foot-cols a:not(.brand) { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--accent); }
.foot-h { font-weight: 700; color: var(--ink); margin: 0 0 .3rem; }
.copy { margin-top: 2.5rem; font-size: .82rem; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }

/* mise en page */
.section { padding: 5.5rem max(16px, calc((100% - 1160px) / 2)); }
.section.alt { background: var(--bg-alt); }
.section > h2:first-child { margin-top: 0; }
.center { text-align: center; }
.sub { color: var(--muted); margin-top: -.2rem; font-size: 1.15rem; }
.small { font-size: .88rem; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); line-height: 1.5; }
.eyebrow { font-weight: 700; font-size: .95rem; color: var(--muted); margin: 0; letter-spacing: -.005em; }
.pill {
  display: inline-flex; align-items: center; gap: .4em; padding: .3em .8em; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 28%, transparent); color: var(--brand-ink);
  font-weight: 700; font-size: .82rem;
}

/* cards (guides) */
.cards { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card a {
  display: block; height: 100%; padding: 1.5rem; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.card a:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h2, .card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.card p { color: var(--muted); margin: 0 0 .8rem; font-size: .96rem; }
.more { color: var(--accent); font-weight: 700; font-size: .92rem; }
@media (max-width: 860px) { .cards, .cards-3 { grid-template-columns: 1fr; } }
.page-head { padding: 3.5rem max(16px, calc((100% - 1120px) / 2)) 0; }
.page-head + .cards { padding: 0 max(16px, calc((100% - 1120px) / 2)); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.section > .faq h2 { text-align: center; margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.final-cta { text-align: center; padding: 4.5rem 16px; }
.final-cta h2 { margin-top: 0; }
.final-cta p { color: var(--muted); margin-bottom: 1.6rem; }

/* articles */
.prose { max-width: 720px; margin: 0 auto; padding: 2.5rem 16px 0; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.45rem, 3vw, 1.95rem); letter-spacing: -.02em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--round); background: var(--bg-alt); }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.byline { color: var(--muted); font-size: .92rem; margin-top: -.4rem; }
.quick {
  font-size: 1.1rem; background: var(--bg-alt); border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem; border-radius: 0 12px 12px 0;
}
.tip, .warn { padding: 1rem 1.2rem; border-radius: 12px; margin: 1.4rem 0; }
.tip { background: var(--tip); }
.warn { background: var(--warn); }
.prose .faq { margin-top: 3rem; }
.cta-box {
  display: flex; gap: 1.2rem; align-items: flex-start; margin: 3rem 0 1rem; padding: 1.5rem;
  border-radius: var(--radius); background: var(--surface); border: 2px solid var(--accent); box-shadow: var(--shadow);
}
.cta-box img { border-radius: 22%; flex-shrink: 0; }
.cta-box p { margin: 0 0 1rem; color: var(--muted); }
.cta-box .cta-title { font: 800 1.2rem var(--round); color: var(--ink); margin-bottom: .4rem; }
@media (max-width: 520px) { .cta-box { flex-direction: column; } }
.related { max-width: 720px; margin: 2rem auto 0; padding: 0 16px; }
.related h2 { font-size: 1.3rem; }
.related ul { padding-left: 1.1rem; }

/* language switch */
.site-header nav a.lang {
  display: inline-block; padding: .25em .6em; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em;
}
.site-header nav a.lang:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .site-header nav a.lang { display: inline-block; } }


/* ---------- accueil ---------- */
/* téléphone : vraie capture de l'app dans un cadre sombre */
.phone {
  position: relative; width: 100%; max-width: 290px; aspect-ratio: 460 / 1000;
  border-radius: 44px; padding: 10px; background: #0d0f14;
  box-shadow: 0 0 0 1.5px #2b2f3a inset, 0 30px 60px -12px rgba(13, 15, 20, .35), 0 12px 24px -8px rgba(13, 15, 20, .2);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem;
  padding: 4.5rem max(16px, calc((100% - 1160px) / 2)) 4rem;
  background: radial-gradient(70% 60% at 85% 30%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%);
}
.hero h1 { margin-top: .5rem; }
.hero-cta { display: flex; flex-direction: column; gap: .9rem; margin: 2rem 0 1.4rem; }
.hero-note { color: var(--muted); font-size: .92rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; font-size: .95rem; }
.trust li::before { content: "✓ "; color: var(--keep); font-weight: 800; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.hero-visual .phone { z-index: 2; max-width: 270px; }
.hero-visual .float {
  position: absolute; z-index: 1; width: 44%; max-width: 210px; border-radius: 22px; box-shadow: var(--shadow);
}
.hero-visual .f1 { left: 0; top: 12%; transform: rotate(-7deg); }
.hero-visual .f2 { right: 0; bottom: 8%; transform: rotate(6deg); }
.tag {
  position: absolute; z-index: 3; padding: .55em .95em; border-radius: 14px; font-weight: 700; font-size: .88rem;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); white-space: nowrap;
}
.tag-a { left: 2%; bottom: 20%; } .tag-b { right: 0; top: 10%; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 2rem; }
  .hero-visual { min-height: 0; padding: 1rem 0; }
  .hero-visual .phone { max-width: 230px; }
  .hero-visual .float { width: 36%; }
}
@media (max-width: 480px) { .tag { font-size: .76rem; } .hero-visual .phone { max-width: 200px; } }

/* bandeau de confiance */
.trustbar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem;
  padding: 1.3rem 16px; border-block: 1px solid var(--line); font-weight: 600; color: var(--muted); font-size: .95rem;
}

/* grands blocs : texte + visuel */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature.flip .feature-visual { order: -1; }
.feature h2 { margin: .5rem 0 .6rem; }
.feature p { color: var(--muted); font-size: 1.1rem; }
.feature-visual { display: flex; justify-content: center; align-items: center; gap: 1.2rem; }
.feature-visual .phone { max-width: 270px; }
.feature-visual .phone + .phone { margin-top: 3rem; }
.points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.points li { position: relative; padding-left: 2rem; font-weight: 500; }
.points li::before {
  content: "✓"; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
  background: color-mix(in srgb, var(--keep) 16%, transparent); color: var(--keep);
}
.quote {
  margin: 1.6rem 0 0; padding: 1.1rem 1.3rem; border-radius: 16px; background: var(--bg-alt);
  font-weight: 600; color: var(--ink);
}
.section.alt .quote { background: var(--surface); }
.recaps { display: flex; justify-content: center; }
.recap { width: 50%; max-width: 280px; border-radius: 22px; box-shadow: var(--shadow); }
.recap.r1 { transform: rotate(-4deg) translateY(14px); margin-right: -8%; z-index: 1; }
.recap.r2 { transform: rotate(3deg); z-index: 2; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature .feature-visual, .feature.flip .feature-visual { order: -1; }
  .feature-visual .phone { max-width: 210px; }
  .feature-visual .phone + .phone { margin-top: 2rem; }
}
@media (max-width: 480px) { .feature-visual .phone { max-width: 46%; } .feature-visual .phone:only-child { max-width: 230px; } }

/* grille « et aussi » */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.8rem; }
.bento article {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
}
.section.alt .bento article { border-color: transparent; }
.bento .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem;
  background: color-mix(in srgb, var(--brand) 30%, transparent); margin-bottom: 1rem;
}
.bento h3 { margin: 0 0 .35rem; font-size: 1.12rem; }
.bento p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* confidentialité */
.privacy { background: #0d0f14; color: #f4f5f7; }
@media (prefers-color-scheme: dark) { .privacy { background: #14161c; } }
.privacy-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.privacy h2 { margin-top: .4rem; color: #fff; }
.privacy p { color: rgba(244, 245, 247, .78); font-size: 1.1rem; }
.privacy a { color: var(--brand); font-weight: 700; }
.privacy .eyebrow { color: var(--brand); }

/* tarif */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 1.2rem; margin: 2.8rem 0 1rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.plan h3 { margin: 0; }
.plan-main { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price { font: 800 2.6rem var(--round); letter-spacing: -.03em; margin: .3rem 0 .8rem; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { padding-left: 1.1rem; margin: 0 0 1.4rem; }
.plan li { margin: .3rem 0; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

.final-cta.big { padding: 6rem 16px; background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%); }
.final-cta.big img { margin: 0 auto 1.2rem; border-radius: 22%; box-shadow: var(--shadow); }
.final-cta.big h2 { max-width: 760px; margin-inline: auto; }
.points-card { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; }
.points-card .points { margin: 0; gap: 1rem; font-size: 1.05rem; }
.points-card .points li::before { background: color-mix(in srgb, var(--brand) 45%, transparent); color: var(--brand-ink); }
