/* style.css – Studioregard.ch | Révision : 2026-03-28 */
@charset "utf-8";

/* ===== VARIABLES ===== */
:root {
  --bg: #0a0a0b;
  --bg2: #0f1012;
  --card: #141417;
  --muted: #b9bec8;
  --text: #f5f6f8;
  --accent: #e3b23c;
  --accent-2: #f2d07b;
  --copper: #c9892b;
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --radius: 18px;
  --ring: #2a2b30;
}

/* ===== RESET ===== */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body a:link, body a:visited, body a:hover, body a:active, body a:focus {
  text-decoration: none;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== STICKY BANDEAU BLACK FRIDAY ===== */
.sticky {
  font-family: sans-serif;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15,16,18,.95), rgba(10,10,11,.95));
  color: #f4f1ea;
  border-bottom: 1px solid #1f2024;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.sticky-inner {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  font-weight: 700;
  line-height: 1.22;
}
#sparklebar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .45;
}
.mini-ttl { display: inline-flex; align-items: center; gap: .6rem; }
.mini-ttl strong {
  letter-spacing: .02em;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mini-count { font-weight: 800; color: #ded7c4; }
.cta {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #30210c;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.06);
}
.cta:hover { filter: brightness(1.06); }
.spacer { height: 56px; }

/* ===== CONTAINER ===== */
.oneColFixCtrHdr #container {
  font-family: sans-serif;
  color: var(--muted);
  width: 100%;
  background: var(--bg);
  margin: 0 auto;
  border: 0;
  text-align: left;
}

/* ===== MENU BURGER (MOBILE FIRST) ===== */
#menu {
  background-color: var(--bg);
  width: 100%;
  position: relative;
  font-family: sans-serif;
  border-bottom: 1px solid var(--ring);
  z-index: 500;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  margin: 15px 0 15px 15px;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--muted);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.burger.active span { background-color: var(--accent); }

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  width: 100%;
  background-color: var(--card);
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--ring);
}
.nav-links.show {
  display: flex;
  animation: slideDown 0.3s ease-out forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links li { width: 100%; text-align: center; }
.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  padding: 15px 0;
  transition: color 0.3s ease;
  border-bottom: 1px solid var(--ring);
}
.nav-links a:hover { color: var(--accent); }

/* ===== HEADER ===== */
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.header img {
  max-width: 100%;
  height: auto;
  flex: 1 1 auto;
  object-fit: cover;
  cursor: pointer;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

/* ===== MAIN CONTENT ===== */
.oneColFixCtrHdr #mainContent {
  background: var(--bg);
  text-align: justify;
  border: none;
}
.oneColFixCtrHdr #mainContent p {
  padding: 0 5px;
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
  clear: both;
}
.oneColFixCtrHdr #mainContent ul,
.oneColFixCtrHdr #mainContent ol {
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
  padding-left: 20px;
  padding-right: 5px;
  margin: 0;
}
.oneColFixCtrHdr #mainContent li { padding-bottom: 6px; }

/* Titres – cards sombres dorées */
.oneColFixCtrHdr #mainContent h1 {
  clear: both;
  background: linear-gradient(180deg, #131316, #101114);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 20px;
  text-align: center;
  margin: 20px 0;
  padding: 10px 18px;
}
.oneColFixCtrHdr #mainContent h2,
.oneColFixCtrHdr #mainContent h3,
.oneColFixCtrHdr #mainContent h4 {
  clear: both;
  background: linear-gradient(180deg, #131316, #101114);
  border: 1px solid var(--ring);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--accent-2);
  font-size: 18px;
  text-align: center;
  margin: 20px 0;
  padding: 10px 18px;
}
.oneColFixCtrHdr #mainContent h5,
.oneColFixCtrHdr #mainContent h6 {
  clear: both;
  background: var(--bg);
  text-align: left;
  font-weight: 400;
  color: var(--text);
  font-size: 24px;
  margin: 0;
  padding-left: 12px;
  line-height: 100%;
}

