/* Site vitrine Tandeméo. Identité de l'appli : encre, papier, corail (elle), sarcelle (lui), moutarde (le lien).
   Titres en Lora, texte en Inter, polices servies depuis ce dossier (aucune ressource externe). */
@font-face { font-family: "Lora"; src: url("fonts/Lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #211D32;
  --ink-soft: #474256;
  --paper: #F5EFE4;
  --card: #FFFCF7;
  --muted: #6F697B;
  --line: #E8DFD2;
  --coral: #F07862;
  --coral-deep: #C9523D;
  --teal: #55AFA0;
  --teal-deep: #2F7D70;
  --mustard: #D9B66F;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 26px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-deep); }
.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 58ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--card); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px;
  padding: 16px 26px; font: 600 1.02rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--coral); color: #2A1410; }
.btn-primary:hover { background: #F48B77; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-soon { background: rgba(245, 239, 228, .12); color: var(--paper); cursor: default; box-shadow: inset 0 0 0 1.5px rgba(245, 239, 228, .35); }
.on-paper .btn-soon { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn small { font-weight: 400; opacity: .8; }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(33, 29, 50, .96); color: var(--paper); backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 600 1.3rem/1 var(--display); margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: rgba(245, 239, 228, .82); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: #fff; }
.lang { display: flex; border-radius: 999px; background: rgba(245, 239, 228, .1); padding: 3px; font: 600 0.82rem/1 var(--body); }
.lang a, .lang span { padding: 7px 11px; border-radius: 999px; color: rgba(245, 239, 228, .75); text-decoration: none; }
.lang span { background: var(--paper); color: var(--ink); }


/* Ouverture */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: 12%; top: -120px; border: 54px solid rgba(240, 120, 98, .13); }
.hero::after { width: 620px; height: 620px; right: -140px; top: 60px; border: 54px solid rgba(85, 175, 160, .13); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 84px) 0; }
.hero .eyebrow { color: var(--mustard); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(40px, 7vw, 84px); }
.hero .lead { color: rgba(245, 239, 228, .8); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 0.9rem; color: rgba(245, 239, 228, .62); }
.phones { position: relative; height: clamp(380px, 46vw, 560px); align-self: end; }
.phone { position: absolute; width: min(56%, 290px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--paper);
  box-shadow: 0 0 0 8px #15121F, 0 0 0 9.5px rgba(245, 239, 228, .16), 0 40px 70px -30px rgba(0, 0, 0, .7); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-a { left: 4%; bottom: -16%; transform: rotate(-6deg); }
.phone-b { right: 2%; bottom: -30%; transform: rotate(5deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .phones { height: 340px; }
  .phone { width: min(46%, 230px); }
}

/* Chiffres */
.facts { background: var(--card); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 24px; padding-block: 26px; }
.fact b { display: block; font: 600 clamp(1.6rem, 3.4vw, 2.3rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 700px) { .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections */
section { padding-block: clamp(56px, 9vw, 104px); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Essayer une carte */
.try { background: var(--paper); }
.playcard { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -36px rgba(33, 29, 50, .35);
  display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.playcard .kind { display: flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-deep); }
.playcard .kind::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: rgba(240, 120, 98, .18); box-shadow: inset 0 0 0 2px var(--coral); }
.playcard .q { font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.25 var(--display); min-height: 2.5em; }
.opts { display: grid; gap: 12px; }
.opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--paper);
  font: 600 1.02rem/1.3 var(--body); width: 100%; transition: background .15s ease, transform .15s ease; }
.opt:hover { transform: translateX(3px); }
.opt i { font-style: normal; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--muted); font-size: 0.9rem; }
.opt[aria-pressed="true"] { background: var(--coral); color: #2A1410; }
.opt[aria-pressed="true"] i { background: rgba(255, 255, 255, .55); color: #2A1410; }
.opt.partner { background: rgba(85, 175, 160, .22); }
.verdict { min-height: 3.2em; color: var(--ink-soft); }
.verdict strong { color: var(--ink); }
.playcard .next { align-self: flex-start; background: var(--ink); color: var(--paper); }

/* Trois façons de jouer */
.modes { background: var(--card); }
.mode-switch { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 22px; background: var(--paper); margin-bottom: 26px; }
.mode-switch button { all: unset; cursor: pointer; padding: 13px 20px; border-radius: 17px; font: 600 0.98rem/1 var(--body); color: var(--ink-soft); }
.mode-switch button[aria-selected="true"] { color: #1B1826; }
.mode-switch button[data-mode="local"][aria-selected="true"] { background: var(--coral); }
.mode-switch button[data-mode="live"][aria-selected="true"] { background: var(--teal); }
.mode-switch button[data-mode="async"][aria-selected="true"] { background: #8FB3CC; }
.mode-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.mode-panel[hidden] { display: none; }
.mode-panel .text { display: flex; flex-direction: column; gap: 14px; }
.mode-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mode-panel li { padding-left: 30px; position: relative; }
.mode-panel li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--teal); }
.shot { border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--paper); box-shadow: 0 0 0 7px var(--ink), 0 30px 50px -30px rgba(33, 29, 50, .5); max-width: 300px; width: 100%; justify-self: center; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .mode-panel { grid-template-columns: 1fr; } .shot { max-width: 250px; } }
.no-js .mode-switch { display: none; }
.no-js .mode-panel[hidden] { display: grid !important; margin-top: 48px; }

/* Jeux */
.games-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.games-list li { padding: 11px 17px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 0.97rem; }
.games-list li:nth-child(3n+1) { box-shadow: inset 0 0 0 1.5px rgba(240, 120, 98, .55); }
.games-list li:nth-child(3n+2) { box-shadow: inset 0 0 0 1.5px rgba(85, 175, 160, .7); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.trio figure { margin: 0; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.trio figcaption { text-align: center; color: var(--ink-soft); font-size: 0.96rem; max-width: 30ch; }
.trio figcaption b { display: block; color: var(--ink); font: 600 1.15rem/1.3 var(--display); }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr; } }

/* Habitude */
.habit { background: var(--ink); color: var(--paper); }
.habit .eyebrow { color: var(--mustard); }
.habit .lead { color: rgba(245, 239, 228, .78); }
.habit-list { display: grid; gap: 22px; margin-top: 30px; }
.habit-list div { padding-left: 22px; border-left: 3px solid var(--mustard); }
.habit-list h3 { margin-bottom: 4px; }
.habit-list p { color: rgba(245, 239, 228, .74); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.duo .shot { box-shadow: 0 0 0 7px #15121F, 0 0 0 8.5px rgba(245, 239, 228, .16); }
.duo .shot:last-child { margin-top: 48px; }

/* Vie privée */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promise { background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.promise p { color: var(--ink-soft); }
@media (max-width: 700px) { .promises { grid-template-columns: 1fr; } }

/* Prix */
.pricing { background: var(--card); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.plan.dark { background: var(--ink); color: var(--paper); }
.plan .price { font: 600 clamp(2.2rem, 5vw, 3.2rem)/1 var(--display); }
.plan .price small { font: 400 1rem/1 var(--body); opacity: .75; margin-left: 8px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-deep); font-weight: 600; }
.plan.dark li::before { color: var(--mustard); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Questions */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.18rem/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--body); color: var(--coral-deep); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); max-width: 68ch; }

/* Appel final et pied de page */
.final { background: var(--coral); color: #2A1410; text-align: center; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final .btn-soon { background: var(--ink); color: var(--paper); box-shadow: none; }
.final .btn-primary { background: var(--ink); color: var(--paper); }
.site-foot { background: var(--ink); color: rgba(245, 239, 228, .72); font-size: 0.93rem; }
.site-foot .wrap { padding-block: 44px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-foot h4 { margin: 0 0 12px; font: 600 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); }
.site-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-foot a { color: var(--paper); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .brand { margin-bottom: 12px; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(245, 239, 228, .14); padding-top: 20px; font-size: 0.86rem; }
@media (max-width: 700px) { .site-foot .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .opt { transition: none; } }

/* ---------------------------------------------------------------------------------------------------------------
   Pages et sections ajoutées : galerie, question du jour, publics, visuels à partager, questions, presse.
   --------------------------------------------------------------------------------------------------------------- */
.site-nav a[aria-current="page"] { color: #fff; box-shadow: 0 2px 0 var(--mustard); }
@media (max-width: 980px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 8px; }
  .site-nav { display: flex; order: 3; width: 100%; overflow-x: auto; white-space: nowrap; gap: 20px; padding-bottom: 4px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
}
.page-hero .wrap { grid-template-columns: 1fr; padding-block: clamp(44px, 7vw, 84px); }
.page-hero .hero-copy { padding-bottom: 0; max-width: 820px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }

/* Galerie d'écrans : bande qui défile, alignée sur la grille puis jusqu'au bord. */
.gallery-sec { background: var(--card); padding-bottom: clamp(40px, 6vw, 72px); }
.gallery { display: flex; gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter))) 28px;
  scrollbar-width: thin; scrollbar-color: var(--coral) transparent; }
.gallery figure { margin: 0; flex: none; width: clamp(190px, 22vw, 250px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 14px; }
.gallery figcaption { text-align: center; font-size: 0.93rem; color: var(--ink-soft); }
.gallery .shot { max-width: none; }

/* Question du jour */
.daily { background: var(--paper); }
.daily-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; min-width: 0; position: relative; overflow: hidden; }
.daily-card::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -70px; top: -90px; border: 26px solid rgba(217, 182, 111, .16); pointer-events: none; }
.daily-date { font: 600 0.78rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mustard); min-height: 1em; }
.daily-card .q { font: 600 clamp(1.5rem, 3.2vw, 2.1rem)/1.25 var(--display); position: relative; }

/* Publics */
.audiences { background: var(--card); }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.audience { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.audience .shot { max-width: none; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.audience > div:last-child { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.audience p { color: var(--ink-soft); }
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; } .audience .shot { aspect-ratio: 16 / 10; } }

/* Visuels à partager */
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.social-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-card { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 40px -30px rgba(33, 29, 50, .55); transition: transform .18s ease; }
.social-card:hover { transform: translateY(-4px) rotate(-1deg); }
.social-card img { width: 100%; height: auto; }
@media (max-width: 760px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Page « questions pour couples » */
.q-theme { padding-block: clamp(36px, 6vw, 64px); }
.q-theme:nth-of-type(even) { background: var(--card); }
.q-theme .eyebrow { font-variant-numeric: tabular-nums; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-item { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 1.08rem/1.35 var(--display); transition: box-shadow .15s ease, transform .15s ease; }
.q-theme:nth-of-type(even) .q-item { background: var(--paper); }
.q-item:hover { box-shadow: inset 0 0 0 2px var(--coral); transform: translateY(-2px); }
.q-item:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.q-item i { flex: none; font: 600 0.74rem/1 var(--body); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); }
.q-item.done i { color: var(--teal-deep); }
@media (max-width: 760px) { .q-list { grid-template-columns: 1fr; } }
.promises.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing .promise { background: var(--paper); }
@media (max-width: 820px) { .promises.three { grid-template-columns: 1fr; } }

/* Page « visuels et presse » */
.split.top { align-items: start; }
.brief { margin: 0; display: grid; gap: 0; }
.brief > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.brief dt { font: 600 0.78rem/1.6 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-deep); }
.brief dd { margin: 0; }
.copy-box { background: var(--card); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.dl { display: inline-block; font-weight: 600; font-size: 0.93rem; }
.logo-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); align-items: flex-start; }
.logo-row figure, .press-shots figure, .feature { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.logo-tile { width: 200px; height: 200px; border-radius: var(--radius); display: grid; place-items: center; background: var(--paper); }
.logo-tile.dark { background: var(--ink); }
.logo-tile img { width: 120px; height: 120px; border-radius: 26px; }
.swatches { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.swatches li { display: flex; align-items: center; gap: 12px; }
.swatches span { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(33, 29, 50, .15); }
.swatches code { color: var(--muted); font-size: 0.9rem; }
.feature img { border-radius: var(--radius); width: 100%; max-width: 820px; }
.press-shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.press-shots .shot { max-width: none; box-shadow: 0 0 0 5px var(--ink); border-radius: 20px; }
.press-shots figcaption { font-size: 0.85rem; }
@media (max-width: 900px) { .press-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .press-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brief > div { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .social-card, .q-item { transition: none; } }
