/* ─── assets/css/main.css ────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #D04F54;
  --red-dark: #b53e43;
  --red-light: #e8787c;
  --yellow: #F0D56A;
  --yellow-dark: #d4b94a;
  --dark: #1a1a1a;
  --mid: #555;
  --light: #f9f4e8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 6px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--yellow); color: var(--dark); overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--yellow); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── HEADER ─────────────────────────────────────────────────────────────────*/
header { background: var(--red); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(208,79,84,.3); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo-mark { width: 44px; height: 44px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 900; color: var(--red); font-size: 16px; letter-spacing: -1px; flex-shrink: 0; overflow: hidden; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; }
.logo-sub { font-size: 11px; opacity: .85; letter-spacing: .5px; margin-top: 1px; }
nav { display: flex; align-items: center; gap: 4px; }
nav a { color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: background .2s; white-space: nowrap; }
nav a:hover, nav a.active { background: rgba(255,255,255,.18); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; flex-direction: column; background: var(--red-dark); padding: 12px 24px 20px; }
.mobile-nav a { color: white; padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────────────────────────*/
#hero { position: relative; min-height: 92vh; display: flex; align-items: center; background: var(--yellow); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .18; }
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-shape-1 { position: absolute; right: -80px; top: -80px; width: 520px; height: 520px; border-radius: 50%; background: var(--red); opacity: .12; }
.hero-shape-2 { position: absolute; left: -60px; bottom: -100px; width: 380px; height: 380px; border-radius: 50%; background: var(--red); opacity: .08; }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: white; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: .3px; }
.hero-badge::before { content: '✦'; font-size: 10px; }
.hero-title { font-size: clamp(2.4rem,5vw,3.8rem); line-height: 1.1; color: var(--dark); margin-bottom: 16px; }
.hero-title span { color: var(--red); display: block; }
.hero-slogan { font-size: 1.05rem; color: var(--mid); margin-bottom: 36px; line-height: 1.7; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(208,79,84,.35); }
.btn-secondary { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-secondary:hover { background: var(--dark); color: white; }
.hero-card { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.hero-card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.hero-card-title::before { content: ''; width: 4px; height: 22px; background: var(--red); border-radius: 2px; }
.hero-args { display: flex; flex-direction: column; gap: 14px; }
.hero-arg { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--yellow); border-radius: var(--radius-sm); }
.hero-arg-icon { font-size: 24px; flex-shrink: 0; }
.hero-arg-label { font-weight: 600; font-size: 14px; }
.hero-arg-desc { font-size: 12px; color: var(--mid); margin-top: 1px; }

/* ── SECTIONS ────────────────────────────────────────────────────────────────*/
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 16px; color: var(--dark); }
.section-subtitle { font-size: 1.05rem; color: var(--mid); max-width: 560px; line-height: 1.7; }

/* ── SERVICES ────────────────────────────────────────────────────────────────*/
#services { background: white; }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-subtitle { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card { background: var(--yellow); border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; background: var(--red); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.service-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mid); }
.service-list li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ── WHY ─────────────────────────────────────────────────────────────────────*/
#pourquoi { background: var(--red); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text .section-eyebrow { color: var(--yellow); }
.why-text .section-title { color: white; margin-bottom: 24px; }
.why-text p { color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 1.75; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(255,255,255,.2); }
.why-card-icon { font-size: 30px; margin-bottom: 12px; }
.why-card-title { font-size: 15px; font-weight: 700; color: white; margin-bottom: 6px; }
.why-card-desc { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.5; }

/* ── RÉALISATIONS ────────────────────────────────────────────────────────────*/
#realisations { background: var(--light); }
.real-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 20px; }
.real-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.filter-btn { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; background: white; color: var(--mid); border: 2px solid transparent; transition: all .2s; cursor: pointer; }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); color: white; }
.jobs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.job-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; cursor: pointer; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.job-carousel { position: relative; height: 220px; background: #e8e0d0; overflow: hidden; }
.job-carousel img, .job-carousel video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.job-carousel img.active, .job-carousel video.active { opacity: 1; pointer-events: auto; }
.job-carousel video { background: #000; }
.carousel-nav { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; transition: background .2s; }
.carousel-dot.active { background: white; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.4); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; transition: opacity .2s; cursor: pointer; }
.job-carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.job-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,var(--yellow),var(--yellow-dark)); font-size: 48px; }
.job-body { padding: 20px; }
.job-cat { display: inline-block; background: var(--yellow); color: var(--dark); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.job-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.job-desc { font-size: 13px; color: var(--mid); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-time { font-size: 12px; color: var(--red); font-weight: 600; }
.no-jobs { text-align: center; padding: 60px; color: var(--mid); grid-column: 1/-1; }

/* ── CONTACT ─────────────────────────────────────────────────────────────────*/
#contact { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--yellow); border-radius: var(--radius); }
.contact-item-icon { width: 44px; height: 44px; background: var(--red); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-label { font-size: 12px; color: var(--mid); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-item-value { font-size: 15px; font-weight: 700; color: var(--dark); }
.contact-item-value a { color: var(--red); }
.contact-form-box { background: var(--yellow); border-radius: var(--radius); padding: 36px; }
.contact-form-box h3 { font-size: 1.4rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid transparent; border-radius: var(--radius-sm); background: white; font-family: 'Inter', sans-serif; font-size: 14px; transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success { display: none; background: #d4edda; color: #155724; padding: 14px; border-radius: var(--radius-sm); font-weight: 600; text-align: center; margin-top: 12px; }
.form-error { display: none; background: #f8d7da; color: #721c24; padding: 14px; border-radius: var(--radius-sm); font-size: 13px; margin-top: 12px; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────*/
footer { background: var(--dark); color: white; padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--yellow); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-col ul li a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.admin-link { font-size: 12px; color: rgba(255,255,255,.25); cursor: pointer; transition: color .2s; }
.admin-link:hover { color: rgba(255,255,255,.6); }

/* ── MODALS ──────────────────────────────────────────────────────────────────*/
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 640px; position: relative; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--mid); line-height: 1; }
.modal h2 { font-size: 1.6rem; margin-bottom: 24px; }
.job-modal-carousel { height: 300px; background: #e8e0d0; border-radius: var(--radius-sm); overflow: hidden; position: relative; margin-bottom: 24px; }
.job-modal-carousel img, .job-modal-carousel video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.job-modal-carousel img.active, .job-modal-carousel video.active { opacity: 1; pointer-events: auto; }
.job-modal-carousel video { object-fit: contain; background: #000; }

/* ── TOAST ───────────────────────────────────────────────────────────────────*/
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: white; padding: 14px 24px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all .3s; display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success::before { content: '✓'; color: #4caf50; }
.toast.error::before { content: '✗'; color: var(--red); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────*/
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .jobs-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 16px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .modal { padding: 24px; }
}
