:root {
  --navy-950: #031b2e;
  --navy-900: #063f70;
  --blue-700: #0871b6;
  --blue-500: #3aa7d8;
  --blue-100: #eaf5fb;
  --gold-700: #b84e00;
  --gold-500: #f58220;
  --gold-300: #ffbd66;
  --gold-100: #fff1df;
  --ink: #10283a;
  --muted: #5b6f7e;
  --line: #d9e6ee;
  --paper: #ffffff;
  --soft: #f5f9fc;
  --cream: #fffaf0;
  --success: #16754b;
  --danger: #b32635;
  --warning: #8a5b00;
  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 34px;
  --shadow-s: 0 12px 34px rgba(3, 27, 46, .08);
  --shadow-l: 0 28px 75px rgba(3, 27, 46, .18);
  --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", "Trebuchet MS", sans-serif; line-height: 1.62; text-rendering: optimizeLegibility; }
body.modal-open, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: "Avenir Next", "Trebuchet MS", sans-serif; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; }
h3 { line-height: 1.25; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 4px; }
::selection { color: var(--navy-950); background: var(--gold-300); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(52px, 6vw, 80px) 0; }
.section-soft { background: var(--soft); }
.section-cream { background: var(--cream); }
.section-navy { color: #fff; background: var(--navy-950); }
.section-blue { color: #fff; background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 11px 16px; color: #fff; background: var(--navy-950); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { margin-bottom: 12px; color: var(--blue-700); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-300); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.16rem); }
.section-heading { max-width: 770px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 17px; }
.section-heading p:last-child { margin-bottom: 0; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 60px; }
.section-heading.split > p { margin-bottom: 0; }
.verified { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: .78rem; font-weight: 800; }
.verified::before { content: "✓"; width: 18px; height: 18px; display: grid; place-items: center; color: #fff; background: var(--success); border-radius: 50%; font-size: .66rem; }
.source-line { margin: 12px 0 0; color: var(--muted); font-size: .79rem; }
.source-line a { color: var(--blue-700); text-decoration: underline; }

/* En-tête partagé */
.utility-bar { color: #d9e9f4; background: var(--navy-950); font-size: .78rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-links { display: flex; gap: 18px; }
.utility-links button, .utility-links a { padding: 0; border: 0; color: inherit; background: transparent; font-weight: 700; cursor: pointer; }
.utility-links button:hover, .utility-links a:hover { color: var(--gold-300); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(6,63,112,.1); backdrop-filter: blur(18px); transition: box-shadow .18s ease; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(3,27,46,.1); }
.nav-shell { width: min(1380px, calc(100% - 40px)); min-height: 76px; margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; color: var(--navy-900); font-weight: 900; letter-spacing: .08em; }
.brand-monogram { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-500); background: var(--navy-900); box-shadow: 0 8px 18px rgba(6,63,112,.18); font-size: .92rem; font-weight: 900; letter-spacing: 0; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link, .submenu-toggle { min-height: 44px; padding: 10px 12px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid #d96600; border-radius: 999px; color: var(--navy-950); background: linear-gradient(135deg,#ffbd66,#f58220); font-size: .82rem; font-weight: 900; cursor: pointer; box-shadow: 0 12px 28px rgba(245,130,32,.28); }
.nav-link:hover, .nav-link.active, .submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] { color: var(--navy-950); border-color: #a74300; background: linear-gradient(135deg,#ffc977,#ff7a00); box-shadow: 0 16px 34px rgba(245,130,32,.42); transform: translateY(-2px); }
.submenu-toggle::after { content: "⌄"; font-size: .82rem; }
.submenu { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; padding: 9px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: .16s ease; }
.nav-item:hover .submenu, .submenu-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 10px 11px; border-radius: 9px; color: var(--ink); font-size: .86rem; font-weight: 700; }
.submenu a:hover { color: var(--navy-950); background: var(--gold-100); }
.header-actions { display: flex; align-items: center; gap: 7px; }
.icon-button { width: 43px; height: 43px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.icon-button:hover { transform: translateY(-2px); background: var(--blue-100); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: var(--navy-900); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.language-toggle { min-width: 66px; height: 43px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: #fff; font-size: .78rem; font-weight: 900; cursor: pointer; }
.menu-toggle { display: none; }
.mobile-panel { display: none; }

/* Boutons */
.button { min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; line-height: 1.15; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-3px); }
.button-gold { color: var(--navy-950); border-color: #d96600; background: linear-gradient(135deg,#ff9f2f,var(--gold-500)); box-shadow: 0 14px 32px rgba(245,130,32,.36); }
.button-gold:hover { background: linear-gradient(135deg,#ffb45d,#ff7a00); box-shadow: 0 18px 42px rgba(245,130,32,.46); }
.button-blue { color: #fff; background: var(--navy-900); box-shadow: 0 12px 28px rgba(6,63,112,.2); }
.button-blue:hover { background: var(--blue-700); }
.button-outline { color: var(--navy-950); border-color: #f58220; background: #fff7ef; box-shadow: 0 10px 24px rgba(245,130,32,.16); }
.button-outline-light { color: var(--navy-950); border-color: #ffbd66; background: linear-gradient(135deg,#ffbd66,#f58220); box-shadow: 0 12px 30px rgba(245,130,32,.34); }
.button-small { min-height: 41px; padding: 10px 15px; font-size: .84rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 11px; }
.text-link { color: var(--blue-700); font-weight: 900; }
.text-link:hover { text-decoration: underline; }

/* Hero de l’accueil */
.home-hero { position: relative; min-height: calc(100svh - 110px); overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 22%, rgba(58,167,216,.36), transparent 31%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 54%, var(--blue-700)); }
.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent, #000 52%); }
.hero-orb { position: absolute; right: -180px; top: -170px; width: 520px; height: 520px; border: 90px solid rgba(245,169,21,.15); border-radius: 50%; }
.home-hero-grid { min-height: calc(100svh - 110px); padding: clamp(70px,8vw,110px) 0; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(50px,8vw,110px); position: relative; z-index: 1; }
.home-hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3.1rem,7vw,7rem); line-height: .94; letter-spacing: -.07em; }
.hero-subtitle { max-width: 760px; margin-bottom: 31px; color: #d8e9f3; font-size: clamp(1.1rem,1.7vw,1.3rem); }
.hero-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); gap: 10px; }
.hero-action-grid .button { justify-content: flex-start; }
.hero-portal-card { position: relative; padding: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-l); background: rgba(255,255,255,.1); box-shadow: var(--shadow-l); backdrop-filter: blur(18px); }
.hero-text-mark { display: inline-flex; margin-bottom: 25px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; color: var(--gold-300); background: rgba(3,27,46,.34); font-weight: 900; letter-spacing: .08em; }
.hero-portal-card h2 { margin-bottom: 12px; color: #fff; font-size: clamp(1.8rem,3.3vw,2.8rem); }
.hero-portal-card p { color: #dbeaf3; }
.hero-mini-stats { margin-top: 25px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.hero-mini-stats div { padding: 15px; border-radius: 14px; background: rgba(3,27,46,.28); }
.hero-mini-stats strong { display: block; color: var(--gold-300); font-size: 1.45rem; }
.hero-mini-stats span { font-size: .8rem; }

/* Recherche globale */
.search-band { position: relative; z-index: 5; margin-top: -36px; }
.global-search-card { padding: 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-l); }
.global-search-card svg { width: 27px; height: 27px; fill: none; stroke: var(--blue-700); stroke-width: 2; }
.global-search-card input { min-width: 0; padding: 8px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: clamp(1rem,2vw,1.22rem); }
.global-search-card input::placeholder { color: #788c9a; }
.search-hint { color: var(--muted); font-size: .78rem; }

/* Cartes et grilles */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card-grid.four { grid-template-columns: repeat(4,1fr); }
.portal-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.portal-card:hover { transform: translateY(-6px); border-color: rgba(8,113,182,.35); box-shadow: 0 22px 50px rgba(3,27,46,.12); }
.portal-card h3 { margin-bottom: 9px; font-size: 1.12rem; }
.portal-card p { color: var(--muted); }
.portal-card p:last-child { margin-bottom: 0; }
.card-icon { width: 50px; height: 50px; margin-bottom: 18px; display: grid; place-items: center; color: var(--navy-900); background: var(--gold-100); border-radius: 16px; font-size: 1.25rem; font-weight: 900; }
.badge { width: max-content; max-width: 100%; padding: 6px 10px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--navy-900); background: var(--blue-100); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.badge.gold { color: #583700; background: var(--gold-100); }
.badge.green { color: var(--success); background: #e8f6ef; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 5px 9px; border-radius: 999px; color: #375264; background: #eff5f8; font-size: .75rem; font-weight: 700; }
.card-footer { margin-top: 20px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.favorite-button { width: 39px; height: 39px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.favorite-button svg { width: 18px; height: 18px; fill: none; stroke: var(--navy-900); stroke-width: 2; }
.favorite-button.saved { color: var(--danger); border-color: #f1c3ca; background: #fff3f4; }
.favorite-button.saved svg { fill: currentColor; stroke: currentColor; }
.empty-state { padding: 42px; border: 1px dashed #9db5c5; border-radius: var(--radius); text-align: center; background: rgba(255,255,255,.65); }
.empty-state strong { display: block; margin-bottom: 8px; font-size: 1.12rem; }
.empty-state p { max-width: 650px; margin: 0 auto; color: var(--muted); }

/* Mon parcours */
.pathway-shell { position: relative; }
.pathway-controls { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 40px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.pathway-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 13px; }
.pathway-step { position: relative; min-height: 220px; padding: 19px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); transition: transform .2s ease, border-color .2s ease; }
.pathway-step:hover { transform: translateY(-6px); border-color: var(--blue-700); }
.pathway-step::after { content: "→"; position: absolute; top: 33px; right: -14px; z-index: 2; color: var(--blue-500); font-weight: 900; }
.pathway-step:nth-child(7)::after, .pathway-step:last-child::after { display: none; }
.step-number { width: 37px; height: 37px; margin-bottom: 22px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 12px; font-weight: 900; }
.pathway-step h3 { margin-bottom: 8px; font-size: .98rem; }
.pathway-step p { margin-bottom: 16px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.pathway-step .text-link { margin-top: auto; font-size: .79rem; }
.pathway-step.hidden { display: none; }

/* Héros intérieurs */
.page-hero { position: relative; overflow: hidden; padding: clamp(72px,8vw,118px) 0; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 62%, var(--blue-700)); }
.page-hero::after { content: ""; position: absolute; width: 460px; height: 460px; right: -150px; top: -220px; border: 78px solid rgba(245,169,21,.16); border-radius: 50%; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .58fr; align-items: end; gap: 65px; position: relative; z-index: 1; }
.breadcrumbs { margin-bottom: 27px; display: flex; flex-wrap: wrap; gap: 8px; color: #c4dbe9; font-size: .8rem; font-weight: 700; }
.breadcrumbs a:hover { color: var(--gold-300); }
.page-hero h1 { max-width: 880px; margin-bottom: 20px; font-size: clamp(2.8rem,6vw,5.8rem); line-height: .98; letter-spacing: -.065em; }
.page-hero .lead { margin-bottom: 0; color: #d8e9f3; }
.hero-callout { padding: 25px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.09); backdrop-filter: blur(12px); }
.hero-callout strong { display: block; margin-bottom: 8px; color: var(--gold-300); }
.hero-callout p { margin: 0; color: #d8e9f3; font-size: .9rem; }

/* Filtres et répertoires */
.filter-panel { margin-bottom: 27px; padding: 20px; display: grid; grid-template-columns: 1.5fr repeat(3,1fr) auto; gap: 11px; align-items: end; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.filter-panel.compact { grid-template-columns: 1.7fr repeat(2,1fr) auto; }
.filter-field label { margin-bottom: 6px; display: block; color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.filter-field input, .filter-field select, .form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #c7d7e1; border-radius: 12px; color: var(--ink); background: #fbfdff; }
.filter-field input:focus, .filter-field select:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-700); outline: 0; box-shadow: 0 0 0 4px rgba(8,113,182,.11); }
.results-meta { margin-bottom: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: .85rem; }
.directory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.directory-card { display: flex; flex-direction: column; }
.directory-card .badge { margin-bottom: 18px; }
.directory-card h3 { font-size: 1.08rem; }
.directory-card .card-body { flex: 1; }
.directory-card .meta-list { margin: 16px 0; display: grid; gap: 7px; color: var(--muted); font-size: .82rem; }
.directory-card .meta-list strong { color: var(--ink); }

/* Onglets, accordéons, étapes */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab-button { min-height: 43px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-weight: 800; cursor: pointer; }
.tab-button.active { color: #fff; border-color: var(--navy-900); background: var(--navy-900); }
.tab-panel[hidden] { display: none; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.info-card h3 { margin-bottom: 12px; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.info-card ul { padding-left: 20px; color: var(--muted); }
.notice { padding: 18px 20px; border-left: 5px solid var(--gold-500); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: #4b3a15; background: var(--gold-100); }
.notice strong { display: block; margin-bottom: 5px; color: #4f3400; }
.notice p:last-child { margin-bottom: 0; }
.warning { border-left-color: var(--danger); color: #5d2830; background: #fff0f2; }
.guide-steps { position: relative; display: grid; gap: 15px; }
.guide-step { padding: 22px 22px 22px 78px; position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.guide-step::before { content: attr(data-step); position: absolute; left: 20px; top: 20px; width: 39px; height: 39px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 12px; font-weight: 900; }
.guide-step:not(:last-child)::after { content: "↓"; position: absolute; left: 35px; bottom: -20px; z-index: 2; color: var(--blue-700); font-weight: 900; }
.guide-step h3 { margin-bottom: 7px; font-size: 1.05rem; }
.guide-step p { margin: 0; color: var(--muted); }
.accordion { display: grid; gap: 11px; }
.accordion-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.accordion-trigger { width: 100%; min-height: 60px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; background: transparent; text-align: left; font-weight: 900; cursor: pointer; }
.accordion-trigger::after { content: "+"; flex: 0 0 auto; color: var(--blue-700); font-size: 1.35rem; }
.accordion-trigger[aria-expanded="true"]::after { content: "−"; }
.accordion-content { padding: 0 18px 18px; color: var(--muted); }
.accordion-content[hidden] { display: none; }

/* Carrières, outils, scénarios */
.career-grid, .tool-grid, .scenario-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.career-card, .tool-card, .scenario-card { cursor: pointer; }
.career-card .tag-list, .tool-card .tag-list { margin: 16px 0; }
.career-card .button, .tool-card .button, .scenario-card .button { margin-top: 12px; }
.detail-list { display: grid; gap: 17px; }
.detail-block { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.detail-block:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-block h3 { margin-bottom: 8px; color: var(--navy-900); font-size: .95rem; }
.detail-block p, .detail-block ul { margin-bottom: 0; color: var(--muted); }
.detail-block ul { padding-left: 19px; }
.job-title-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.job-title-cloud a, .job-title-cloud span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: #fff; font-size: .82rem; font-weight: 800; }

/* Checklist */
.checklist { display: grid; gap: 10px; }
.check-item { padding: 15px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.check-item input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--success); }
.check-item:has(input:checked) { color: #446255; border-color: #b6dcca; background: #f0faf5; text-decoration: line-through; }
.check-progress { margin-bottom: 18px; }
.progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: #dfebf2; }
.progress-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--blue-700), var(--success)); transition: width .25s ease; }
.progress-label { margin-top: 7px; display: block; color: var(--muted); font-size: .8rem; }

/* Vie étudiante et boutique */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.team-card { padding: 25px 18px; text-align: center; }
.portrait { width: 86px; height: 86px; margin: 0 auto 17px; display: grid; place-items: center; color: #fff; border: 5px solid var(--blue-100); border-radius: 50%; background: linear-gradient(140deg,var(--navy-900),var(--blue-700) 70%,var(--gold-500) 71%); font-size: 1.25rem; font-weight: 900; }
.team-card p { min-height: 46px; font-size: .84rem; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card { overflow: hidden; padding: 0; }
.product-visual { position: relative; aspect-ratio: 1/.82; padding: 13px; display: grid; place-items: center; background: linear-gradient(140deg,var(--blue-100),var(--gold-100)); }
.product-visual > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(3,27,46,.22)); transition: transform .22s ease; }
.product-card:hover .product-visual > img { transform: translateY(-6px) scale(1.03); }
.price { position: absolute; top: 13px; right: 13px; padding: 7px 10px; border-radius: 999px; color: var(--navy-950); background: var(--gold-500); font-weight: 900; }
.product-copy { padding: 21px; }
.product-copy p { color: var(--muted); font-size: .9rem; }
.product-category { margin-bottom: 8px; color: var(--blue-700) !important; font-size: .72rem !important; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.swatches { display: flex; gap: 8px; margin: 14px 0; }
.swatch { width: 27px; height: 27px; padding: 0; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #9eb2c0; cursor: pointer; }
.swatch.active { box-shadow: 0 0 0 2px var(--gold-500); }
.swatch.blue { background: var(--navy-900); }
.swatch.white { background: #fff; }
.activity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.activity-card { position: relative; padding-top: 68px; }
.activity-period { position: absolute; top: 18px; left: 20px; color: var(--blue-700); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2,220px); gap: 14px; }
.gallery-button { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--navy-900); cursor: zoom-in; }
.gallery-button:first-child { grid-row: 1/3; }
.gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-button:hover img { transform: scale(1.05); }

/* Formulaires */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(42px,7vw,90px); }
.smart-form { padding: clamp(24px,4vw,39px); border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow-l); }
.smart-form h2, .smart-form h3 { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; }
.form-field { margin-bottom: 15px; }
.form-grid .form-field { margin-bottom: 0; }
.form-field.full { grid-column: 1/-1; }
.form-field label { margin-bottom: 6px; display: block; color: #314b5d; font-size: .84rem; font-weight: 800; }
.form-field textarea { min-height: 120px; resize: vertical; }
.consent { margin: 18px 0; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--navy-900); }
.form-note { color: var(--muted); font-size: .76rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.site-footer { padding: 62px 0 22px; color: #c4d7e4; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 42px; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-monogram { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; color: var(--gold-500); background: rgba(255,255,255,.08); font-weight: 900; letter-spacing: 0; }
.footer-brand strong { display: block; color: #fff; font-size: 1.2rem; letter-spacing: .08em; }
.footer-brand p { margin: 6px 0 0; font-size: .85rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin-bottom: 7px; color: #fff; font-size: .9rem; letter-spacing: 0; }
.footer-column a, .footer-column p { margin: 0; font-size: .84rem; }
.footer-column a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: 42px; padding-top: 19px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-bottom button { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }

/* Modales, recherche, favoris et assistant */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(3,27,46,.78); backdrop-filter: blur(8px); }
.modal.open { display: flex; }
.modal-panel { position: relative; width: min(760px,100%); max-height: calc(100svh - 36px); padding: 30px; overflow-y: auto; border-radius: var(--radius-l); background: #fff; box-shadow: 0 32px 90px rgba(0,0,0,.32); }
.modal-panel.wide { width: min(1040px,100%); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 41px; height: 41px; padding: 0; border: 0; border-radius: 50%; color: var(--navy-900); background: var(--blue-100); font-size: 1.5rem; cursor: pointer; }
.modal-head { padding-right: 45px; margin-bottom: 23px; }
.modal-head h2 { margin-bottom: 9px; font-size: clamp(1.7rem,4vw,2.6rem); }
.modal-head p { margin: 0; color: var(--muted); }
.search-modal-form { margin-bottom: 18px; display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.search-modal-form input { min-height: 52px; padding: 12px 15px; border: 1px solid #b9ceda; border-radius: 13px; }
.search-results { display: grid; gap: 11px; }
.search-result { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--soft); }
.search-result small { color: var(--blue-700); font-weight: 900; text-transform: uppercase; }
.search-result h3 { margin: 5px 0; font-size: 1rem; }
.search-result p { margin: 0; color: var(--muted); font-size: .83rem; }
.favorites-list { display: grid; gap: 10px; }
.favorite-row { padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 13px; }
.favorite-row p { margin: 3px 0 0; color: var(--muted); font-size: .8rem; }
.assistant-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 250; min-height: 54px; padding: 13px 18px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; color: var(--navy-950); background: var(--gold-500); box-shadow: 0 16px 42px rgba(3,27,46,.3); font-weight: 900; cursor: pointer; }
.assistant-launcher::before { content: "A"; width: 29px; height: 29px; display: grid; place-items: center; color: #fff; background: var(--navy-900); border-radius: 50%; }
.assistant-panel { position: fixed; right: 20px; bottom: 88px; z-index: 260; width: min(410px,calc(100% - 28px)); max-height: min(680px,calc(100svh - 120px)); display: none; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-l); overflow: hidden; }
.assistant-panel.open { display: flex; }
.assistant-head { padding: 17px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: var(--navy-900); }
.assistant-head strong { display: block; }
.assistant-head small { display: block; color: #c9deea; }
.assistant-head button { width: 35px; height: 35px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; }
.assistant-messages { padding: 17px; display: grid; gap: 10px; overflow-y: auto; }
.assistant-message { max-width: 90%; padding: 11px 13px; border-radius: 14px 14px 14px 4px; color: #294355; background: var(--blue-100); font-size: .84rem; }
.assistant-message.user { margin-left: auto; border-radius: 14px 14px 4px 14px; color: #fff; background: var(--navy-900); }
.assistant-suggestions { padding: 0 17px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.assistant-suggestions button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-900); background: #fff; font-size: .73rem; font-weight: 800; cursor: pointer; }
.assistant-form { padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 7px; border-top: 1px solid var(--line); }
.assistant-form input { min-width: 0; min-height: 43px; padding: 9px 11px; border: 1px solid #b9ceda; border-radius: 11px; }
.assistant-form button { width: 43px; border: 0; border-radius: 11px; color: #fff; background: var(--navy-900); cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 700; max-width: calc(100% - 30px); padding: 13px 18px; color: #fff; border-radius: 999px; background: var(--success); box-shadow: var(--shadow-l); opacity: 0; transform: translate(-50%,25px); pointer-events: none; transition: .2s ease; }
.toast.error { background: var(--danger); }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

/* Apparitions légères */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .58s ease, transform .58s cubic-bezier(.2,.75,.25,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .nav-shell { min-height: 70px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { width: 43px; height: 43px; padding: 10px; display: block; border: 0; border-radius: 12px; background: var(--navy-900); cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #fff; transition: .18s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel { position: fixed; inset: 0 0 0 auto; z-index: 99; width: min(430px,90vw); padding: 88px 22px 30px; overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(3,27,46,.2); transform: translateX(105%); transition: transform .22s ease; }
  .mobile-panel.open { display: block; transform: none; }
  .mobile-nav { display: grid; gap: 4px; }
  .mobile-nav a { padding: 12px; border-radius: 10px; font-weight: 800; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--navy-950); background: var(--gold-100); }
  .mobile-group { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .mobile-group strong { padding: 8px 12px; display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
  .pathway-grid { grid-template-columns: repeat(4,1fr); }
  .pathway-step:nth-child(7)::after { display: block; }
  .pathway-step:nth-child(4n)::after { display: none; }
  .directory-grid, .career-grid, .tool-grid, .scenario-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .filter-panel { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .home-hero, .home-hero-grid { min-height: auto; }
  .home-hero-grid, .page-hero-grid, .form-layout { grid-template-columns: 1fr; }
  .home-hero-grid { padding: 76px 0 105px; }
  .hero-portal-card { max-width: 610px; }
  .page-hero-grid { gap: 32px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 10px; }
  .card-grid, .card-grid.four { grid-template-columns: repeat(2,1fr); }
  .activity-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .filter-panel, .filter-panel.compact { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 650px) {
  .container, .nav-shell { width: min(100% - 28px,var(--container)); }
  .utility-inner { min-height: 38px; }
  .utility-inner > span { display: none; }
  .utility-links { width: 100%; justify-content: space-between; }
  .brand-monogram { width: 44px; height: 44px; }
  .header-actions .favorites-open { display: none; }
  .home-hero h1 { font-size: clamp(2.8rem,14vw,4.5rem); }
  .hero-action-grid { grid-template-columns: 1fr; }
  .hero-portal-card { padding: 28px; }
  .global-search-card { grid-template-columns: auto 1fr; }
  .global-search-card .button { grid-column: 1/-1; }
  .search-hint { display: none; }
  .pathway-grid, .card-grid, .card-grid.four, .directory-grid, .career-grid, .tool-grid, .scenario-grid, .content-grid, .team-grid, .product-grid, .activity-grid, .form-grid { grid-template-columns: 1fr; }
  .pathway-step::after { display: none !important; }
  .pathway-step { min-height: auto; }
  .filter-panel, .filter-panel.compact { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 320px repeat(2,210px); }
  .gallery-button:first-child { grid-row: auto; }
  .form-field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { padding: 25px 18px; border-radius: var(--radius); }
  .search-modal-form { grid-template-columns: 1fr; }
  .assistant-launcher { width: 54px; padding: 0; justify-content: center; }
  .assistant-launcher span { display: none; }
  .assistant-launcher::before { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .utility-bar, .site-header, .button, .favorite-button, .assistant-launcher, .assistant-panel, .site-footer, .filter-panel { display: none !important; }
  .section, .page-hero, .home-hero { padding: 25px 0; color: #000; background: #fff; }
  .reveal { opacity: 1; transform: none; }
  .portal-card, .info-card { break-inside: avoid; box-shadow: none; }
}

/* Compléments du portail associatif et des pages professionnelles */
.on-blue { color: #dbeaf3; }
.event-shell { margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.embedded-form { padding: 0; border: 0; box-shadow: none; }
.gallery-modal-panel { width: min(1100px,100%); padding: 14px; background: var(--navy-950); }
.gallery-modal-panel img { width: 100%; max-height: calc(100svh - 64px); display: block; object-fit: contain; border-radius: calc(var(--radius) - 5px); }
.badge.danger { color: #fff; background: var(--danger); }
.emergency-card { border-color: color-mix(in srgb,var(--danger) 35%,white); }
.professional-path { margin-bottom: 28px; }
.notice.on-dark { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.notice.on-dark p { color: #dbeaf3; }
.light-link { color: #fff; }


/* Mise à jour visuelle: bannière inclusive et appels à l'action orange */
.home-hero { background: linear-gradient(90deg,rgba(3,27,46,.97) 0%,rgba(3,27,46,.9) 34%,rgba(3,27,46,.48) 63%,rgba(3,27,46,.2) 100%), url("../images/etudiants-echange-inclusif.jpg") center/cover no-repeat; }
.home-hero::before { opacity: 1; background: linear-gradient(180deg,rgba(3,27,46,.08),rgba(3,27,46,.32)); mask-image: none; }
.home-hero .hero-orb { display: none; }
.section .button, .home-hero .button { color: var(--navy-950); border-color: #d96600; background: linear-gradient(135deg,#ff9f2f,var(--gold-500)); box-shadow: 0 14px 32px rgba(245,130,32,.36); }
.section .button:hover, .home-hero .button:hover { color: var(--navy-950); border-color: #ffbd66; background: linear-gradient(135deg,#ffbd66,#ff7a00); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(245,130,32,.46); }
.whatsapp-section { background: linear-gradient(135deg,#f3fbf7,#fffaf0); }
.consent-prominent { padding: 14px; border: 1px solid #b8d8c8; border-radius: 13px; color: var(--ink); background: #f0faf5; }


/* Répertoire provincial, bureau, bénévolat social et gestion de boutique */
.filter-panel:has(#org-size) { grid-template-columns: 1.35fr repeat(5,1fr) auto; }
.portrait.photo-placeholder { width: 132px; height: 152px; padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 2px dashed #91acbd; border-radius: 22px; color: var(--blue-700); background: linear-gradient(145deg,#f5f9fc,#e8f1f6); }
.portrait.photo-placeholder span svg { width: 34px; height: 34px; }
.portrait.photo-placeholder small { font-size: .68rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.portrait.has-photo { width: 132px; height: 152px; overflow: hidden; border-radius: 22px; }
.portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--blue-700); font-weight: 850; }
.volunteer-project-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.volunteer-project { display: flex; flex-direction: column; }
.volunteer-project .tag-list { margin: auto 0 18px; padding-top: 14px; }
.shop-management { margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
.shop-management summary { padding: 20px 24px; cursor: pointer; color: var(--navy-950); font-weight: 900; }
.shop-management summary:hover { color: var(--blue-700); background: var(--gold-100); }
.shop-management-body { padding: 0 24px 24px; }
.shop-management .smart-form { margin-top: 18px; }
@media (max-width:1100px) { .filter-panel:has(#org-size) { grid-template-columns: repeat(3,1fr); } .volunteer-project-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width:720px) { .filter-panel:has(#org-size), .volunteer-project-grid { grid-template-columns: 1fr; } }

/* Fiches individuelles des membres du bureau */
.team-card { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 485px; padding: 28px 20px 22px; overflow: hidden; }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg,var(--gold-500),var(--gold-300)); }
.team-card .portrait { flex: 0 0 auto; }
.team-initials { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: linear-gradient(145deg,var(--navy-900),var(--blue-700)); font-size: 1rem; font-weight: 950; letter-spacing: .08em; box-shadow: 0 8px 20px rgba(4,49,80,.18); }
.team-office-label { margin-bottom: 9px; color: var(--gold-700); font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.team-card h3 { margin-bottom: 6px; }
.team-card .team-role { min-height: 42px; margin-bottom: 12px; font-size: .88rem; }
.team-card .team-description { min-height: 0; margin-bottom: 20px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.team-actions { width: 100%; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; }
@media (max-width:720px) { .team-card { min-height: 0; } .team-card .team-role { min-height: 0; } }

/* Mot de la présidence sur la page d'accueil */
.president-message-section { background: linear-gradient(180deg,#fffaf0 0%,#f7fbff 100%); overflow: hidden; }
.president-message-section::before { content: ""; position: absolute; width: 360px; height: 360px; right: -90px; top: 56px; border-radius: 50%; background: radial-gradient(circle,rgba(245,130,32,.18),transparent 68%); pointer-events: none; }
.president-message-grid { display: grid; grid-template-columns: minmax(240px,.38fr) minmax(0,1fr); gap: clamp(24px,4vw,56px); align-items: start; }
.president-signature-card, .president-message-card { position: relative; border: 1px solid rgba(6,63,112,.12); border-radius: 34px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.president-signature-card { position: sticky; top: 118px; padding: 28px; overflow: hidden; }
.president-signature-card::after { content: ""; position: absolute; inset: auto -35% -45% 12%; height: 180px; border-radius: 999px; background: linear-gradient(135deg,rgba(255,189,102,.65),rgba(245,130,32,.12)); transform: rotate(-8deg); }
.president-photo-placeholder { width: 112px; height: 112px; margin: 28px 0 20px; display: grid; place-items: center; border-radius: 32px; color: var(--navy-950); background: linear-gradient(135deg,#ffbd66,#f58220); font-family: var(--display); font-size: 2.4rem; font-weight: 900; box-shadow: 0 18px 38px rgba(245,130,32,.28); }
.president-signature-card h2 { margin: 0 0 6px; font-size: clamp(2rem,4vw,3rem); }
.president-signature-card p { position: relative; z-index: 1; margin-bottom: 22px; color: var(--muted); font-weight: 800; }
.president-message-card { padding: clamp(28px,5vw,56px); }
.president-message-card h2 { max-width: 800px; margin-bottom: 24px; color: var(--navy-950); }
.president-message-copy { columns: 2 320px; column-gap: clamp(28px,4vw,52px); color: #334155; font-size: 1.02rem; line-height: 1.82; }
.president-message-copy p { break-inside: avoid; margin: 0 0 16px; }
.president-message-copy p:first-child { color: var(--navy-950); font-weight: 900; }
.president-message-signoff { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(6,63,112,.12); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; color: var(--navy-950); }
.president-message-signoff strong { font-family: var(--display); font-size: 1.8rem; }
.president-message-signoff span { color: var(--muted); font-weight: 900; }
@media (max-width:900px) { .president-message-grid { grid-template-columns: 1fr; } .president-signature-card { position: relative; top: auto; } }



/* Page boutique: expérience e-commerce légère et rapide */
.shop-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 12% 8%, rgba(255,189,102,.28), transparent 25%), radial-gradient(circle at 88% 14%, rgba(58,167,216,.24), transparent 28%), linear-gradient(135deg,var(--navy-950),var(--navy-900) 56%,var(--blue-700)); }
.shop-hero::after { content: ""; position: absolute; inset: auto -12% -24% auto; width: 48vw; height: 48vw; border-radius: 50%; border: 72px solid rgba(245,130,32,.18); }
.shop-hero-grid { position: relative; z-index: 1; min-height: 560px; padding: clamp(74px,8vw,112px) 0; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: clamp(38px,7vw,88px); }
.shop-hero h1 { max-width: 780px; margin-bottom: 18px; font-size: clamp(3rem,7vw,6.6rem); line-height: .94; letter-spacing: -.07em; }
.shop-hero .lead { max-width: 720px; color: #dbeefa; }
.shop-window { padding: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-l); background: rgba(255,255,255,.11); box-shadow: var(--shadow-l); backdrop-filter: blur(18px); }
.shop-window-top { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop-window-top strong { color: var(--gold-300); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.shop-window-pills { display: flex; gap: 7px; }
.shop-window-pills span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.55); }
.shop-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-featured-card { min-height: 210px; padding: 15px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg,#fff,var(--gold-100)); }
.shop-featured-card img { max-height: 185px; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(3,27,46,.22)); }
.shop-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.shop-stat { padding: 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.1); }
.shop-stat strong { display: block; color: var(--gold-300); font-size: 1.25rem; }
.shop-toolbar { margin-bottom: 28px; padding: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-s); }
.shop-toolbar p { margin: 0; color: var(--muted); }
.shop-toolbar strong { color: var(--navy-950); }
.product-grid.ecommerce-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.shop-product-card { position: relative; border: 1px solid rgba(6,63,112,.14); box-shadow: 0 18px 42px rgba(3,27,46,.09); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.shop-product-card:hover { border-color: rgba(245,130,32,.5); box-shadow: 0 26px 64px rgba(3,27,46,.16); transform: translateY(-6px); }
.ecommerce-visual { aspect-ratio: 1/.9; padding: 20px 18px 58px; background: radial-gradient(circle at 50% 40%,#fff 0 34%,rgba(255,255,255,.72) 35% 52%,transparent 53%), linear-gradient(145deg,#edf7fc,#fff4e6); }
.shop-badge { position: absolute; top: 13px; left: 13px; z-index: 2; padding: 6px 10px; border-radius: 999px; color: var(--navy-950); background: #fff; font-size: .72rem; font-weight: 950; box-shadow: 0 8px 20px rgba(3,27,46,.1); }
.product-thumb-row { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.product-thumb { width: 42px; height: 42px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.9); cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.product-thumb:hover, .product-thumb.active { border-color: var(--gold-500); box-shadow: 0 8px 18px rgba(245,130,32,.24); transform: translateY(-2px); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ecommerce-copy { display: flex; flex-direction: column; min-height: 295px; }
.ecommerce-copy h3 { margin-bottom: 9px; font-size: 1.15rem; }
.ecommerce-copy .button { width: 100%; margin-top: auto; }
.shop-rating { margin: 12px 0 2px; display: flex; align-items: center; gap: 4px; color: var(--gold-700); font-size: .76rem; font-weight: 900; }
.shop-rating span { width: 12px; height: 12px; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 56%,79% 91%,50% 70%,21% 91%,32% 56%,2% 35%,39% 35%); background: var(--gold-500); }
.shop-checkout-note { margin-top: 30px; padding: 22px; border: 1px solid #ffd29a; border-radius: var(--radius); background: linear-gradient(135deg,#fff8ed,#fff); }
.shop-checkout-note strong { color: var(--navy-950); }
.shop-checkout-note p { margin: 8px 0 0; color: var(--muted); }
@media (max-width:1100px) { .shop-hero-grid { grid-template-columns: 1fr; } .product-grid.ecommerce-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:650px) { .shop-featured, .shop-stats, .product-grid.ecommerce-grid { grid-template-columns: 1fr; } .shop-hero-grid { min-height: auto; } .shop-window { padding: 15px; } }
