/* =========================================================
   PcXpress — style.css
   Dépannage informatique & hébergement web — La Grande-Motte
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  --ink:        #0B0D0E;   /* near-black background */
  --panel:      #16181A;   /* card / panel background */
  --panel-2:    #1E2124;   /* raised panel */
  --line:       #2A2D30;   /* hairline borders */
  --grey:       #8A9099;   /* muted text */
  --grey-soft:  #C7CBD1;
  --white:      #F5F6F5;
  --orange:     #FF6A1A;   /* signal orange */
  --orange-2:   #FF8A47;
  --orange-dim: #7A3210;
  --ok:         #35C97B;

  --bg:          var(--ink);
  --bg-panel:    var(--panel);
  --bg-panel-2:  var(--panel-2);
  --text:        var(--white);
  --text-muted:  var(--grey);
  --border:      var(--line);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-pill: 999px;

  --container: 1180px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

[data-theme="light"]{
  --bg:          #F3F1EC;
  --bg-panel:    #FFFFFF;
  --bg-panel-2:  #ECEAE4;
  --text:        #14161A;
  --text-muted:  #5B5F66;
  --border:      #DEDBD3;
  --orange-dim:  #FFE3D1;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono{ font-family: var(--font-mono); }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:8px; height:8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange-dim);
  animation: pulse 2s infinite;
}

@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 4px var(--orange-dim); }
  50%{ box-shadow: 0 0 0 8px transparent; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }

