/* Site vitrine de Notele (notele.ca). Couleurs et polices de la marque Euracte, les mêmes que l'application. */
@font-face { font-family: "Atkinson"; src: url("/polices/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/polices/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/polices/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --encre: #1d1a33;
  --encre-2: #2a2648;
  --corail: #d9472b;
  --corail-fonce: #c23e23;
  --creme: #f7f1e8;
  --creme-fonce: #efe5d6;
  --beurre: #f6c65b;
  --lilas: #cfc6f2;
  --texte: #3b3852;
  --bord: #e8dfd0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font-family: "Atkinson", system-ui, sans-serif; font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--beurre); outline-offset: 3px; border-radius: 6px; }
#fonctions a:focus-visible, .appel a:focus-visible { outline-color: var(--encre); }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--beurre); color: var(--encre); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.evitement:focus { top: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.titre { font-family: "Bricolage", "Atkinson", sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.sur-titre { font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; }
.barre { display: block; width: 56px; height: 6px; border-radius: 6px; background: var(--corail); margin-bottom: 22px; }
.icone { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn .icone { width: 20px; height: 20px; }
.btn-corail { background: var(--corail-fonce); color: #fff; }
.btn-encre { background: var(--encre); color: var(--creme); }
.btn-contour-clair { border-color: var(--creme); color: var(--creme); }
.btn-contour-encre { border-color: var(--encre); color: var(--encre); }

/* En-tête et héros (fond encre, comme la page de connexion) */
.haut { background: var(--encre); color: var(--creme); }
.heros { background: var(--encre); color: var(--creme); position: relative; overflow: hidden; padding: 0; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; position: relative; z-index: 2; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo svg { height: 34px; width: auto; }
.logo span { margin-top: 6px; padding-left: 38px; font-size: 15px; color: var(--lilas); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a.lien { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--creme); opacity: .9; }
.heros-grille { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-top: 44px; padding-bottom: 96px; position: relative; z-index: 2; }
.heros h1 { font-size: 64px; }
.heros .sur-titre { color: var(--beurre); }
.heros .intro { font-size: 21px; color: rgba(247,241,232,.88); margin: 24px 0 34px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.reperes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 16px; color: var(--lilas); padding: 0; list-style: none; }
.reperes li { display: flex; align-items: center; gap: 10px; }
.reperes li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--corail); }
.soleil { position: absolute; right: -140px; bottom: -220px; width: 640px; height: 640px; border-radius: 50%; background: var(--beurre); z-index: 1; }
.point { position: absolute; right: 150px; bottom: 440px; width: 44px; height: 44px; border-radius: 50%; background: var(--corail); z-index: 1; }

/* Téléphone (illustration de l'accueil de Notele, données fictives) */
.telephone-zone { display: flex; justify-content: center; }
.telephone { width: 318px; border-radius: 46px; background: #100e20; padding: 11px; box-shadow: 0 30px 60px rgba(16,14,32,.45); }
.ecran { border-radius: 36px; overflow: hidden; background: var(--creme); color: var(--encre); font-size: 13px; line-height: 1.35; }
.e-haut { background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 22px 16px 12px; border-bottom: 1px solid var(--bord); }
.e-haut b { display: block; font-size: 13px; }
.e-haut small { color: #6b6880; font-size: 11px; }
.cloche { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--corail-fonce); color: var(--corail-fonce); display: grid; place-items: center; }
.cloche .icone { width: 16px; height: 16px; }
.cloche i { position: absolute; top: -5px; right: -5px; background: #b3261e; color: #fff; font-style: normal; font-weight: 700; font-size: 10px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; }
.e-corps { padding: 16px 16px 14px; }
.e-date { color: #6b6880; font-size: 12px; }
.e-titre { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 27px; letter-spacing: -0.02em; margin: 2px 0 14px; }
.e-carte { background: #fff; border: 1.5px solid #f3b3a6; border-radius: 16px; overflow: hidden; }
.e-carte .e-carte-titre { margin: 0; padding: 10px 12px; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 14px; color: #9c2a17; border-bottom: 1px solid #f6d6cf; display: flex; gap: 6px; align-items: center; }
.e-carte .e-carte-titre .icone { width: 16px; height: 16px; }
.e-ligne { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #f6e7e3; }
.e-ligne:last-child { border-bottom: 0; }
.e-ligne .pastille { width: 28px; height: 28px; border-radius: 8px; background: #fdf0ed; color: #9c2a17; display: grid; place-items: center; }
.e-ligne .pastille .icone { width: 15px; height: 15px; }
.e-ligne b { display: block; font-size: 12px; }
.e-ligne span { font-size: 11.5px; color: #9c2a17; font-weight: 700; }
.e-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.e-boutons div { border-radius: 999px; padding: 9px 8px; text-align: center; font-weight: 700; font-size: 12px; }
.e-boutons .plein { background: var(--corail-fonce); color: #fff; }
.e-boutons .vide { border: 2px solid var(--encre); }
.e-bas { background: #fff; border-top: 1px solid var(--bord); display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 4px 14px; text-align: center; font-size: 10px; color: #4a4760; }
.e-bas div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.e-bas .icone { width: 18px; height: 18px; }
.e-bas .actif .rond { background: var(--lilas); border-radius: 999px; padding: 3px 12px; }
.e-bas .actif { color: var(--encre); font-weight: 700; }
.e-bas .plus { width: 26px; height: 26px; border-radius: 50%; background: var(--corail); color: #fff; display: grid; place-items: center; }
.e-bas .plus .icone { width: 16px; height: 16px; stroke-width: 2.6; }

/* Sections */
section { padding: 104px 0; }
.entete-section { max-width: 760px; margin-bottom: 52px; }
.entete-section h2 { font-size: 46px; }
.entete-section p.lead { font-size: 20px; color: var(--texte); margin: 20px 0 0; }
.sur-titre.corail { color: var(--corail-fonce); }

.cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: 24px; padding: 30px 26px 30px; }
.carte .pict { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.carte .pict .icone { width: 26px; height: 26px; }
.carte:nth-child(1) .pict { background: var(--lilas); color: var(--encre); }
.carte:nth-child(2) .pict { background: #fbe2db; color: var(--corail-fonce); }
.carte:nth-child(3) .pict { background: #fcebc2; color: #7a5410; }
.carte:nth-child(4) .pict { background: var(--encre); color: var(--beurre); }
.carte h3 { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 23px; letter-spacing: -0.01em; margin: 0 0 10px; }
.carte p { margin: 0; color: var(--texte); font-size: 17px; }

.confid { background: var(--encre); color: var(--creme); }
.confid-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.confid h2 { font-size: 46px; }
.confid .sur-titre { color: var(--beurre); }
.confid p.lead { font-size: 20px; color: rgba(247,241,232,.85); margin: 20px 0 0; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pt { background: var(--encre-2); border-radius: 22px; padding: 26px 24px; }
.pt .icone { color: var(--beurre); width: 28px; height: 28px; margin-bottom: 16px; }
.pt h3 { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 21px; margin: 0 0 8px; }
.pt p { margin: 0; color: rgba(247,241,232,.82); font-size: 16.5px; }

.appel { padding: 104px 0; }
.appel-boite { background: var(--beurre); border-radius: 36px; padding: 64px 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.appel-boite > div { position: relative; z-index: 1; }
.appel-boite::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.35); }
.appel h2 { font-size: 44px; }
.appel p { font-size: 20px; margin: 16px 0 0; color: #3a3320; }
.appel .actions { justify-content: flex-end; position: relative; z-index: 1; }

footer { background: var(--encre); color: var(--creme); padding: 56px 0 44px; }
.pied { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.pied p { margin: 18px 0 0; color: var(--lilas); font-size: 16px; max-width: 30em; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 16px; }
.pied ul a { text-decoration: none; font-weight: 700; }
.pied ul a:hover, .nav a.lien:hover { text-decoration: underline; }
.droits { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(207,198,242,.2); font-size: 14px; color: var(--lilas); }

/* Tablette */
@media (max-width: 1080px) {
  .cartes { grid-template-columns: 1fr 1fr; }
  .heros h1 { font-size: 54px; }
  .confid-grille { grid-template-columns: 1fr; gap: 40px; }
  .appel-boite { grid-template-columns: 1fr; }
  .appel .actions { justify-content: flex-start; }
}
/* Tablette debout : le héros passe sur une colonne, le téléphone sous le texte */
@media (max-width: 960px) {
  .heros-grille { grid-template-columns: 1fr; gap: 56px; padding-bottom: 72px; }
  .soleil { width: 520px; height: 520px; right: -170px; bottom: -190px; }
  .point { right: 40px; bottom: 420px; }
}
/* Téléphone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .entete { padding-top: 20px; padding-bottom: 20px; }
  .logo svg { height: 28px; }
  .logo span { padding-left: 31px; font-size: 13px; }
  .nav a.lien { display: none; }
  .nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .heros-grille { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 64px; gap: 48px; }
  .heros h1 { font-size: 42px; }
  .heros .intro { font-size: 18.5px; margin: 18px 0 26px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .soleil { width: 420px; height: 420px; right: -170px; bottom: -150px; }
  .point { right: 12px; bottom: 330px; width: 30px; height: 30px; }
  .telephone { width: 280px; }
  section, .appel { padding: 72px 0; }
  .heros { padding: 0; }
  .entete-section { margin-bottom: 36px; }
  .entete-section h2, .confid h2 { font-size: 34px; }
  .entete-section p.lead, .confid p.lead { font-size: 18px; }
  .cartes, .points { grid-template-columns: 1fr; gap: 16px; }
  .carte { padding: 26px 22px; }
  .appel-boite { padding: 40px 26px; border-radius: 28px; }
  .appel h2 { font-size: 32px; }
  .appel p { font-size: 18px; }
}

/* Page 404 */
.introuvable-corps { min-height: 100dvh; display: flex; align-items: center; padding: 48px 0; }
.introuvable-corps .logo { margin-bottom: 56px; }
.introuvable-corps .sur-titre { color: var(--beurre); }
.introuvable-corps h1 { font-size: 52px; }
.introuvable-corps .intro { font-size: 20px; color: rgba(247,241,232,.88); margin: 20px 0 30px; max-width: 32em; }
@media (max-width: 760px) { .introuvable-corps h1 { font-size: 38px; } }
