/*
Theme Name: Touré Computer Pro
Description: Vitrine et boutique WooCommerce pour Touré Computer Systèmes.
Version: 1.6.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: toure-computer-pro
*/
:root{--ink:#101c30;--muted:#52637b;--brand:#124cd1;--paper:#f3f6fa;--line:#dae3ef;--navy:#0a1730;--ice:#b4f0ff}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.55 Inter,system-ui,sans-serif}
a{color:var(--brand);text-underline-offset:.2em}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #3988ff;outline-offset:3px}
img{height:auto;max-width:100%}
h1,h2,h3{line-height:1.13;letter-spacing:-.035em}
h1{font-size:clamp(2rem,5vw,4.5rem)} h2{font-size:clamp(1.5rem,3vw,2.2rem);margin:0 0 1rem}
.wrap{max-width:1320px;width:calc(100% - 64px);margin-inline:auto}
.skip{position:fixed;left:1rem;top:1rem;z-index:9999;background:white;padding:1rem;transform:translateY(-200%)}.skip:focus{transform:none}
.site-head{background:#fff;border-bottom:1px solid var(--line)}
.top{background:var(--navy);color:#e2eafa;font-size:.81rem;padding:.48rem 0}
.bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.65rem 1.5rem}.bar a{color:inherit}
.mast{display:grid;grid-template-columns:auto minmax(200px,1fr) auto;align-items:center;gap:clamp(1rem,3vw,2.5rem);padding:1.2rem 0}
.brand{display:flex;align-items:center;gap:.7rem;font-size:1.2rem;color:var(--ink);font-weight:850;text-decoration:none;line-height:1.08;white-space:nowrap}
.brand small{display:block;font-size:.63rem;letter-spacing:.18em;margin-top:.32rem;color:var(--muted)}
.brand-mark{display:grid;place-items:center;border-radius:12px;background:var(--brand);color:white;width:46px;height:46px}
.custom-logo{display:block;width:auto;max-width:190px;max-height:58px;object-fit:contain}
.search{display:flex;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:4px;min-width:0}
.search input{width:100%;min-width:0;border:none;background:transparent;padding:.6rem .7rem;font:inherit}
.search button,.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border:0;background:var(--brand);color:white;font:inherit;font-weight:750;border-radius:9px;padding:.65rem .95rem;cursor:pointer;text-decoration:none}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#173c93;color:white}
.actions{display:flex;gap:1rem;white-space:nowrap}
.actions a,.nav a{color:var(--ink);font-weight:700;text-decoration:none}.actions a:hover,.nav a:hover{color:var(--brand)}
.nav>ul,.nav>div>ul{display:flex;gap:.6rem 1.5rem;flex-wrap:wrap;list-style:none;margin:0;padding:0 0 .85rem}
.nav li{position:relative}.nav .sub-menu{display:none;position:absolute;z-index:10;list-style:none;margin:0;background:white;box-shadow:0 8px 32px #0a173026;border:1px solid var(--line);border-radius:10px;min-width:200px;padding:.65rem}.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:grid;gap:.4rem}
.home-content{padding:1.6rem 0 3rem}
.hero{display:grid;grid-template-columns:1.27fr 1fr;align-items:center;gap:clamp(1rem,4vw,4rem);background:radial-gradient(ellipse at 90% 2%,#144ab5 0%,#102c60 33%,#0a1730 68%);color:white;border-radius:25px;overflow:hidden;padding:clamp(1.55rem,5vw,4.5rem)}
.hero h1{margin:.3rem 0 1rem;max-width:13ch}.hero p{max-width:44ch;color:#e0e9fc;font-size:1.08rem}
.hero .eyebrow{margin:0;color:var(--ice);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em}
.hero-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.4rem}.hero .btn{background:var(--ice);color:#102743}.hero .outline{background:transparent;color:#fff;border:1px solid #a9c5ee}.btn:hover{text-decoration:underline}
.hero-product{display:grid;background:#fff;color:var(--ink);border-radius:17px;padding:1rem;gap:.6rem;font-weight:800;text-decoration:none;box-shadow:0 16px 50px #030c244a}
.hero-product img{width:100%;height:clamp(150px,24vw,300px);object-fit:contain}.hero-product>span{display:flex;justify-content:space-between;gap:1rem}
.hero-art{padding:1rem 0;transform:perspective(900px) rotateY(-14deg) rotateX(7deg);margin-inline:auto;width:min(100%,430px)}
.screen{aspect-ratio:1.66;background:#101e39;border:4px solid #7590bd;border-radius:16px;padding:8px;box-shadow:0 24px 65px #040b2280}
.screen div{width:100%;height:100%;border-radius:6px;background:radial-gradient(ellipse at 80% 18%,#8eeeff,transparent 55%),conic-gradient(from 110deg at 80% 25%,#2265dd,#0d1b4a,#5286ff,#63dfff,#2265dd)}
.base{height:13px;width:110%;margin-left:-5%;border-radius:0 0 50% 50%;background:linear-gradient(#b6d4f4,#526b96)}
.benefits,.categories{display:grid;gap:.75rem}
.benefits{grid-template-columns:repeat(3,1fr);margin-top:1rem}
.benefits>div,.categories>a{background:#fff;border:1px solid var(--line);border-radius:13px;padding:1rem}
.benefits span{display:block;color:var(--muted);font-size:.9rem}
.section{margin-top:2.5rem}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.categories{grid-template-columns:repeat(4,minmax(0,1fr))}
.categories>a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-weight:750;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.categories>a:hover{border-color:var(--brand)}.categories img{width:36px;height:36px;object-fit:contain}.categories a>span:first-of-type{margin-right:auto}
.content{padding:2rem 0 3rem;min-height:50vh}.content h1{font-size:clamp(2rem,4vw,3rem);overflow-wrap:anywhere}
.woocommerce ul.products li.product{background:white;border:1px solid var(--line);border-radius:14px;padding:1rem;overflow-wrap:anywhere}
.woocommerce ul.products li.product a img{aspect-ratio:4/3;object-fit:contain}.woocommerce ul.products li.product .price{color:var(--ink);font-weight:800}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem}
.site-footer{background:var(--navy);color:#edf3ff;padding:1.5rem 0}
@media(max-width:900px){.wrap{width:calc(100% - 36px)}.categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.wrap{width:calc(100% - 24px)}.mast{grid-template-columns:1fr auto;gap:.75rem}.search{grid-column:1/-1;grid-row:2}.hero{grid-template-columns:1fr}.hero-art{max-width:220px}.benefits{grid-template-columns:1fr}.actions{gap:.65rem;font-size:.85rem}.brand{font-size:.98rem}.brand-mark{width:35px;height:35px}.custom-logo{max-width:130px}.woocommerce ul.products li.product{padding:.65rem}}

.elementor-page-content{min-width:0;min-height:45vh}

.woocommerce ul.products li.product a.tcp-buy-now {
    display: block;
    width: fit-content;
    margin-top: .55rem;
    background: var(--navy);
    text-align: center;
}
.woocommerce ul.products li.product a.tcp-buy-now:hover {
    background: var(--brand);
    color: white;
}

.tcp-elementor-section > .section {margin-top: 0;}
.tcp-elementor-section > .benefits {margin-top: 0;}
