/* ============================================
   Vapostore Colomiers — styles.css
   Design : Violet Vapostore / Blanc / Noir
   ============================================ */
@import url('/assets/fonts/vape-fonts.css');

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet:       #7B2D8B;
  --violet-dark:  #5C1A6B;
  --violet-light: #F3E8F7;
  --violet-mid:   #9B4DAB;
  --white:        #FFFFFF;
  --black:        #0A0A0A;
  --gray:         #6B7280;
  --gray-light:   #F5F4F8;
  --border:       #E5E1F0;
  --danger:       #DC2626;
  --success:      #16A34A;

  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(109,40,217,.10);
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--violet-dark); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--violet);
  color: var(--white);
  border-color: var(--violet);
}
.btn-primary:hover {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109,40,217,.30);
}
.btn-outline {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn-outline:hover {
  background: var(--violet);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
}

/* ---------- Section labels ---------- */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-light);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-intro {
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

/* Logo */
.logo-img-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 58px; width: auto; display: block; }

/* Footer logo (texte) */
.logo-vape  { font-family: 'Josefin Sans', 'Century Gothic', sans-serif; font-weight: 700; color: #DDD6FE; }
.logo-store { font-family: 'Josefin Sans', 'Century Gothic', sans-serif; font-weight: 700; color: var(--white); }
.logo-city  { font-family: 'Dancing Script', cursive; font-weight: 700; color: rgba(255,255,255,.85); margin-left: 4px; }

/* Nav */
nav ul { display: flex; list-style: none; gap: 8px; }
nav ul li a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--black);
  transition: all var(--transition);
}
nav ul li a:hover { background: var(--violet-light); color: var(--violet); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--violet-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Legal banner ---------- */
.legal-banner {
  background: #FEF3C7;
  border-bottom: 1px solid #FCD34D;
  padding: 12px 0;
}
.legal-banner .container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legal-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.legal-banner p { font-size: .88rem; color: #92400E; line-height: 1.5; }
.legal-banner strong { color: #78350F; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 50%, var(--violet-mid) 100%);
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: .05em;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}
.hero-sub {
  font-size: 1.1rem;
  opacity: .88;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero .btn-primary { background: var(--white); color: var(--violet-dark); border-color: var(--white); }
.hero .btn-primary:hover { background: var(--violet-light); border-color: var(--violet-light); color: var(--violet-dark); }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }
.hero-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------- Boutique ---------- */
.boutique { padding: 80px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.feature-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--violet-dark); }
.feature-card p  { font-size: .9rem; color: var(--gray); line-height: 1.6; }

.boutique-infos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.info-pill {
  background: var(--violet-light);
  color: var(--violet-dark);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: .88rem;
  font-weight: 600;
}

/* ---------- Localisation ---------- */
.localisation {
  background: var(--gray-light);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.loca-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.loca-infos { display: flex; flex-direction: column; gap: 28px; }
.loca-block { display: flex; gap: 16px; align-items: flex-start; }
.loca-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.loca-block strong { display: block; font-weight: 700; margin-bottom: 4px; color: var(--violet-dark); }
.loca-block p { font-size: .95rem; color: var(--gray); line-height: 1.6; margin: 0; }
.loca-block .closed { font-size: .85rem; color: #9CA3AF; margin-top: 4px; }
.loca-map iframe { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Recrutement ---------- */
.recrutement { padding: 80px 0; }
.recru-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* Profil */
.recru-profil h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--violet-dark); }
.profil-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.profil-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--black); }
.check {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  min-width: 22px;
  background: var(--violet);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Form */
.recru-form-wrap {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.recru-form-wrap h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--violet-dark); }

.form-row { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
label { font-size: .875rem; font-weight: 600; color: var(--black); }
.req { color: var(--violet); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109,40,217,.12);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: var(--danger);
}
textarea { resize: vertical; min-height: 120px; }

/* File upload */
.file-upload { position: relative; cursor: pointer; }
.file-upload input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2;
  width: 100%; height: 100%;
}
.file-upload-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}
.file-upload:hover .file-upload-ui,
.file-upload.drag-over .file-upload-ui {
  border-color: var(--violet);
  background: var(--violet-light);
}
.file-upload.has-file .file-upload-ui { border-color: var(--success); background: #F0FDF4; }
.file-icon { font-size: 1.6rem; }
.file-text { font-size: .9rem; color: var(--gray); }
.file-text u { color: var(--violet); cursor: pointer; }
.file-hint { font-size: .78rem; color: #9CA3AF; }

/* Checkbox */
.form-check .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray);
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--violet);
  cursor: pointer;
}
.form-check a { color: var(--violet); text-decoration: underline; }

/* Messages */
.field-error { font-size: .82rem; color: var(--danger); margin-top: 4px; }
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-message.success { background: #F0FDF4; color: #14532D; border: 1px solid #BBF7D0; }
.form-message.error   { background: #FEF2F2; color: #7F1D1D; border: 1px solid #FECACA; }

/* ---------- Footer ---------- */
footer {
  background: var(--violet-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-brand .logo-vape  { color: #DDD6FE; }
.footer-brand .logo-store { color: var(--white); }
.footer-brand .logo-city  { color: rgba(255,255,255,.6); }
.footer-brand p { font-size: .88rem; margin-top: 8px; line-height: 1.6; color: rgba(255,255,255,.65); }
.footer-brand a { color: rgba(255,255,255,.85); text-decoration: underline; }
.footer-brand strong { color: var(--white); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: .82rem; background: rgba(0,0,0,.2); padding: 10px 20px; border-radius: 50px; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  /* Header nav */
  .nav-burger { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
    display: none;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 8px 0 12px; }
  nav ul li a { display: block; border-radius: 0; padding: 12px 24px; }

  /* Sections */
  .boutique, .localisation, .recrutement { padding: 56px 0; }
  .loca-grid { grid-template-columns: 1fr; }
  .loca-map { order: -1; }
  .recru-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .recru-form-wrap { padding: 24px 18px; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .footer-links { gap: 14px; }
}
