/* Native modules use AFG Pro's public theme tokens and components. */
.brand small{display:block;font-size:.65rem;letter-spacing:.02em;color:var(--muted);font-weight:600}.brand img{flex-shrink:0}.afgpro .content-page>h1{font-size:clamp(2rem,4.5vw,3.5rem);margin-bottom:1.5rem}.afgpro .intro,.afgpro .muted{color:var(--muted)}.afgpro .notice,.afgpro .error{padding:1rem;border-radius:.5rem;margin-block:1rem;background:#edf0ff;color:var(--ink)}.afgpro .error{background:#fff0f0;color:#8b2638}.afgpro .card p{margin-bottom:1rem}.afgpro form:not(.afg-form),.afgpro label{display:grid;gap:.6rem}.afgpro form:not(.afg-form){gap:1rem}.afgpro input,.afgpro textarea,.afgpro select,.afgpro button{font:inherit;padding:.7rem .85rem;border:1px solid #aab8ce;border-radius:.45rem}.afgpro input,.afgpro select,.afgpro textarea{background:#fff;color:var(--ink);width:100%;min-width:0}.afgpro textarea{resize:vertical}.afgpro button,.afgpro .install-next{display:inline-flex;align-items:center;justify-content:center;width:fit-content;background:var(--blue);background:linear-gradient(115deg,var(--blue),var(--violet,#653899));color:white;border:1px solid transparent;font-weight:700;cursor:pointer;text-decoration:none;padding:.75rem 1.15rem;border-radius:.5rem}.afgpro button:disabled{opacity:.5;cursor:wait}.afgpro button.secondary{background:white;color:var(--blue);border-color:var(--blue)}.afgpro .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.afgpro .editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;align-items:start}.afgpro .editor-layout>.card{margin:0}.afgpro .editor-layout h2{font-size:1.55rem}.afgpro .editor-layout label{font-weight:650;font-size:.95rem}.afgpro .preview{position:sticky;top:1rem;background:var(--paper,#f4f6fb)}.afgpro .preview-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.afgpro .preview-heading span{font-size:.65rem;letter-spacing:.08em;color:var(--blue)}.afgpro #preview-stage{background:#e4e7f1;border:1px solid var(--line);border-radius:.65rem;min-height:20rem;display:grid;place-items:center;padding:1rem}.afgpro #preview-stage img{max-width:100%;max-height:75vh;box-shadow:0 6px 30px #18203c30}.afgpro .check{display:flex;align-items:flex-start;font-weight:500!important;line-height:1.5}.afgpro .check input{width:auto;flex-shrink:0;margin-top:.35rem}.afgpro input[type=color]{height:3rem;padding:.2rem}.afgpro input[type=range]{padding:.5rem 0}.afgpro .hero.card{margin-bottom:2rem;background:var(--dark);color:white}.afgpro .hero.card h2{font-size:clamp(2rem,4vw,3.2rem)}.afgpro .hero.card p{color:var(--on-dark,#e3e9fc)}.afgpro .eyebrow{font-size:.75rem;letter-spacing:.12em;font-weight:800}.afgpro .chips{display:flex;flex-wrap:wrap;gap:.6rem}.afgpro .chips span{border:1px solid #ffffff70;border-radius:2rem;padding:.3rem .7rem;font-size:.85rem}.afgpro .order-preview{display:block;margin:auto;max-width:100%;max-height:850px}.afgpro .preline{white-space:pre-line}.afgpro .download-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.afgpro .install-checks>div{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:.7rem 0}.afgpro .install-checks dd{margin:0}.afgpro .install-actions{display:flex;gap:.6rem;flex-wrap:wrap}.afgpro .install-fields[hidden]{display:none}.afgpro .narrow{max-width:46rem}.afgpro .hero.card{padding:clamp(1.5rem,4vw,3rem)}.afgpro .projects{grid-template-columns:repeat(2,minmax(0,1fr))}.afgpro .projects p{font-size:.95rem}.afgpro .card{overflow-wrap:anywhere}.afgpro .afg-form textarea{min-height:10rem}@media(max-width:800px){.afgpro .editor-layout{grid-template-columns:1fr}.afgpro .preview{position:static;grid-row:1}.afgpro #preview-stage{min-height:12rem}.afgpro #preview-stage img{max-height:55vh}}@media(max-width:550px){.afgpro .grid,.afgpro .projects{grid-template-columns:1fr}.afgpro .bar{gap:.7rem}.afgpro .bar>.button{font-size:.85rem}.afgpro .brand small{font-size:.6rem}}
/* Use the exact button gradient from the supplied AFG Pro theme. */
.afgpro button,.afgpro .install-next{background:var(--button-gradient);box-shadow:0 .38rem .9rem #4436a42b;transition:box-shadow .2s,transform .2s,filter .2s}.afgpro button:hover:not(:disabled),.afgpro .install-next:hover{filter:brightness(1.1);transform:translateY(-2px)}.afgpro button.secondary{background:white;box-shadow:none}.afgpro .hero.card{background:radial-gradient(ellipse at 90% 0%,#6030abce,transparent 55%),linear-gradient(112deg,#141a43f5 18%,#25225cea 58%,#203d73bb),url('assets/informatique.webp') center/cover}.afgpro #order-button,.afgpro #preview-button{gap:.55rem}@media(prefers-reduced-motion:reduce){.afgpro button,.afgpro .install-next{transition:none}.afgpro button:hover:not(:disabled),.afgpro .install-next:hover{transform:none}}
/* Catalogue AFG: four products per row, source illustrations stored locally. */
.afgpro .shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem;margin-block:1.5rem}.afgpro .shop-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:.85rem;overflow:hidden;box-shadow:0 .4rem 1.3rem #2327530b;min-width:0}.afgpro .shop-card-image{display:grid;place-items:center;background:#fff;padding:1rem;aspect-ratio:1.22}.afgpro .shop-card-image img{width:100%;height:100%;max-height:190px;object-fit:contain}.afgpro .shop-card-body{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:1.1rem}.afgpro .shop-card h3{font-size:1.05rem;line-height:1.35;margin:.5rem 0 .8rem;overflow-wrap:anywhere}.afgpro .shop-card h3 a{text-decoration:none;color:var(--ink)}.afgpro .shop-card .button{margin-top:auto;font-size:.9rem}.afgpro .shop-category{font-size:.75rem;color:var(--muted);font-weight:650}.afgpro .shop-price{font-weight:800;font-size:1.3rem;color:var(--blue);margin:.5rem 0}.afgpro .shop-price small{font-weight:500;font-size:.72rem}.afgpro .shop-card .muted{font-size:.75rem;line-height:1.4;margin-bottom:1rem}.afgpro .shop-toolbar{display:flex;align-items:end;gap:1rem;flex-wrap:wrap}.afgpro .shop-toolbar form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:end;flex:1}.afgpro .shop-toolbar label{flex:1;min-width:160px}.afgpro .shop-toolbar .button{white-space:nowrap}.afgpro .shop-pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-block:2rem}.afgpro .shop-pagination a{border:1px solid var(--line);padding:.4rem .9rem;border-radius:.4rem}.afgpro .shop-pagination [aria-current]{background:var(--blue);color:#fff}.afgpro .shop-product{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:2rem;margin-block:2rem}.afgpro .shop-main-image{display:grid;place-items:center;border:1px solid var(--line);border-radius:.7rem;background:#fff;padding:1rem}.afgpro .shop-main-image img{width:100%;height:420px;object-fit:contain}.afgpro .shop-thumbnails{display:flex;gap:.5rem;overflow-x:auto;margin-top:.7rem;padding:.3rem}.afgpro .shop-thumbnails button{padding:.2rem;min-width:80px;background:white;border:1px solid var(--line);box-shadow:none;flex-shrink:0}.afgpro .shop-thumbnails img{width:80px;height:65px;object-fit:contain}.afgpro .shop-product form{margin-block:1.5rem}.afgpro .shop-product input[type=number]{max-width:8rem}.afgpro .shop-cart-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:1rem;border-bottom:1px solid var(--line);padding:1.2rem 0}.afgpro .shop-cart-row h2{font-size:1.15rem}.afgpro .shop-cart-row img{object-fit:contain}.afgpro .shop-cart-row form{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}.afgpro .shop-cart-row input{max-width:6rem}.afgpro .shop-total{font-size:1.35rem;font-weight:800;color:var(--blue);margin-block:1.5rem}.afgpro .shop-checkout{max-width:48rem}.afgpro .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);padding-block:.8rem;gap:1rem}.afgpro .alt-shop{background:white;color:var(--blue);border-color:var(--blue);box-shadow:none}@media(max-width:1000px){.afgpro .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.afgpro .shop-product{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.afgpro .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.afgpro .shop-product{grid-template-columns:1fr}.afgpro .shop-main-image img{height:300px}.afgpro .shop-cart-row{grid-template-columns:75px minmax(0,1fr)}.afgpro .shop-cart-row>form{grid-column:2}}@media(max-width:420px){.afgpro .shop-grid{grid-template-columns:1fr}.afgpro .shop-card-image img{max-height:220px}.afgpro .shop-toolbar form{display:grid;grid-template-columns:1fr;width:100%}}
.afgpro #delivery-fields{display:grid;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:.6rem;background:var(--paper)}.afgpro #delivery-fields[hidden],.afgpro #pickup-info[hidden]{display:none}

.maintenance-form .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.maintenance-form h3{margin-top:2rem}.maintenance-form input,.maintenance-form select,.maintenance-form textarea{width:100%;box-sizing:border-box}.maintenance-form input[type=checkbox]{width:auto}.maintenance-form .check{display:flex;gap:.7rem;align-items:flex-start}.preline{white-space:pre-wrap}.maintenance-photos{display:flex;flex-wrap:wrap;gap:1rem}

.afg-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.gallery-item{margin:0;min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden}.gallery-item>a{display:block}.gallery-item img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.gallery-item figcaption{padding:1rem}.gallery-item h3{margin:0 0 .5rem}.gallery-item p{margin:0;overflow-wrap:anywhere}@media(max-width:640px){.afg-gallery{grid-template-columns:1fr}}

/* Navigation mobile AFG 2027 v1.5.1 — uniquement l'en-tête public. */
.afgpro .afg-menu-toggle{display:none}
@media(max-width:980px){
 .afgpro .site-header{position:relative;z-index:30}
 .afgpro .site-header .bar{display:flex;flex-wrap:wrap;gap:.65rem;padding-block:.7rem}
 .afgpro .site-header .brand{min-width:0;max-width:calc(100% - 110px);white-space:normal;overflow-wrap:anywhere}
 .afgpro .site-header .brand span{min-width:0;line-height:1.2}
 .afgpro .site-header .afg-menu-toggle{display:inline-flex;order:2;align-items:center;gap:.55rem;flex-shrink:0;width:auto;min-height:44px;padding:.55rem .75rem;border:1px solid #d8d3ef;border-radius:.65rem;background:#f6f3ff;color:#30235b;box-shadow:none;font-weight:750;font-size:.9rem;cursor:pointer}
 .afgpro .site-header .afg-menu-toggle:hover{transform:none;background:#ece5ff;filter:none}
 .afgpro .afg-menu-lines{display:grid;gap:4px;width:20px}
 .afgpro .afg-menu-lines span{display:block;height:2px;width:20px;background:currentColor;border-radius:2px;transition:transform .2s,opacity .2s}
 .afgpro .afg-menu-toggle[aria-expanded="true"] .afg-menu-lines span:first-child{transform:translateY(6px) rotate(45deg)}
 .afgpro .afg-menu-toggle[aria-expanded="true"] .afg-menu-lines span:nth-child(2){opacity:0}
 .afgpro .afg-menu-toggle[aria-expanded="true"] .afg-menu-lines span:last-child{transform:translateY(-6px) rotate(-45deg)}
 .afgpro .site-header .afg-main-nav{display:none;order:4;flex:0 0 100%;width:100%;margin:0;padding:.5rem;background:#fff;border:1px solid #e3dff0;border-radius:.8rem;box-shadow:0 12px 28px #241a4a1a;max-height:min(65dvh,560px);overflow-y:auto;overscroll-behavior:contain}
 .afgpro .site-header .afg-main-nav.is-open{display:block}
 .afgpro .site-header .afg-main-nav ul{display:flex;flex-direction:column;align-items:stretch;gap:.15rem;margin:0;padding:0;list-style:none}
 .afgpro .site-header .afg-main-nav li{width:100%}
 .afgpro .site-header .afg-main-nav a{display:flex;align-items:center;min-height:46px;padding:.75rem .9rem;border-radius:.55rem;color:#252045;text-decoration:none;font-size:1rem;font-weight:650;line-height:1.3}
 .afgpro .site-header .afg-main-nav a:hover,.afgpro .site-header .afg-main-nav a:focus-visible{background:#f1edff;color:#49339b;text-decoration:none}
 .afgpro .site-header .afg-header-cta{order:3;margin-left:auto;min-height:44px;font-size:.86rem;padding:.6rem .85rem}
 .afgpro .site-header .afg-menu-toggle:focus-visible,.afgpro .site-header .afg-main-nav a:focus-visible{outline:3px solid #6951d0;outline-offset:2px}
}
@media(max-width:620px){
 .afgpro .site-header .brand{flex:1 1 0;max-width:none}
 .afgpro .site-header .brand img{width:38px;height:38px}
 .afgpro .site-header .afg-header-cta{order:4;flex:1 0 100%;justify-content:center;margin:0}
 .afgpro .site-header .afg-main-nav{order:3}
}
@media(prefers-reduced-motion:reduce){.afgpro .afg-menu-lines span{transition:none}}
