/* Askim · page d'accueil (resources/views/pages/home.blade.php)
   Même charte que getaskim.com.tr : bleu nuit, rouge thé, brume. Police : Gabarito (licence OFL, hébergée ici).
   Tout le contenu de la page est dans <div class="ak">. L'en-tête est celui du site (partials/header.blade.php,
   styles dans header-menu.css). Les seules règles qui touchent au layout sont signalées « layout » ci-dessous. */

@font-face { font-family: "Gabarito"; src: url("/assets/home/fonts/gabarito.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

/* Base commune reprise de l'ancien home.css : le header et le footer du layout comptent dessus. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; background: #0E1A33; }

/* layout : la dernière section de la page fait déjà l'appel au téléchargement, le bandeau du layout ferait doublon ici. */
.askim-band { display: none; }

.ak {
  --nuit: #0E1A33;        /* bleu nuit : texte et zones sombres */
  --rouge: #D2301F;       /* rouge thé : boutons */
  --rouge-fonce: #A92519; /* liens, survol */
  --brume: #F2F4F8;       /* panneaux clairs */
  --papier: #FFFFFF;
  --gris: #566078;        /* texte secondaire */
  --trait: #DCE1EB;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --gap: clamp(4.25rem, 9vw, 7rem);
  --r-lg: 2rem;
  --sys: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --font: "Gabarito", var(--sys);
  position: relative; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--nuit); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Langues que Gabarito ne couvre pas en entier : police du système pour toute la page */
html[lang="ru"] .ak, html[lang="kk"] .ak, html[lang="ky"] .ak, html[lang="ar"] .ak, html[lang="az"] .ak, html[lang="uz"] .ak { --font: var(--sys); }

.ak img { display: block; max-width: 100%; height: auto; }
.ak a { color: inherit; }
.ak ul, .ak ol { list-style: none; }
.ak h1, .ak h2, .ak h3 { font-weight: 800; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.ak h2 { font-size: clamp(2rem, 6.2vw, 3.1rem); }
.ak h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }
.ak :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.ak [id] { scroll-margin-top: 1.5rem; }
.ak .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.ak .lnk { color: var(--rouge-fonce); font-weight: 600; }
.ak .pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem 1.25rem .65rem; border-radius: 999px; background: var(--rouge); color: #fff; font-weight: 700; line-height: 1.1; text-align: center; text-decoration: none; white-space: nowrap; }
.ak .pill:hover { background: var(--rouge-fonce); }

/* Couverture. Par défaut (téléphone, tablette debout) : l'image verticale, le titre dans le ciel, les stores en bas. */
.ak .hero { position: relative; isolation: isolate; display: flex; min-height: 36rem; min-height: max(36rem, 100svh); padding-block: 5.4rem 4.7rem; overflow: hidden; background: #E3A698; color: #fff; }
.ak .hero__bg { position: absolute; inset: 0; z-index: -2; }
.ak .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 0; }
.ak .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 51, 0) 49%, rgba(14, 26, 51, .76) 68%, rgba(14, 26, 51, .96) 100%); }
.ak .hero__in { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.ak .hero h1 { color: var(--nuit); font-size: clamp(2.5rem, min(13.5vw, 7.6vh), 4.4rem); font-size: clamp(2.5rem, min(13.5vw, 7.6svh), 4.4rem); line-height: .96; text-shadow: 0 0 1rem rgba(255, 224, 208, .65), 0 0 .25rem rgba(255, 224, 208, .45); }
.ak .hero__lede { max-width: 31rem; font-size: clamp(1.05rem, 2.6vw, 1.25rem); line-height: 1.4; }
.ak .hero__note { margin-top: .85rem; max-width: 30rem; font-size: .93rem; line-height: 1.4; color: #E6EAF3; }
/* Un mot plus long que sa colonne (langues à mots longs sur petit écran) passe à la ligne au lieu de déborder */
.ak h2, .ak h3, .ak p, .ak li, .ak summary, .ak figcaption { overflow-wrap: break-word; }

/* Badges des stores : fichiers officiels d'Apple et de Google, non modifiés */
.ak .stores { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.ak .badge { display: block; border-radius: .6rem; }
.ak .badge img { width: auto; height: clamp(2.5rem, 11.9vw, 3.25rem); }
.ak .scan { display: none; }

/* Feuille blanche qui recouvre le bas de la couverture */
.ak .sheet { position: relative; z-index: 5; margin-top: -2.5rem; padding-block: clamp(3rem, 8vw, 5.5rem) var(--gap); border-radius: var(--r-lg); background: var(--papier); }
.ak .sheet > section + section { margin-top: var(--gap); }
.ak .sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.ak .sec__lede { margin-top: .8rem; max-width: 38rem; font-size: 1.1rem; color: var(--gris); }

/* Bande des écrans de l'application */
.ak .strip { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: .5rem 1rem; }
.ak .strip::-webkit-scrollbar { display: none; }
.ak .strip__list { display: grid; grid-auto-flow: column; grid-auto-columns: min(68vw, 16.5rem); gap: 1.1rem; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.ak .shot { scroll-snap-align: center; }
.ak .shot img { width: 100%; aspect-ratio: 1287 / 2796; border-radius: 1.5rem; background: var(--rouge); }
.ak .shot h3 { margin-top: 1rem; }
.ak .shot p { margin-top: .35rem; font-size: 1rem; line-height: 1.5; color: var(--gris); }
.ak .strip__nav { display: none; gap: .6rem; }
.ak .strip__btn { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 2px solid var(--nuit); border-radius: 50%; background: none; color: var(--nuit); cursor: pointer; }
.ak .strip__btn:hover { background: var(--nuit); color: #fff; }
.ak .strip__btn svg { width: 1.1rem; height: 1.1rem; }

/* Vitrine : deux captures de l'appli à côté du texte */
.ak .vitrine { display: grid; gap: 2.25rem; }
.ak .vitrine__vis { position: relative; display: flex; padding: clamp(1.5rem, 5vw, 2.25rem) 1.25rem 2.6rem clamp(1.25rem, 5vw, 2.25rem); border-radius: var(--r-lg); background: var(--brume); }
.ak .tel { flex: none; width: min(60%, 16rem); border: .5rem solid #10141F; border-radius: 2.3rem; overflow: hidden; background: #fff; box-shadow: 0 1.25rem 2.75rem rgba(14, 26, 51, .22); }
.ak .tel img { width: 100%; }
.ak .reglages { position: absolute; right: clamp(.75rem, 3vw, 1.5rem); bottom: 4.25rem; width: min(55%, 17.5rem); border-radius: 1.2rem; box-shadow: 0 1.25rem 2.75rem rgba(14, 26, 51, .26); }
.ak .vitrine__vis figcaption { position: absolute; left: clamp(1.25rem, 5vw, 2.25rem); right: 1.25rem; bottom: .75rem; font-size: .88rem; color: var(--gris); }
.ak .vitrine__txt > p { margin-top: 1rem; max-width: 34rem; }
.ak .points { display: grid; gap: 1.6rem; margin-top: 2rem; }
.ak .points li { padding-inline-start: 1.3rem; border-inline-start: 3px solid var(--rouge); }
.ak .points p { margin-top: .35rem; color: var(--gris); }

/* Film : l'affiche d'abord, la vidéo (Vimeo) seulement au clic */
.ak .film { position: relative; margin-top: 1.75rem; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--nuit); }
.ak .film__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.ak .film__play img { width: 100%; height: 100%; object-fit: cover; }
.ak .film__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 51, 0) 48%, rgba(14, 26, 51, .6) 100%); }
.ak .film__cta { position: absolute; z-index: 1; left: 50%; bottom: 9%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .7rem; min-height: 3.25rem; padding: .7rem 1.5rem .8rem 1.3rem; border-radius: 999px; background: var(--rouge); color: #fff; font-weight: 700; font-size: 1.15rem; line-height: 1.1; white-space: nowrap; }
.ak .film__tri { width: 0; height: 0; border-style: solid; border-width: .45em 0 .45em .75em; border-color: transparent transparent transparent #fff; }
.ak .film__play:hover .film__cta { background: var(--rouge-fonce); }
.ak .film__play:focus-visible { outline: 3px solid #fff; outline-offset: -8px; border-radius: var(--r-lg); }
.ak .film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ak .film__note { margin-top: .9rem; max-width: 44rem; font-size: .92rem; color: var(--gris); }

/* Panneaux */
.ak .panel { padding: clamp(2rem, 6vw, 4.25rem) clamp(1.5rem, 5vw, 4.25rem); border-radius: var(--r-lg); }
.ak .panel--nuit { background: var(--nuit); color: #fff; }
.ak .panel--brume { background: var(--brume); }
.ak .steps { display: grid; gap: 2rem; margin-top: 2.25rem; counter-reset: etape; }
.ak .steps li { counter-increment: etape; }
.ak .steps li::before { content: counter(etape); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--rouge); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.ak .steps p { margin-top: .4rem; color: #D5DBE8; }
.ak .panel .stores { margin-top: 2.5rem; }
.ak .tips { display: grid; gap: 1.75rem; margin-top: 2rem; }
.ak .tips p { margin-top: .35rem; color: var(--gris); }
.ak .panel__foot { margin-top: 2rem; font-weight: 600; }

/* Photo et texte */
.ak .duo { display: grid; gap: 2rem; align-items: center; }
.ak .duo__media { position: relative; }
.ak .duo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.ak .duo__body p { margin-top: 1rem; }
.ak .chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.ak .chips a { display: inline-block; padding: .5rem 1rem .6rem; border-radius: 999px; background: var(--brume); font-weight: 600; line-height: 1.2; text-decoration: none; }
.ak .chips a:hover { background: var(--trait); }

/* Langues : les boutons changent la langue du site, comme le sélecteur du header */
.ak .split { display: grid; gap: 1.5rem; }
.ak .langs { display: flex; flex-wrap: wrap; gap: .6rem; }
.ak .langs button { display: inline-block; padding: .6rem 1.1rem .7rem; border: 2px solid var(--nuit); border-radius: 999px; background: none; color: var(--nuit); font: inherit; font-weight: 700; line-height: 1.2; cursor: pointer; }
.ak .langs button:hover, .ak .langs [aria-pressed="true"] { background: var(--nuit); color: #fff; }
.ak .langs [lang="ar"], .ak .langs [lang="ru"], .ak .langs [lang="kk"], .ak .langs [lang="ky"], .ak .langs [lang="az"], .ak .langs [lang="uz"] { font-family: var(--sys); font-size: .93em; font-weight: 600; letter-spacing: 0; }

/* Questions */
.ak .faq details { border-bottom: 1px solid var(--trait); }
.ak .faq details:first-child { border-top: 1px solid var(--trait); }
.ak .faq summary { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.1rem 1.2rem; font-weight: 700; font-size: 1.2rem; line-height: 1.25; cursor: pointer; list-style: none; }
.ak .faq summary::-webkit-details-marker { display: none; }
.ak .faq summary::after { content: ""; flex: none; width: .7rem; height: .7rem; margin-block: .3rem 0; margin-inline: 0 .3rem; border-right: 2.5px solid var(--rouge); border-bottom: 2.5px solid var(--rouge); transform: rotate(45deg); transition: transform .2s; }
.ak .faq details[open] summary::after { transform: translateY(.3rem) rotate(-135deg); }
.ak .faq details p { padding-bottom: 1.3rem; max-width: 44rem; color: var(--gris); }

/* Dernière section : téléchargement */
.ak .son { position: relative; isolation: isolate; z-index: 1; margin-top: -2.5rem; padding-block: calc(clamp(4.5rem, 12vw, 8.5rem) + 2.5rem) clamp(4.5rem, 12vw, 8.5rem); background: var(--nuit); color: #fff; }
.ak .son__bg { position: absolute; inset: 0; z-index: -2; }
.ak .son__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 60%; }
.ak .son::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 51, .45) 0%, rgba(14, 26, 51, .82) 55%, rgba(14, 26, 51, .92) 100%); }
.ak .son__in { max-width: 34rem; }
.ak .son__in > p { margin-top: 1rem; font-size: 1.15rem; }
.ak .son .hero__note { font-size: .93rem; }

/* Bouton de téléchargement fixé en bas sur téléphone */
.ak .dock { position: fixed; inset: auto 0 0 0; z-index: 900; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .25s; }
.ak .dock.is-on { transform: none; }
.ak .dock .pill { display: flex; width: 100%; min-height: 3.1rem; font-size: 1.1rem; }

/* Petits écrans, ou écrans peu hauts : le bas de la couverture reste sous les visages */
@media (max-width: 23.5rem), (max-height: 44rem) and (max-aspect-ratio: 5/4) {
  .ak .hero { padding-bottom: 4.1rem; }
  .ak .hero__lede .lede2 { display: none; }
}
@media (min-width: 40rem) {
  .ak .tips { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
  .ak .vitrine__vis { padding-left: 3rem; }
}
/* layout : sur la couverture verticale (ciel clair), l'en-tête du site passe du blanc au bleu nuit. */
@media not all and (min-width: 36rem) and (min-aspect-ratio: 5/4) {
  .ah { color: #0E1A33; }
}
/* Écran large et couché : l'image panoramique, le texte à gauche */
@media (min-width: 36rem) and (min-aspect-ratio: 5/4) {
  .ak .hero { align-items: center; min-height: 40rem; min-height: min(92svh, 56rem); padding-block: 8rem 7rem; }
  .ak .hero__bg img { object-position: 30% 55%; }
  .ak .hero::after { background: linear-gradient(90deg, rgba(14, 26, 51, .9) 0%, rgba(14, 26, 51, .72) 24%, rgba(14, 26, 51, .22) 44%, rgba(14, 26, 51, 0) 56%), linear-gradient(180deg, rgba(14, 26, 51, .84) 0%, rgba(14, 26, 51, .45) 13%, rgba(14, 26, 51, 0) 30%); }
  .ak .hero__in { display: block; }
  .ak .hero__txt, .ak .hero__get { max-width: 27rem; }
  .ak .hero h1 { color: #fff; font-size: clamp(3rem, 5.2vw, 4.6rem); line-height: .98; text-shadow: none; }
  .ak .hero__lede { margin-top: 1.1rem; }
  .ak .hero__lede .lede2 { display: inline; }
}
/* Téléphone couché : même mise en page, plus serrée */
@media (min-width: 36rem) and (max-width: 47.99rem) and (min-aspect-ratio: 5/4) {
  .ak .hero { padding-block: 5.5rem 4.5rem; }
  .ak .hero__bg img { object-position: 80% 50%; }
  .ak .hero__txt, .ak .hero__get { max-width: 20rem; }
  .ak .hero h1 { font-size: 2.6rem; }
}
@media (min-width: 48rem) {
  .ak .son::after { background: linear-gradient(90deg, rgba(14, 26, 51, .25) 0%, rgba(14, 26, 51, .72) 48%, rgba(14, 26, 51, .92) 100%); }
  .ak .son__bg img { object-position: 30% 60%; }
  .ak .son__in { margin-left: auto; }
}
@media (min-width: 56rem) {
  .ak .strip__nav { display: flex; }
  .ak .shot { scroll-snap-align: start; }
  .ak .strip { scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
  .ak .shot:nth-child(even) { margin-top: 2.25rem; }
  .ak .vitrine { grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
  .ak .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .ak .duo { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 5rem); }
  .ak .split { grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: start; }
  .ak .dock { display: none; }
}
/* QR codes : seulement là où l'on ne peut pas installer l'appli (ordinateur) */
@media (min-width: 64rem) and (min-aspect-ratio: 5/4) {
  .ak .scan { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; }
  .ak .scan ul { display: flex; gap: .7rem; padding: .55rem .65rem .4rem; border-radius: 1rem; background: #fff; color: var(--nuit); }
  .ak .scan li { display: grid; justify-items: center; gap: .15rem; font-weight: 700; font-size: .78rem; line-height: 1.2; }
  .ak .scan img { width: 4.6rem; height: 4.6rem; }
  .ak .scan p { max-width: 11.5rem; font-size: .95rem; line-height: 1.35; }
}
@media (prefers-reduced-motion: no-preference) {
  .ak .hero__bg img { animation: ak-approche 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .ak .hero__txt, .ak .hero__get > * { animation: ak-monte .7s cubic-bezier(.2, .7, .2, 1) both; }
  .ak .hero__get > :nth-child(1) { animation-delay: .08s; }
  .ak .hero__get > :nth-child(2) { animation-delay: .16s; }
  .ak .hero__get > :nth-child(3), .ak .hero__get > :nth-child(4) { animation-delay: .24s; }
  @keyframes ak-approche { from { transform: scale(1.05); } }
  @keyframes ak-monte { from { opacity: 0; transform: translateY(1rem); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ak .dock, .ak .faq summary::after { transition: none; }
}
