/* ixidia.fr : feuille de style commune (accueil + pages légales) */

/* Polices auto-hébergées (licence SIL OFL, voir assets/fonts) */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --turquoise: #00A5C8;
  --turquoise-700: #007A99;
  --turquoise-800: #00627B;
  --turquoise-50: #F2FAFC;
  --turquoise-100: #D9F0F6;
  --ink: #12313B;
  --muted: #5B6B71;
  --line: #DCE7EA;
  --white: #FFFFFF;
  --radius: 16px;
  --font-brand: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise-700); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-brand); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--turquoise-800);
}

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.logo-ixidia { height: 48px; width: auto; margin-left: -6px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--turquoise-700); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--turquoise-700); color: var(--white); }
.btn-primary:hover { background: var(--turquoise-800); }
.btn-ghost { color: var(--turquoise-800); background: transparent; padding-inline: 4px; }
.btn-ghost:hover { color: var(--ink); }
.btn svg { flex: none; }

/* Accroche */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; background: var(--turquoise-50); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin-top: 16px; max-width: 22ch; }
.hero .lead { margin-top: 20px; max-width: 36em; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.motif { position: absolute; right: -8vmin; top: -6vmin; width: 52vmin; height: 52vmin; opacity: .08; pointer-events: none; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 40em; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* Bloc PubManager */
.product {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 60px -32px rgba(0, 98, 123, .35);
}
.product-logo { width: min(340px, 100%); }
.product h2 { margin-top: 28px; }
.product .desc { margin-top: 14px; color: var(--muted); font-size: 18px; }
.product .actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.refs { display: grid; gap: 16px; }
.refs-4 { grid-template-columns: 1fr 1fr; }
.refs-4 .ref { padding: 18px 20px; }
.ref { padding: 22px 24px; border-radius: var(--radius); background: var(--turquoise-50); }
.ref strong { display: block; font-family: var(--font-brand); font-size: 18px; }
.ref span { color: var(--muted); font-size: 15px; }

/* Rossel + repères */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p + p { margin-top: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline .year { font-family: var(--font-brand); font-weight: 800; color: var(--turquoise-700); font-size: 18px; font-variant-numeric: tabular-nums; }
.timeline .what { color: var(--ink); }

/* Nos solutions : PubManager (principal) puis SoundMark (secondaire, même gabarit en plus discret) */
.solutions { padding-bottom: 32px; }
.solutions-label { display: block; margin-bottom: 16px; }
.also { padding-top: 0; background: var(--white); }
#soundmark { padding-top: 0; }
.product-secondary { padding: 40px 56px; box-shadow: none; background: var(--white); }
.product-secondary .product-logo { width: min(280px, 100%); }
.product-secondary h3 { margin-top: 24px; font-size: 24px; }
.product-secondary .desc { font-size: 16px; }


/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.contact-item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item .label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.contact-item .value { margin-top: 8px; font-weight: 600; }
.contact-item .value a { text-decoration: none; }
.contact-item .value a:hover { text-decoration: underline; }
.contact-item .hint { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* Pages légales */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; font-weight: 600; }
.todo { background: #FFF4D6; color: #7A4B00; padding: 0 6px; border-radius: 4px; font-weight: 600; }

/* Tablette */
@media (max-width: 900px) {
  .product, .product-secondary { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Téléphone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .hero { padding: 56px 0 48px; }
  section { padding: 56px 0; }
  .product, .product-secondary { padding: 24px; border-radius: 18px; }
  .product .btn-primary { width: 100%; justify-content: center; }
  .timeline li { grid-template-columns: 60px 1fr; }
  .refs-4 { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) { .motif { display: none; } }