.btn-primary{
  background: linear-gradient(135deg, var(--orange), #E85A0C);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255,106,26,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(255,106,26,.65); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-block{ width:100%; }
.btn-sm{ padding: 9px 18px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top:0;
  z-index: 500;
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:20px; }
.brand .dot{ color: var(--orange); }
.brand-mark{
  width:36px; height:36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #E85A0C);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family: var(--font-mono); font-weight:700; font-size:14px;
  box-shadow: 0 6px 16px -6px rgba(255,106,26,.6);
}

/* juste après la règle .brand-mark */
.brand-logo{
  height: 36px;
  width: auto;
  max-width: none;   /* évite le conflit avec la règle globale img{max-width:100%} */
  display: block;
  object-fit: contain;
}

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.active{ color: var(--orange); }

.nav-actions{ display:flex; align-items:center; gap:14px; }

.theme-toggle{
  width:42px; height:42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  display:flex; align-items:center; justify-content:center;
  transition: border-color .2s, transform .3s var(--ease);
  -webkit-appearance:none; appearance:none;
  padding:0; line-height:1; flex-shrink:0;
}
.theme-toggle:hover{ border-color: var(--orange); color: var(--orange); transform: rotate(20deg); }

.nav-burger{ display:none; width:42px;height:42px; border-radius:50%; border:1px solid var(--border); background:var(--bg-panel); align-items:center; justify-content:center; -webkit-appearance:none; appearance:none; padding:0; line-height:1; flex-shrink:0; }
.theme-toggle i, .nav-burger i, .mobile-drawer-close i{ font-size:16px; line-height:1; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg-glow{
  position:absolute; inset:-20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(255,106,26,.18), transparent 70%);
  pointer-events:none;
  z-index:0;
}
.hero-video-wrap{
  position:absolute; inset:0; z-index:-1; overflow:hidden;
}
.hero-video-wrap video{
  width:100%; height:100%; object-fit:cover; opacity:.14; filter:saturate(0.6);
}
.hero-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items:center;
}
.hero h1{
  font-size: clamp(34px, 4.6vw, 58px);
  margin-bottom: 20px;
}
.hero h1 .highlight{ color: var(--orange); }
.hero p.lead{
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 40px; }

.hero-meta{
  display:flex; gap:28px; flex-wrap:wrap;
}
.hero-meta div{ display:flex; flex-direction:column; gap:2px; }
.hero-meta .num{ font-family: var(--font-mono); font-size: 22px; font-weight:700; color: var(--orange); }
.hero-meta .lbl{ font-size: 12.5px; color: var(--text-muted); text-transform:uppercase; letter-spacing:.06em; }

/* --- diagnostic terminal (signature element) --- */
.terminal{
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 0;
  overflow:hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.terminal-bar{
  display:flex; align-items:center; gap:8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel-2);
}
.terminal-bar span{ width:11px; height:11px; border-radius:50%; background: var(--border); }
.terminal-bar span:nth-child(1){ background:#FF5F57; }
.terminal-bar span:nth-child(2){ background:#FEBC2E; }
.terminal-bar span:nth-child(3){ background:#28C840; }
.terminal-bar .terminal-title{
  margin-left:8px; font-family: var(--font-mono); font-size:12px; color: var(--text-muted);
}
.terminal-body{
  padding: 22px 22px 26px;
  font-family: var(--font-mono);
  font-size: 13.4px;
  color: var(--grey-soft);
  min-height: 300px;
}
.terminal-body .line{ margin-bottom:10px; opacity:0; animation: typeIn .5s var(--ease) forwards; }
.terminal-body .line.ok::before{ content:"✔ "; color: var(--ok); }
.terminal-body .line.tag{ color: var(--orange); }
.terminal-body .prompt::before{ content:"$ "; color: var(--orange); }
.cursor{ display:inline-block; width:8px; height:15px; background: var(--orange); margin-left:2px; animation: blink 1s steps(1) infinite; vertical-align: -2px; }

@keyframes typeIn{ from{ opacity:0; transform: translateY(4px);} to{ opacity:1; transform:translateY(0);} }
@keyframes blink{ 50%{ opacity:0; } }

.terminal-bars{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.tbar{ height:6px; border-radius:4px; background: var(--border); overflow:hidden; }
.tbar i{ display:block; height:100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); width:0%; border-radius:4px; transition: width 1.4s var(--ease); }

/* ---------- Section generic ---------- */
section{ padding: 96px 0; position: relative; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head p{ color: var(--text-muted); font-size: 16px; }
.section-alt{ background: var(--bg-panel); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* ---------- About ---------- */
.about-grid{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items:center;
}
.about-card{
  background: var(--bg-panel);
  border:1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px;
}
.about-avatar{
  width:72px; height:72px; border-radius: 20px;
  background: linear-gradient(135deg,var(--orange),#E85A0C);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:26px; margin-bottom:20px;
}
.about-card h3{ font-size:20px; }
.about-card .role{ font-family: var(--font-mono); font-size:12.5px; color:var(--orange); text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
.about-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:16px; margin-top:24px; padding-top:24px; border-top:1px solid var(--border); }
.about-stats .num{ font-family: var(--font-mono); color:var(--orange); font-weight:700; font-size:22px; }
.about-stats .lbl{ font-size:12px; color:var(--text-muted); }

.about-text p{ color: var(--text-muted); margin-bottom: 18px; font-size:16px; }
.about-points{ display:grid; gap:14px; margin-top: 24px; }
.about-points li{ display:flex; gap:12px; align-items:flex-start; color: var(--text); font-size:15px; }
.about-points i{ color: var(--orange); margin-top:3px; flex-shrink:0; }
.about-points li > span{ flex:1; min-width:0; }

/* ---------- Services ---------- */
.service-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.filter-btn:hover{ color: var(--text); border-color: var(--orange); }
.filter-btn.active{
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}
.service-card.is-hidden, .is-hidden{ display: none; }
.services-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 26px 22px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow:hidden;
  display:block;
  color: inherit;
  text-decoration: none;
}
.service-card::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(255,106,26,.12), transparent 60%);
  opacity:0; transition: opacity .3s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); border-color: var(--orange); }
.service-card:hover::before{ opacity:1; }
.service-icon{
  width:48px; height:48px; border-radius: 12px;
  background: var(--bg-panel-2);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color: var(--orange); font-size:19px; margin-bottom:18px;
  position:relative; z-index:1;
}
.service-card h4{ font-size:16.5px; margin-bottom:8px; position:relative; z-index:1; }
.service-card p{ font-size:13.6px; color: var(--text-muted); position:relative; z-index:1; }
.service-tag{ font-family: var(--font-mono); font-size:10.5px; color: var(--orange); letter-spacing:.08em; text-transform:uppercase; position:relative; z-index:1; }

/* ---------- Nos créations ---------- */
.creations-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.creation-card{
  display:block;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow:hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.creation-card:hover{ transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 16px 36px -18px rgba(0,0,0,.45); }

.creation-preview{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-panel-2);
  border-bottom: 1px solid var(--border);
}
.creation-preview iframe{
  position:absolute;
  top:0; left:0;
  width: 250%;
  height: 250%;
  border: 0;
  transform: scale(.4);
  transform-origin: 0 0;
  pointer-events: none;
  background:#fff;
}
.creation-badge{
  position:absolute;
  top:12px; right:12px;
  display:inline-flex; align-items:center; gap:8px;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color:#fff;
  font-size:12.5px; font-weight:600;
  padding:8px 14px;
  border-radius: var(--radius-pill);
  opacity:0; transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.creation-card:hover .creation-badge{ opacity:1; transform:translateY(0); background: var(--orange); }

.creation-info{ padding: 18px 20px 22px; }
.creation-info h4{ font-size:16.5px; margin-bottom:10px; }
.creation-meta{ display:flex; flex-wrap:wrap; gap:14px; }
.creation-meta span{ font-size:12.5px; color: var(--text-muted); display:inline-flex; align-items:center; gap:6px; }
.creation-meta i{ color: var(--orange); }

/* ---------- Sections de texte génériques (domaines, etc.) ---------- */
.text-block{ max-width: 760px; margin: 0 auto; }
.text-block p{ color: var(--text-muted); font-size:15.5px; margin-bottom:16px; }
.text-block .about-points{ margin-top: 6px; }
.text-block .about-points li{ font-size:15px; }

/* ---------- Reviews ---------- */
.reviews-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom: 44px; }
.rating-box{
  display:flex; align-items:center; gap:16px;
  background: var(--bg-panel); border:1px solid var(--border); border-radius: var(--radius-m);
  padding: 16px 22px;
}
.rating-box .score{ font-family: var(--font-mono); font-size: 34px; font-weight:700; color: var(--orange); }
.rating-box .stars{ color:#FFB020; font-size:14px; margin-bottom:2px; }
.rating-box .count{ font-size:12.5px; color: var(--text-muted); }

.reviews-track{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 24px;
  display:flex; flex-direction:column; gap:14px;
}
.review-top{ display:flex; align-items:center; gap:12px; }
.review-avatar{ width:42px; height:42px; border-radius:50%; background: var(--bg-panel-2); display:flex; align-items:center; justify-content:center; font-weight:700; color: var(--orange); font-family: var(--font-display); }
.review-name{ font-weight:600; font-size:14.5px; }
.review-date{ font-size:12px; color: var(--text-muted); }
.review-stars{ color:#FFB020; font-size:13px; }
.review-text{ font-size:14.3px; color: var(--text-muted); }

/* ---------- Pricing table ---------- */
.price-table-wrap{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  overflow-x: auto;
}
.price-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.price-table thead th{
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--orange);
  background: var(--bg-panel-2);
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}
.price-table tbody td{
  padding: 16px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.price-table tbody tr:last-child td{ border-bottom: none; }
.price-table tbody tr{ transition: background .2s var(--ease); }
.price-table tbody tr:hover{ background: var(--bg-panel-2); }
.price-table tbody td:first-child{ font-weight:600; white-space: nowrap; }
.price-table tbody td:first-child i{ color: var(--orange); width:18px; margin-right:10px; }
.price-table tbody td:nth-child(2){ color: var(--text-muted); }
.price-table tbody td:last-child{ font-family: var(--font-mono); white-space: nowrap; color: var(--text); }
.price-table tbody td:last-child strong{ color: var(--orange); }

/* ---------- Hosting configurator ---------- */
.config-panel{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.config-controls{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.config-item-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.config-item-head label{
  display:flex; align-items:center; gap:10px;
  font-weight: 600; font-size: 14.5px;
}
.config-item-head label i{ color: var(--orange); }
.config-val{
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--orange);
  background: var(--orange-dim);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--border);
  outline: none;
  margin: 6px 0;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #E85A0C);
  border: 3px solid var(--bg-panel);
  box-shadow: 0 4px 14px -2px rgba(255,106,26,.6);
  cursor: pointer;
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover{ transform: scale(1.12); }
input[type="range"]::-moz-range-thumb{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #E85A0C);
  border: 3px solid var(--bg-panel);
  box-shadow: 0 4px 14px -2px rgba(255,106,26,.6);
  cursor: pointer;
}
input[type="range"]::-moz-range-track{ background: var(--border); height:6px; border-radius:4px; }

.config-scale{
  display:flex; justify-content:space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.config-summary{
  background: var(--bg-panel);
  border: 1px solid var(--orange-dim);
  border-radius: var(--radius-l);
  padding: 30px;
  position: sticky;
  top: 96px;
}
.config-summary h4{ font-size: 16px; margin-bottom: 20px; }
.config-summary-row{
  display:flex; justify-content:space-between; align-items:center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.config-summary-row span{ color: var(--text-muted); }
.config-summary-row strong{ font-family: var(--font-mono); }
.config-summary-total{
  display:flex; justify-content:space-between; align-items:baseline;
  padding: 18px 0;
  margin-bottom: 20px;
}
.config-summary-total span{ font-size: 13.5px; color: var(--text-muted); }
.config-summary-total strong{
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--orange);
}
.config-summary-total strong small{ font-size:13px; color: var(--text-muted); font-weight:400; }

.config-item-row{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.config-item-row label{ font-weight:600; font-size:14.5px; display:flex; align-items:center; gap:10px; }
.config-item-row label i{ color: var(--orange); }

/* Segmented control (disk type) */
.seg-control{
  display:flex;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}
.seg-btn{
  flex:1;
  border:none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
  border-radius: var(--radius-pill);
  transition: all .25s var(--ease);
}
.seg-btn.active{
  background: linear-gradient(135deg, var(--orange), #E85A0C);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255,106,26,.6);
}
.seg-btn:not(.active):hover{ color: var(--text); }

/* Toggle switch (IP dédiée) */
.switch{ position:relative; display:inline-block; width:50px; height:28px; flex-shrink:0; }
.switch input{ opacity:0; width:0; height:0; }
.switch-slider{
  position:absolute; cursor:pointer; inset:0;
  background: var(--border);
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease);
}
.switch-slider::before{
  content:"";
  position:absolute; height:20px; width:20px; left:4px; bottom:4px;
  background: #fff;
  border-radius:50%;
  transition: transform .25s var(--ease);
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.switch input:checked + .switch-slider{ background: linear-gradient(135deg, var(--orange), #E85A0C); }
.switch input:checked + .switch-slider::before{ transform: translateX(22px); }

/* Domain checker */
.domain-item{ border-top:1px solid var(--border); padding-top:22px; }
.domain-owned-check{
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
  font-size:13.5px; color: var(--text-muted);
  cursor:pointer; user-select:none;
}
.domain-owned-check input[type="checkbox"]{
  width:17px; height:17px;
  accent-color: var(--orange);
  cursor:pointer;
}
.domain-sub-choice{
  display:none;
  flex-direction:column;
  gap:10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.domain-sub-choice.show{ display:flex; }
.domain-radio{
  display:flex; align-items:center; gap:10px;
  font-size:13.5px; color: var(--text-muted);
  cursor:pointer; user-select:none;
}
.domain-radio input[type="radio"]{
  width:16px; height:16px;
  accent-color: var(--orange);
  cursor:pointer;
  flex-shrink:0;
}
.domain-radio:has(input:checked){ color: var(--text); }
.domain-check-row{ display:flex; gap:10px; }
.domain-check-row input{
  flex:1;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
}
.domain-check-row input:focus{ outline:none; border-color: var(--orange); }
.domain-result{ font-size: 13px; margin-top: 12px; display:none; align-items:center; gap:8px; }
.domain-result.show{ display:flex; }
.domain-result.available{ color: var(--ok); }
.domain-result.taken{ color: #ff6b6b; }
.domain-result.checking{ color: var(--text-muted); }
.domain-list{ margin-top: 14px; display:flex; flex-direction:column; gap:8px; }
.domain-list-item{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.domain-list-item span.dname{ color: var(--text); }
.domain-list-item span.dprice{ color: var(--orange); margin-left:auto; margin-right:10px; }
.domain-list-item span.dprice-owned{ color: var(--ok); display:inline-flex; align-items:center; gap:6px; }
.domain-list-item span.dprice-noted{ color: var(--text-muted); display:inline-flex; align-items:center; gap:6px; font-family: var(--font-body); font-size:12px; }
.domain-list-item button{
  border:none; background:none; color: var(--text-muted); font-size:14px; width:22px; height:22px;
}
.domain-list-item button:hover{ color:#ff6b6b; }
.domain-list-item span.dprice-free{ color: var(--ok); display:inline-flex; align-items:center; gap:6px; font-family: var(--font-body); font-size:12px; }

/* Sous-domaine gratuit */
.domain-subdomain-choice{
  display:none;
  flex-direction:column;
  gap:12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.domain-subdomain-choice.show{ display:flex; }
.subdomain-row{ display:flex; align-items:center; gap:8px; }
.subdomain-row input[type="text"]{
  flex:1;
  min-width:0;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
}
.subdomain-row input[type="text"]:focus{ outline:none; border-color: var(--orange); }
.subdomain-dot{ color: var(--text-muted); font-weight:600; flex-shrink:0; }
.subdomain-row select{
  flex:1;
  min-width:0;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor:pointer;
}
.subdomain-row select:focus{ outline:none; border-color: var(--orange); }
.domain-subdomain-choice .btn{ align-self:flex-start; }
.subdomain-preview{ font-size:12.5px; color: var(--text-muted); margin:0; }
.subdomain-preview span{ color: var(--orange); font-family: var(--font-mono); }

/* Promo code */
.promo-item{ border-top:1px solid var(--border); padding-top:22px; }
.promo-toggle{
  display:flex; align-items:center; gap:10px;
  background:none; border:none; color: var(--orange);
  font-weight:600; font-size:14px; padding:0;
}
.promo-toggle #promoChevron{ margin-left:auto; transition: transform .25s var(--ease); font-size:12px; }
.promo-toggle.open #promoChevron{ transform: rotate(180deg); }
.promo-box{
  display:none;
  gap:10px;
  margin-top:14px;
}
.promo-box.open{ display:flex; }
.promo-box input{
  flex:1;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
}
.promo-box input:focus{ outline:none; border-color: var(--orange); }
.promo-msg{ font-size: 13px; margin-top: 10px; display:none; }
.promo-msg.ok{ display:block; color: var(--ok); }
.promo-msg.err{ display:block; color: #ff6b6b; }

/* Price tabs (jour / mois / année) */
.price-tabs{
  display:grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 10px;
  margin: 20px 0 24px;
}
.price-tab{
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 14px 10px;
  text-align:center;
  display:flex; flex-direction:column; gap:6px;
}
.price-tab-main{
  background: var(--orange-dim);
  border-color: var(--orange);
}
.price-tab-lbl{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.price-tab-val{
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
}
.price-tab-main .price-tab-val{ color: var(--orange); font-size:19px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, #1B1000, #0B0D0E 60%);
  border: 1px solid var(--orange-dim);
  border-radius: var(--radius-l);
  padding: 56px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
}
[data-theme="light"] .cta-band{ background: linear-gradient(120deg, #FFF0E4, #FFFFFF 60%); }
.cta-band h3{ font-size: 26px; margin-bottom:8px; }
.cta-band p{ color: var(--text-muted); margin:0; }

/* ---------- Carrousel logos partenaires ---------- */
.logo-carousel-section{ padding: 56px 0; }
.logo-carousel-section .section-head{ margin-bottom: 36px; }
.logo-carousel{
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-carousel-track{
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: logoScroll 34s linear infinite;
}

.logo-carousel:hover .logo-carousel-track{ animation-play-state: paused; }
.logo-item{
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.logo-item i{ font-size: 54px; transition: transform .25s var(--ease); }
.logo-item:hover{ color: var(--text); }
.logo-item:hover i{ transform: translateY(-4px); }

.logo-item a.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-label {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.logo-img{ height: 104px; width: 104px; object-fit: contain; }

/* Couleurs de marque pour chaque logo (motif répété tous les 10 éléments) */
.logo-item:nth-child(10n+1) i{ color:#F38020; } /* Cloudflare */
.logo-item:nth-child(10n+2) i{ color:#FCC624; } /* Linux */
.logo-item:nth-child(10n+3) i{ color:#21A1E1; } /* WordPress */
.logo-item:nth-child(10n+4) i{ color:#8892BF; } /* PHP */
.logo-item:nth-child(10n+5) i{ color:#00A4EF; } /* Microsoft */
.logo-item:nth-child(10n+6) i{ color:#4285F4; } /* Google */
.logo-item:nth-child(10n+7) i{ color:#C9C9C9; } /* Apple */
.logo-item:nth-child(10n+8) i{ color:#2496ED; } /* Docker */
.logo-item:nth-child(10n+9) i{ color:#00C7B7; } /* Let's Encrypt */
.logo-item:nth-child(10n)  i{ color:#8B78D6; } /* GitHub */

@keyframes logoScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width: 680px){
  .logo-carousel-section{ padding: 40px 0; }
  .logo-carousel-track{ gap: 40px; animation-duration: 24s; }
  .logo-item{ font-size: 14.5px; gap: 12px; }
  .logo-item i{ font-size: 40px; }
}

/* ---------- Footer ---------- */
.footer{
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p{ color: var(--text-muted); font-size:14px; margin: 16px 0 20px; max-width:280px; }
.footer h5{ font-family: var(--font-mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.08em; color: var(--orange); margin-bottom:18px; }
.footer ul li{ margin-bottom:11px; }
.footer ul li a{ color: var(--text-muted); font-size:14px; transition: color .2s; }
.footer ul li a:hover{ color: var(--orange); }
.footer ul li i{ width:16px; color: var(--orange); margin-right:8px; }

.status-pill{ display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size:12.5px; padding:6px 12px; border-radius: var(--radius-pill); border:1px solid var(--border); }
.status-pill .d{ width:7px; height:7px; border-radius:50%; background: var(--ok); box-shadow:0 0 0 3px rgba(53,201,123,.25); }

.status-pill.ok .d{ background: var(--ok); box-shadow:0 0 0 3px rgba(53,201,123,.25); }
.status-pill.warn .d{ background: var(--orange); box-shadow:0 0 0 3px rgba(255,165,0,.25); }
.status-pill.down .d{ background: #FF4D4D; box-shadow:0 0 0 3px rgba(255,77,77,.25); }

.status-pill.ok{ color: var(--ok); }
.status-pill.warn{ color: var(--orange); }
.status-pill.down{ color: #FF4D4D; }

/* ===== Liens en "chips" (ex: ressources / domaines gratuits, outils) ===== */
.free-domains-box{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:16px; padding:14px 18px; border:1px solid var(--border); border-radius: var(--radius-m); background: var(--bg-panel); }
.free-domains-label{ font-size:13.5px; font-weight:600; color: var(--text); display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.free-domains-label i{ color: var(--ok); }
.link-chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.link-chip{ display:inline-flex; align-items:center; gap:7px; font-family: var(--font-mono); font-size:12.5px; padding:6px 14px; border-radius: var(--radius-pill); border:1px solid var(--border); color: var(--text); text-decoration:none; transition: all .2s var(--ease); }
.link-chip:hover{ color:#fff; background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.link-chip i{ color: var(--orange); font-size:11px; }
.link-chip:hover i{ color:#fff; }

.social-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.social-btn{
  width:38px; height:38px; border-radius:10px;
  border:1px solid var(--border); background: var(--bg-panel-2);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-muted); transition: all .25s var(--ease);
}
.social-btn:hover{ color:#fff; background: var(--orange); border-color: var(--orange); transform: translateY(-3px); }

.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  padding: 22px 0 30px;
  font-size: 13px; color: var(--text-muted);
}
.footer-bottom a{ color: var(--text-muted); }
.footer-bottom a:hover{ color: var(--orange); }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }

.footer-tech{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.footer-tech span{ display: inline-flex; align-items: center; gap: 6px; }
.footer-tech i{ color: var(--orange); font-size: 11px; }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:flex-start;
}
.contact-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px;
}
.field{ margin-bottom: 20px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:8px; color: var(--text-muted); text-transform:uppercase; letter-spacing:.04em; }
.field input, .field textarea, .field select{
  width:100%;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
}
.field select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238A9099'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.24 4.5a.75.75 0 01-1.08 0l-4.24-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position: right 14px center; background-size:16px; padding-right:40px;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-dim);
}
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.form-msg{ font-size: 13.5px; margin-top:14px; padding: 12px 14px; border-radius: var(--radius-s); display:none; }
.form-msg.ok{ display:block; background: rgba(53,201,123,.12); color: var(--ok); border:1px solid rgba(53,201,123,.3); }
.form-msg.err{ display:block; background: rgba(255,80,80,.1); color:#ff6b6b; border:1px solid rgba(255,80,80,.3); }

/* ===== Brief projet : sections, chips, sélecteurs de couleur ===== */
.brief-section{ padding:28px 0; border-bottom:1px solid var(--border); }
.brief-section:first-of-type{ padding-top:0; }
.brief-section:last-of-type{ border-bottom:none; padding-bottom:0; }
.brief-section-head{ display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.brief-section-head i{ color:var(--orange); font-size:15px; width:20px; text-align:center; }
.brief-section-head h3{ margin:0; font-size:17px; }
.brief-section-sub{ margin:0 0 18px 30px; font-size:13px; color:var(--text-muted); }

.chip-select{ display:flex; flex-wrap:wrap; gap:10px; }
.chip-option{ position:relative; display:inline-flex; }
.chip-option input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.chip-option span{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border:1px solid var(--border); border-radius: var(--radius-pill);
  font-size:13.5px; color:var(--text); background:var(--bg-panel-2);
  transition: all .2s var(--ease); cursor:pointer; user-select:none;
}
.chip-option span i{ font-size:12px; color:var(--text-muted); transition: color .2s var(--ease); }
.chip-option input:checked + span{ background:var(--orange); border-color:var(--orange); color:#fff; }
.chip-option input:checked + span i{ color:#fff; }
.chip-option input:focus-visible + span{ outline:2px solid var(--orange); outline-offset:2px; }

.color-pick-row{ display:flex; flex-wrap:wrap; gap:22px; margin-bottom:16px; }
.color-pick{ display:flex; flex-direction:column; gap:6px; }
.color-pick label{ font-size:12.5px; color:var(--text-muted); font-weight:600; }
.color-pick input[type="color"]{
  width:56px; height:40px; padding:3px; border:1px solid var(--border); border-radius:10px;
  background:var(--bg-panel-2); cursor:pointer;
}

.field-hint{ font-size:12px; color:var(--text-muted); margin:6px 0 0; }

.contact-info-list{ display:grid; gap:18px; margin-bottom:32px; }
.contact-info-item{ display:flex; gap:16px; align-items:flex-start; }
.contact-info-item .ic{
  width:44px; height:44px; border-radius:12px; background: var(--bg-panel-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color: var(--orange); flex-shrink:0;
}
.contact-info-item h4{ font-size:15px; margin-bottom:2px; }
.contact-info-item p, .contact-info-item a{ font-size:14px; color: var(--text-muted); }

.rapid-box{
  background: linear-gradient(135deg, rgba(255,106,26,.14), transparent);
  border: 1px solid var(--orange-dim);
  border-radius: var(--radius-m);
  padding: 24px;
  display:flex; gap:16px; align-items:flex-start; margin-bottom: 32px;
}
.rapid-box i{ color: var(--orange); font-size:22px; margin-top:2px; }
.rapid-box h4{ font-size:16px; margin-bottom:6px; }
.rapid-box p{ font-size:14px; color: var(--text-muted); margin:0; }

.map-wrap{
  border-radius: var(--radius-l);
  overflow:hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
  filter: grayscale(.35) contrast(1.05);
}
[data-theme="dark"] .map-wrap iframe, :root:not([data-theme="light"]) .map-wrap{ filter: grayscale(.5) invert(.92) contrast(.9); }
.map-wrap iframe{ width:100%; height:340px; border:0; display:block; }

.turnstile-box{ margin: 20px 0; }

/* ===== Groupes de choix "chip" (radio/checkbox stylés en pilules) ===== */
.form-section-title{ font-family: var(--font-heading); font-size:15.5px; font-weight:600; color: var(--text); margin: 30px 0 4px 0; display:flex; align-items:center; gap:9px; }
.form-section-title i{ color: var(--orange); font-size:14px; }
.form-section-hint{ font-size:13px; color: var(--text-muted); margin: 0 0 14px 0; }
.chip-options{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:6px; }
.chip-option{ position:relative; }
.chip-option input{ position:absolute; opacity:0; width:1px; height:1px; }
.chip-option span{
  display:inline-flex; align-items:center; gap:7px;
  font-size:13.5px; font-weight:600; color: var(--text-muted);
  background: var(--bg-panel-2); border:1px solid var(--border); border-radius: var(--radius-pill);
  padding:9px 18px; cursor:pointer; user-select:none;
  transition: all .2s var(--ease);
}
.chip-option span i{ font-size:12px; color: var(--orange); }
.chip-option:hover span{ border-color: var(--orange); color: var(--text); }
.chip-option input:checked + span{ background: var(--orange); border-color: var(--orange); color:#fff; }
.chip-option input:checked + span i{ color:#fff; }
.chip-option input:focus-visible + span{ outline:2px solid var(--orange); outline-offset:2px; }

/* ===== Sélecteurs de couleur ===== */
.color-picker-row{ display:flex; flex-wrap:wrap; gap:22px; margin-bottom:6px; }
.color-picker-item{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.color-picker-item label{ font-size:12.5px; color: var(--text-muted); font-weight:600; }
.color-picker-item input[type="color"]{
  width:52px; height:52px; padding:0; border:1px solid var(--border); border-radius:50%;
  cursor:pointer; background:none; overflow:hidden;
}
.color-picker-item input[type="color"]::-webkit-color-swatch-wrapper{ padding:0; border-radius:50%; }
.color-picker-item input[type="color"]::-webkit-color-swatch{ border:none; border-radius:50%; }

/* ---------- Bouton retour en haut ---------- */
.back-to-top{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  display:flex; align-items:center; justify-content:center;
  font-size: 17px;
  cursor: pointer;
  -webkit-appearance:none; appearance:none;
  padding:0; line-height:1;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.45);
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, border-color .2s, color .2s, background .3s var(--ease);
}
.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover{
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

@media (max-width: 640px){
  .back-to-top{ right:16px; bottom:16px; width:42px; height:42px; font-size:15px; }
}

/* ---------- RGPD banner ---------- */
.rgpd{
  position: fixed; left:20px; right:20px; bottom:20px;
  max-width: 620px; margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 24px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  z-index: 900;
  display:flex; flex-direction:column; gap:16px;
  transform: translateY(160%);
  transition: transform .5s var(--ease);
}
.rgpd.show{ transform: translateY(0); }
.rgpd p{ font-size: 13.6px; color: var(--text-muted); margin:0; }
.rgpd-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Bandeau code promo ---------- */
.promo-bar{
  position: relative;
  z-index: 600;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .45s var(--ease), opacity .35s var(--ease);
}
.promo-bar.show{ max-height: 88px; opacity: 1; }
.promo-bar-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 11px 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  flex-wrap: wrap;
}
.promo-bar-content{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
  justify-content:center;
  color:#fff;
  font-size: 14px;
  font-weight: 600;
  text-align:center;
}
.promo-bar-content i{ font-size:14px; color:#fff; }
.promo-bar-text{ letter-spacing:.01em; }
.promo-bar-code{
  cursor:pointer;
  background: rgba(255,255,255,.22);
  border:1px dashed rgba(255,255,255,.75);
  color:#fff;
  border-radius: var(--radius-s);
  padding: 3px 12px;
  font-size: 12.5px;
  letter-spacing:.06em;
  transition: background .2s;
  -webkit-appearance:none; appearance:none;
}
.promo-bar-code:hover{ background: rgba(255,255,255,.34); }

.promo-bar-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.promo-bar-cta{
  display:inline-flex; align-items:center; gap:6px;
  background:#fff; color: var(--orange-2);
  font-size:13px; font-weight:700;
  padding:6px 14px;
  border-radius: var(--radius-pill);
  white-space:nowrap;
  transition: transform .2s var(--ease);
}
.promo-bar-cta:hover{ transform: translateY(-1px); }
[data-theme="light"] .promo-bar-cta{ color: var(--orange); }

.promo-bar-close{
  width:28px; height:28px;
  border-radius:50%;
  border:none;
  background: rgba(255,255,255,.18);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: background .2s;
  -webkit-appearance:none; appearance:none;
  padding:0;
}
.promo-bar-close:hover{ background: rgba(255,255,255,.34); }

@media (max-width: 640px){
  .promo-bar-inner{ padding: 9px 14px; gap:10px; }
  .promo-bar-content{ font-size:12.8px; gap:7px; }
}
@media (max-width: 480px){
  .promo-bar-inner{ flex-wrap: nowrap; }
  .promo-bar-content{ flex-wrap: nowrap; overflow:hidden; min-width:0; }
  .promo-bar-text{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
  .promo-bar-code{ display:none; }
  .promo-bar-cta-label{ display:none; }
  .promo-bar-cta{ padding:6px 10px; }
}

/* ---------- Fond dynamique (signature terminal) ---------- */
.bg-fx{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-fx-grid{
  position:absolute;
  inset:-10%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity:.4;
  mask-image: radial-gradient(75% 55% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 55% at 50% 0%, #000 0%, transparent 78%);
  animation: bgGridDrift 50s linear infinite;
}
[data-theme="light"] .bg-fx-grid{ opacity:.55; }
@keyframes bgGridDrift{
  from{ transform: translate(0,0); }
  to{ transform: translate(46px,46px); }
}
.bg-fx-glow{
  position:absolute; inset:-25% -10% auto -10%;
  height: 640px;
  background: radial-gradient(55% 55% at 30% 10%, rgba(255,106,26,.16), transparent 70%);
}
.bg-fx-terminal{
  position:absolute;
  left:22px; bottom:18px;
  display:flex; align-items:center; gap:1px;
  font-size: 12.5px;
  color: var(--text-muted);
  opacity:.5;
  letter-spacing:.01em;
}
.bg-fx-terminal .bg-fx-dollar{ color: var(--orange); margin-right:7px; }
.bg-fx-terminal .cursor{ width:7px; height:13px; margin-left:3px; }

@media (max-width: 680px){
  .bg-fx-terminal{ display:none; }
}

/* ---------- Animations ---------- */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-fade{ opacity:0; transition: opacity .8s var(--ease); }
.reveal-fade.in{ opacity:1; }

.delay-1{ transition-delay: .08s; }
.delay-2{ transition-delay: .16s; }
.delay-3{ transition-delay: .24s; }
.delay-4{ transition-delay: .32s; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .creations-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .reviews-track{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .config-panel{ grid-template-columns: 1fr; }
  .config-summary{ position: static; }
}

@media (max-width: 1024px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
}

@media (max-width: 680px){
/*  .nav-links{ display:none; }
  .nav-burger{ display:flex; }*/
  .services-grid{ grid-template-columns: 1fr; }
  .creations-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  section{ padding: 64px 0; }
  .hero{ padding: 56px 0 56px; }

  /* Masqués sur mobile uniquement — visibles dès la tablette (>680px) */
  #tarifs, #hebergement, #domaines-gratuits{ display:none; }
  .mobile-drawer a[href$="#tarifs"],
  .mobile-drawer a[href*="index.html#tarifs"],
  .footer a[href$="#tarifs"],
  .footer a[href*="index.html#tarifs"],
  .footer a[href$="#hebergement"],
  .footer a[href*="index.html#hebergement"]{
    display:none;
  }
  .footer li:has(> a[href$="#tarifs"]),
  .footer li:has(> a[href*="index.html#tarifs"]),
  .footer li:has(> a[href$="#hebergement"]),
  .footer li:has(> a[href*="index.html#hebergement"]){
    display:none;
  }
  .nav-actions a[href$="#hebergement"]{ display:none; }
}

/* ---------- Responsive — petits mobiles ---------- */
@media (max-width: 480px){
  .container{ padding: 0 16px; }
  .nav-inner{ padding: 14px 16px; }
  .nav-actions{ gap: 10px; }
  .brand{ font-size: 17px; gap: 8px; }
  .brand-mark{ width: 32px; height: 32px; font-size: 12px; border-radius: 8px; }
  .brand-logo{ height: 30px; }
  .theme-toggle, .nav-burger{ width: 36px; height: 36px; }
  .theme-toggle i, .nav-burger i{ font-size: 14px; }

  /* Bouton CTA de la nav en icône seule pour éviter tout débordement */
  .nav-actions a.btn.btn-sm{
    width: 38px; height: 38px; padding: 0; border-radius: 50%; gap: 0;
  }
  .nav-actions a.btn.btn-sm .btn-label{ display: none; }

  section{ padding: 48px 0; }
  .hero{ padding: 40px 0 40px; }
  .hero h1{ margin-bottom: 16px; }
  .hero p.lead{ font-size: 16px; }
  .hero-actions{ gap: 12px; margin-bottom: 32px; }
  .hero-actions .btn{ flex: 1 1 auto; }
  .hero-meta{ gap: 20px; }

  .section-head{ margin-bottom: 36px; }
  .about-card, .contact-card, .config-controls{ padding: 22px; }
  .about-stats{ gap: 8px; }
  .about-stats .num{ font-size: 19px; }

  .rating-box{ width: 100%; justify-content: center; }
  .reviews-head{ flex-direction: column; align-items: flex-start; }

  .cta-band{ padding: 28px 22px; }
  .cta-band .btn{ width: 100%; }

  .terminal-body{ min-height: 220px; padding: 18px 16px 20px; }
  .map-wrap iframe{ height: 240px; }

  /* Configurateur d'hébergement : éviter le débordement des colonnes de prix */
  .price-tabs{ gap: 6px; }
  .price-tab{ padding: 10px 4px; }
  .price-tab-val{ font-size: 14px; }
  .price-tab-main .price-tab-val{ font-size: 16px; }
  .config-summary{ padding: 22px; }
  .config-item-row{ flex-wrap: wrap; }
  .domain-check-row{ flex-direction: column; }
  .domain-check-row .btn{ width: 100%; }
  .subdomain-row{ flex-direction: column; align-items: stretch; }
  .subdomain-dot{ display:none; }
  .domain-subdomain-choice .btn{ width: 100%; }
  .promo-box{ flex-direction: column; }
  .promo-box .btn{ width: 100%; }

  .rgpd{ left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .rgpd-actions .btn{ flex: 1 1 auto; }

  .footer{ padding-top: 56px; }
  .footer-brand p{ max-width: none; }
}

/* ---------- Pages légales ---------- */
.legal-block{ margin-bottom: 40px; }
.legal-block h2{ font-size: 19px; margin-bottom: 12px; }
.legal-block p{ color: var(--text-muted); font-size: 15px; margin-bottom: 10px; }
.legal-block a{ text-decoration: underline; text-underline-offset: 3px; }
.legal-list{ list-style: disc; padding-left: 22px; margin: 8px 0 14px; }
.legal-list li{ color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.legal-list li strong{ color: var(--text); }

/* ---------- Admin (gestion des codes promo) ---------- */
.admin-shell{
  min-height: 100vh;
  display:flex; align-items:center; justify-content:center;
  padding: 40px 20px;
}
.admin-login-card{
  width: 100%; max-width: 380px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px;
  text-align:center;
}
.admin-login-card .brand-mark{ margin: 0 auto 18px; }
.admin-wrap{ max-width: 920px; margin: 0 auto; padding: 48px 24px 80px; }
.admin-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; flex-wrap:wrap; gap:16px; }
.admin-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  margin-bottom: 28px;
}
.admin-card h3{ font-size:17px; margin-bottom:18px; }
.promo-table{ width:100%; border-collapse: collapse; }
.promo-table th{
  text-align:left; font-family: var(--font-mono); font-size:11.5px; text-transform:uppercase;
  letter-spacing:.06em; color: var(--text-muted); padding: 10px 12px; border-bottom:1px solid var(--border);
}
.promo-table td{ padding: 12px; border-bottom:1px solid var(--border); font-size:14px; }
.promo-table code{ font-family: var(--font-mono); color: var(--orange); background: var(--orange-dim); padding:3px 8px; border-radius:6px; }
.pill-active{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color: var(--ok); }
.pill-active::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--ok); }
.pill-inactive{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color: var(--text-muted); }
.pill-inactive::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--border); }
.admin-actions{ display:flex; gap:8px; }
.admin-actions button{
  border:1px solid var(--border); background: var(--bg-panel-2); color: var(--text-muted);
  width:32px; height:32px; border-radius:8px; font-size:13px; transition: all .2s var(--ease);
}
.admin-actions button:hover{ color:#fff; border-color: var(--orange); background: var(--orange); }
.admin-alert{ padding: 12px 16px; border-radius: var(--radius-s); font-size:13.5px; margin-bottom:20px; }
.admin-alert.ok{ background: rgba(53,201,123,.12); color: var(--ok); border:1px solid rgba(53,201,123,.3); }
.admin-alert.err{ background: rgba(255,80,80,.1); color:#ff6b6b; border:1px solid rgba(255,80,80,.3); }

.mobile-drawer{
  position:fixed; inset:0; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  z-index: 600;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px;
  opacity:0; pointer-events:none; transition: opacity .3s var(--ease);
}
.mobile-drawer.open{ opacity:1; pointer-events:all; }
.mobile-drawer a{ font-family: var(--font-display); font-size: 24px; }
.mobile-drawer-close{ position:absolute; top:24px; right:24px; width:42px; height:42px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; -webkit-appearance:none; appearance:none; padding:0; line-height:1; background:var(--bg-panel); color:var(--text); }
/* ---------- Nav dropdown "Mes Services" ---------- */
.nav-dropdown{ position:relative; }
.nav-dropdown-toggle{
  background:none; border:none; padding:4px 0;
  font-family: inherit; font-size:14.5px; font-weight:500;
  color: var(--text-muted); display:flex; align-items:center; gap:6px;
  transition: color .2s var(--ease);
}
.nav-dropdown-toggle i{ font-size:11px; transition: transform .2s var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle:focus-visible{ color: var(--text); }
.nav-dropdown:hover .nav-dropdown-toggle i{ transform: rotate(180deg); }

.nav-dropdown-menu{
  position:absolute; top: calc(100% + 16px); left:50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 260px;
  background: var(--bg-panel);
  border:1px solid var(--border);
  border-radius: var(--radius-m);
  padding:8px;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.45);
  opacity:0; pointer-events:none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 600;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1; pointer-events:all; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:8px;
  font-size:13.5px; color: var(--text-muted); white-space:nowrap;
}
.nav-dropdown-menu a i{ color: var(--orange); width:16px; text-align:center; }
.nav-dropdown-menu a:hover{ background: var(--bg-panel-2); color: var(--text); }

/* ---------- Sous-groupe "Mes Services" dans le menu mobile ---------- */
.drawer-services{
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.drawer-services-label{
  font-family: var(--font-mono); font-size:12px; text-transform:uppercase;
  letter-spacing:.08em; color: var(--orange); margin-top:6px;
}
.drawer-services a{ font-size:18px; }