/* ===== FOOTER ===== */
.oneColFixCtrHdr #footer {
  text-align: center;
  padding: 0 10px;
  border-top: 1px solid var(--ring);
  background: var(--bg);
}
.oneColFixCtrHdr #footer p {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  padding: 10px 0;
}
#footer {
  background: var(--bg);
  border-top: 1px solid var(--ring);
  padding: 20px 0;
  opacity: .9;
  color: #bdb7a6;
  font-size: .9rem;
  margin-bottom: 60px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 0 20px;
}
.footer-text { text-align: center; flex-grow: 1; }
.footer-text p { color: var(--muted); font-size: 12px; margin: 5px 0; }
.footer-logo-left  { display: flex; align-items: center; }
.footer-logo-right { display: flex; align-items: center; }

/* ===== REGLEMENT ===== */
.oneColFixCtrHdr #reglement {
  font-family: sans-serif;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
  margin: 0 auto;
  padding: 10px;
  width: 100%;
  text-align: center;
}

/* ===== UTILITAIRES ===== */
.orange2 { color: var(--accent); }
.gris    { color: var(--muted); }
.noir    { color: #000; }
.separator { margin: 0 6px; }
.facebook { display: none; }
.spaced-text { letter-spacing: 3px; font-weight: 400; }
.contact-line a { text-decoration: none; color: var(--muted); }
.stars  { color: var(--accent); }
.espace { width: 100%; height: 16px; clear: both; }
.nomobile { display: none; }

/* ===== HERO ===== */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.hero img {
  max-width: 100%;
  height: auto;
  flex: 1 1 auto;
  object-fit: scale-down;
}

/* ===== CTA BUTTONS ===== */
.cta-section { display: flex; justify-content: center; align-items: center; }

.call-button {
  display: inline-block;
  background-color: #008080;
  color: white;
  padding: 15px 25px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: transform 0.3s ease;
}
.call-button a, .call-button p,
.portfolio-button a, .portfolio-button p { color: white; }
.call-button:hover { background-color: var(--accent); transform: scale(1.05); }

.portfolio-button {
  display: inline-block;
  background-color: var(--bg);
  color: white;
  padding: 15px 25px;
  text-align: center;
  border-radius: 50px;
  border: 5px solid #008080;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
  transition: transform 0.3s ease;
}
.portfolio-button i { color: #008080; font-size: 20px; font-weight: bold; }
.portfolio-button:hover { border-color: var(--accent); transform: scale(1.05); }

.btn-primary {
  font-size: 18px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #2b210d;
  padding: 10px 20px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.3s ease;
  box-shadow: 0 6px 16px rgba(227,178,60,.2);
}
.btn-primary:hover { filter: brightness(1.06); transform: scale(1.05); }

/* ===== BLOCKS / PRESTATIONS GRID ===== */
.blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  justify-items: center;
  padding: 10px;
}
.block {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 160px;
  max-height: 160px;
  border: 1px solid var(--ring);
  border-radius: 10px;
  opacity: 0.95;
  transition: transform 0.3s ease;
  background-color: var(--card);
  padding: 0;
}
.block img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.block:hover { transform: scale(1.05); opacity: 1; }

/* ===== PARTENAIRES ===== */
.partenaires {}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 5px;
  justify-items: center;
}
.logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 160px;
  max-height: 160px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  transition: transform 0.3s ease;
}
.logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-item:hover { transform: scale(1.05); }

/* ===== OFFRES / TARIFS ===== */
.offres {
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
.offres p { margin: 0; padding: 0; }

.exemple-photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.exemple-photo img { max-width: 100%; height: auto; flex: 1 1 auto; object-fit: scale-down; }

.flexbox-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #131316, #101114);
  border: 1px solid var(--ring);
  border-radius: 0 50px 50px 0;
  height: 100px;
  width: 100%;
  padding: 0;
}
.text-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 15px;
}
.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  transition: transform 0.3s ease;
}
.image-container img { margin-top: 3px; padding-right: 5px; }
.image-container:hover { transform: scale(1.05); }

