/* Phototex France — feuille de style unique */
:root {
  --navy: #232c6e;
  --navy-deep: #161c4a;
  --red: #d7193f;
  --red-dark: #b3122f;
  --ink: #1d2233;
  --muted: #5b6275;
  --line: #e4e6ee;
  --paper: #ffffff;
  --soft: #f5f6fa;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22, 28, 74, .06), 0 8px 24px rgba(22, 28, 74, .08);
  --wrap: 1180px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-deep); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* Bandeau échantillon */
.topbar { background: var(--navy-deep); color: #fff; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #ffd2db; }
.topbar .tel { white-space: nowrap; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 120px; }
.brand span { font: 700 .8rem/1.2 var(--font-head); color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; text-transform: uppercase; letter-spacing: .08em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .97rem; }
.nav a:hover { background: var(--soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 600 .95rem var(--font-body); color: var(--navy); cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .brand span { display: none; }
  .nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 650 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn-primary, .nav a.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover, .nav a.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: #ffe3e9; color: var(--navy-deep); }

/* Fil d'Ariane */
.breadcrumb { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; color: #a1a6b6; }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* Héros */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(22, 28, 74, .94) 0%, rgba(22, 28, 74, .78) 45%, rgba(22, 28, 74, .2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(64px, 11vw, 140px) 0; }
.hero-inner { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #e3e6f5; }
.eyebrow { display: inline-block; font: 700 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: 14px; }
.hero .eyebrow { color: #ff8da4; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: clamp(28px, 5vw, 64px); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.tag { font: 700 .75rem var(--font-head); color: var(--red); letter-spacing: .1em; text-transform: uppercase; }
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.media-card .body { padding: 22px 24px 26px; }

.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fde8ed; color: var(--red); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; }

.figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; }
.figure.tall img { aspect-ratio: 4 / 5; object-fit: cover; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.stat strong { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--font-head); color: var(--red); margin-bottom: 8px; }
.stat span { color: var(--muted); }

.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps .card { counter-increment: step; }
.steps .card::before { content: counter(step, decimal-leading-zero); display: block; font: 800 1.1rem var(--font-head); color: var(--red); margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 550; font-size: .95rem; }

.quote { border-left: 4px solid var(--red); padding: 8px 0 8px 24px; font-size: 1.15rem; color: var(--navy-deep); margin: 0; }
.quote footer { font-size: .95rem; color: var(--muted); margin-top: 10px; }

.cta { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 64px); display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { color: #d9ddf2; margin: 0; }
.cta .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 720px) { .cta .actions { justify-content: flex-start; } }

/* Formulaire */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cdd1dc; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(35, 44, 110, .15); }
.form .hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-note { padding: 12px 16px; border-radius: 10px; background: #eef6ee; color: #1f5e2a; display: none; }
.form-note.show { display: block; }
address { font-style: normal; }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: #c9cde6; font-size: .95rem; margin-top: clamp(56px, 8vw, 104px); }
.site-footer .wrap { padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ff8da4; text-decoration: underline; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* En-tête de page avec visuel */
.page-hero { padding: clamp(36px, 6vw, 72px) 0; background: linear-gradient(180deg, var(--soft), #fff); }
.page-hero .wrap { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); align-items: center; }
.page-hero .lead { font-size: 1.2rem; color: var(--muted); }
.page-hero .figure img { aspect-ratio: 4 / 3; object-fit: cover; }
.key-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.key-points li::before { content: "✓"; color: var(--red); margin-right: 6px; font-weight: 800; }

/* Sommaire de page */
.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy); }
.subnav a:hover { background: var(--navy); color: #fff; }
[id] { scroll-margin-top: 140px; }

/* Bandeau de chiffres */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; }
.trust div { padding: 28px 20px; text-align: center; }
.trust div + div { border-left: 1px solid var(--line); }
@media (max-width: 640px) { .trust div + div { border-left: 0; border-top: 1px solid var(--line); } }
.trust strong { display: block; font: 800 1.9rem/1.1 var(--font-head); color: var(--red); }
.trust span { color: var(--muted); font-size: .95rem; }

/* Lignes de caractéristiques */
.feature-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-rows > div { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-rows h3 { margin: 0; font-size: 1.05rem; }
.feature-rows p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .feature-rows > div { grid-template-columns: 1fr; } }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy-deep); color: #fff; font-family: var(--font-head); }
tbody th { color: var(--navy-deep); width: 26%; }
tbody tr:last-child > * { border-bottom: 0; }
th .tag, td .tag { display: block; margin-bottom: 4px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; color: var(--navy-deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 600 1.5rem var(--font-head); color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Cartes-liens */
.link-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(22, 28, 74, .08), 0 16px 32px rgba(22, 28, 74, .12); }
.link-card .more { margin-top: auto; padding-top: 12px; font-weight: 650; color: var(--red); }
.link-card .more::after { content: " →"; }

.two-col { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.prose { max-width: 720px; }
.note { font-size: .85rem; color: var(--muted); margin-top: 20px; }

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