.text-content-titre      { font-weight: 600; color: var(--accent-2); font-size: 20px; padding-bottom: 5px; }
.text-content-soustitre1 { font-weight: 400; color: var(--muted); font-size: 16px; }
.text-content-soustitre2 { font-weight: 400; color: var(--accent); font-size: 16px; }

/* ===== FORMULAIRE ===== */
.contact-form {
  padding: 30px 20px;
  background: var(--bg);
  text-align: center;
}
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 16px; margin-bottom: 5px; color: var(--muted); }
.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid var(--ring);
  border-radius: 8px;
  margin: 0 auto;
  display: block;
  background: var(--card);
  color: var(--text);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); outline: none; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.wa-float a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
  text-decoration: none;
}
.wa-float a:hover { filter: brightness(1.08); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

/* ===== DESKTOP (≥769px) ===== */
@media screen and (min-width: 769px) {
  body {
    background: radial-gradient(1200px 600px at 50% -10%, #18181b 0%, #0a0a0b 60%);
    background-attachment: fixed;
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
  }

  .oneColFixCtrHdr #container {
    font-family: sans-serif;
    color: var(--muted);
    width: 1120px;
    background: var(--bg);
    margin: 0 auto;
    border: 10px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 8px 8px 28px #000;
    text-align: left;
  }

  #menu {
    background-color: var(--card);
    padding: 15px 0;
    border-bottom: none;
    display: flex;
    justify-content: center;
  }

  .burger { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    background-color: transparent;
    border-top: none;
    width: auto;
    text-align: center;
  }
  .nav-links li { width: auto; }
  .nav-links a {
    display: inline-block;
    padding: 5px 10px;
    font-weight: 400;
    font-size: 18px;
    border-bottom: none;
    color: var(--muted);
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-links li::after {
    content: "|";
    color: var(--accent);
    margin: 0;
    font-weight: bold;
    font-size: 18px;
  }
  .nav-links li:last-child::after { content: none; }

  .oneColFixCtrHdr #mainContent {
    padding: 0 10px;
    background: var(--bg);
    text-align: justify;
  }
  .oneColFixCtrHdr #mainContent p  { font-weight: 400; color: var(--muted); font-size: 16px; clear: both; }
  .oneColFixCtrHdr #mainContent ul,
  .oneColFixCtrHdr #mainContent ol { font-weight: 400; color: var(--muted); font-size: 16px; }

  .oneColFixCtrHdr #mainContent h1,
  .oneColFixCtrHdr #mainContent h2,
  .oneColFixCtrHdr #mainContent h3,
  .oneColFixCtrHdr #mainContent h4 {
    clear: both;
    background: linear-gradient(180deg, #131316, #101114);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--accent-2);
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
    padding: 10px 18px;
  }
  .oneColFixCtrHdr #mainContent h5,
  .oneColFixCtrHdr #mainContent h6 {
    clear: both;
    background: var(--bg);
    text-align: left;
    font-weight: 400;
    color: var(--text);
    font-size: 24px;
    margin: 0;
    padding-left: 12px;
    line-height: 100%;
  }

  .oneColFixCtrHdr #footer {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    text-align: center;
    padding: 0 10px;
    border-top: 1px solid var(--ring);
    background: var(--bg);
  }
  .oneColFixCtrHdr #footer p { font-weight: 400; color: var(--muted); font-size: 12px; margin: 0; padding: 10px 0; }

  .oneColFixCtrHdr #reglement {
    width: 1100px;
    font-family: sans-serif;
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .espace { width: 100%; height: 8px; clear: both; }
  .nomobile { display: revert; }

  .partenaires {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg);
  }
  .logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
  }
  .logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 5px;
    transition: transform 0.3s ease;
  }

  .offres p { margin: 0; padding: 0 0 0 10px; }
  .offres ul { line-height: 120%; margin-top: 10px; margin-bottom: 0; }

  .btn-primary {
    font-size: 16px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    color: #2b210d;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.3s ease;
  }

  .footer-content {
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
  }
}
