/* ===================== T.J.A.P TERRASSEMENT — styles ===================== */

:root {
  --black: #0b0b0c;
  --panel: #1c1c20;
  --panel-alt: #24242a;
  --panel-light: #2a2a30;
  --border: #2c2d30;
  --orange: #f5a300;
  --orange-dark: #d88f00;
  --white: #ffffff;
  --gray: #a7a7ad;
  --gray-dim: #7c7c82;
  --red: #e0503a;
  --green: #4caf6b;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section { padding: 90px 0; border-bottom: 1px solid var(--border); }
.section-dark { background: var(--black); }
.section-panel { background: #101012; }

.section-intro { max-width: 640px; margin-bottom: 48px; }
.section-intro h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.section-intro .rule { width: 64px; height: 3px; background: var(--orange); margin: 20px 0; }
.section-intro p { color: var(--gray); font-size: 17px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,12,0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo span {
  display: block;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 0.28em;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-display);
}
nav.main-nav a { color: var(--gray); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--orange); border-color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .pill {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
}
.header-actions .pill.orange-text { color: var(--orange); border-color: var(--orange-dark); }
.header-actions .btn-contact {
  background: var(--orange);
  color: #1a1200;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  font-size: 13px;
  white-space: nowrap;
}
.burger { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--orange); color: #1a1200; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(8,8,9,0.82) 0%, rgba(8,8,9,0.58) 38%, rgba(8,8,9,0.28) 68%, rgba(8,8,9,0.08) 100%),
    url('images/hero-chantier.jpg') center center/cover no-repeat,
    #0b0b0c;
}
.hero .wrap { padding-top: 90px; padding-bottom: 90px; }
.hero .tag-box {
  display: inline-block;
  border: 1px solid var(--orange-dark);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  margin-bottom: 26px;
  background: rgba(0,0,0,0.35);
}
.hero h1 {
  font-size: clamp(50px, 8vw, 96px);
  color: var(--white);
  line-height: 0.95;
}
.hero h1 .accent { color: var(--orange); display: block; font-size: clamp(30px, 4.4vw, 52px); margin-top: 10px; }
.hero p.lead { max-width: 560px; color: #d8d8db; font-size: 17px; margin: 26px 0 34px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(245,163,0,0.12), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 40px),
    #0d0d0e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero .wrap { position: relative; padding: 64px 32px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); }
.page-hero p { color: var(--gray); font-size: 17px; margin-top: 14px; max-width: 560px; }

/* ---------- Stat bar ---------- */
.stat-bar { background: var(--orange); color: #1a1200; }
.stat-bar .wrap { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-bar .stat { padding: 34px 20px; text-align: center; border-left: 1px solid rgba(0,0,0,0.15); }
.stat-bar .stat:first-child { border-left: none; }
.stat-bar .stat .num { font-family: var(--font-display); font-size: clamp(30px,4vw,44px); font-weight: 700; }
.stat-bar .stat .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }

/* ---------- Feature list (home + entreprise) ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: 26px; }
.feature-item { display: flex; gap: 14px; }
.feature-item .arrow { color: var(--orange); font-size: 15px; margin-top: 3px; }
.feature-item h4 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { color: var(--gray); font-size: 15px; margin: 0; }
blockquote {
  border-left: 3px solid var(--orange);
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  font-style: italic;
  color: #dcdcdc;
  font-size: 18px;
}
blockquote cite { display: block; not-italic: normal; color: var(--orange); font-style: normal; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; margin-top: 10px; }

/* ---------- Card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-bottom: none;}

.service-card {
  background: var(--panel);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.grid-3 .service-card:nth-child(3n) { border-right: none; }
.grid-2 .service-card:nth-child(2n) { border-right: none; }
.grid-4 .service-card:nth-child(4n) { border-right: none; }

.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card .body { padding: 28px; }
.service-card .index { color: var(--orange); font-family: var(--font-display); font-size: 13px; margin-bottom: 10px; display:block;}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 15px; }
.service-card a.more { color: var(--orange); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; gap: 8px; margin-top: 6px; }

.icon-card { background: var(--panel); padding: 34px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.icon-card svg, .icon-card .ic { width: 40px; height: 40px; margin-bottom: 18px; color: var(--white); }
.icon-card img.ic-img { width: 46px; height: 46px; margin-bottom: 18px; object-fit: contain; }
.icon-card .top-row { display: flex; align-items: center; justify-content: space-between; }
.icon-card h3 { font-size: 19px; margin-bottom: 10px; }
.icon-card p { color: var(--gray); font-size: 15px; margin-bottom: 14px; }
.icon-card ul { margin: 0; padding-left: 18px; color: #d4d4d6; font-size: 14.5px; }
.icon-card li { margin-bottom: 6px; }
.icon-card li::marker { color: var(--orange); }

/* number cards (interactivité) */
.num-card { background: var(--panel); padding: 30px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.num-card .n { color: var(--orange); font-family: var(--font-display); font-size: 13px; margin-bottom: 10px; }
.num-card h4 { font-size: 16px; margin-bottom: 8px; }
.num-card p { color: var(--gray); font-size: 14.5px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; }

/* ---------- Pricing ---------- */
.price-table { background: var(--panel); border-top: 3px solid var(--orange); }
.price-table .head { padding: 26px 26px 18px; border-bottom: 1px solid var(--border); }
.price-table .head h4 { font-size: 18px; }
.price-table .head p { color: var(--gray); font-size: 14px; margin: 6px 0 0; }
.price-table .row {
  display: flex; justify-content: space-between; padding: 16px 26px;
  border-bottom: 1px solid var(--border); font-size: 14.5px;
}
.price-table .row:last-child { border-bottom: none; }
.price-table .row .val { color: var(--orange); font-weight: 700; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.03em; }
.price-table .row .val.free { color: var(--green); }
.price-table .row .val.na { color: var(--gray-dim); font-weight: 400; }
.price-note {
  background: #221a08; border: 1px solid var(--orange-dark); border-left: 3px solid var(--orange);
  padding: 20px 24px; color: #e9c77a; font-size: 15px; margin-bottom: 40px; display:flex; gap:14px; align-items:flex-start;
}

/* condition numbered cards */
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cond-card { background: var(--panel); padding: 28px; border-left: 3px solid var(--orange); }
.cond-card .n { color: var(--orange); font-family: var(--font-display); font-size: 13px; margin-bottom: 10px; }
.cond-card p { color: #d4d4d6; font-size: 15px; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--panel-alt);
  border-left: 4px solid var(--orange);
  padding: 40px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta-banner h3 { font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: var(--gray); margin: 0; }

/* ---------- Job cards ---------- */
.job-card { background: var(--panel); padding: 30px; border-top: 3px solid var(--orange); }
.job-card .top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.job-card h3 { font-size: 19px; }
.job-card .cdi { background: var(--orange); color: #1a1200; font-size: 11px; font-weight: 700; font-family: var(--font-display); padding: 5px 10px; letter-spacing: 0.04em; }
.job-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tags span { border: 1px solid var(--border); font-size: 12px; padding: 6px 10px; color: #d4d4d6; }

/* ---------- Forms ---------- */
.form-box { background: var(--panel); border-top: 3px solid var(--orange); padding: 40px; }
.form-box h3 { font-size: 22px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field label { display:block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: #121214; border: 1px solid var(--border); color: var(--white);
  padding: 13px 14px; font-family: var(--font-body); font-size: 14.5px; border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5c5c62; }
.form-box .btn { width: 100%; margin-top: 6px; }
.form-note { text-align: center; color: var(--gray-dim); font-size: 13px; margin-top: 14px; }

/* ---------- Contact / horaires layout ---------- */
.two-col { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 60px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ic-box { width: 46px; height: 46px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--orange); font-size: 18px; }
.contact-info-item .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-dim); font-family: var(--font-display); margin-bottom: 4px; }
.contact-info-item .val { font-size: 16px; font-weight: 600; }

.hours-table { border: 1px solid var(--border); }
.hours-row { display: flex; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 14px; letter-spacing: 0.03em; }
.hours-row:last-child { border-bottom: none; }
.hours-row.today { border-left: 3px solid var(--orange); background: rgba(245,163,0,0.06); }
.hours-row .closed { color: var(--red); }
.hours-tag { background: var(--panel-alt); font-size: 10px; padding: 3px 8px; margin-left: 10px; color: var(--gray); }

.info-panel-list .panel-item { background: var(--panel); border-left: 3px solid var(--orange); padding: 24px 26px; margin-bottom: 1px; }
.info-panel-list .panel-item h4 { font-size: 17px; margin-bottom: 8px; }
.info-panel-list .panel-item p { color: var(--gray); font-size: 14.5px; margin: 0; }

.map-embed { border: 1px solid var(--border); height: 360px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.9) contrast(0.85); }

/* ---------- Footer ---------- */
footer { background: #0d0d0e; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--border); }
.footer-brand .logo { margin-bottom: 10px; }
.footer-brand .sub { color: var(--orange); font-size: 12px; letter-spacing: 0.06em; font-family: var(--font-display); margin-bottom: 14px; }
.footer-brand p { color: var(--gray); font-size: 14.5px; max-width: 320px; }
footer h5 { font-family: var(--font-display); color: var(--orange); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer ul a { color: var(--gray); font-size: 14.5px; }
footer ul a:hover { color: var(--orange); }
.footer-contact p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.copyright { text-align: center; padding: 24px 0; color: var(--gray-dim); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .burger { display: block; }
  .feature-grid, .two-col { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2, .gallery { grid-template-columns: 1fr 1fr; }
  .stat-bar .wrap { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .grid-3, .grid-4, .grid-2, .gallery { grid-template-columns: 1fr; }
  .stat-bar .wrap { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .header-actions .pill { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .page-hero { min-height: 300px; }
}

/* Mobile nav drawer */
#mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 20px 32px 30px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-family: var(--font-display); text-transform: uppercase; font-size: 14px; color: var(--gray); }

/* ---------- Timeline (Notre parcours) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -40px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--black); border: 3px solid var(--orange);
}
.timeline-item .year {
  display: inline-block; color: var(--orange); font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.04em; margin-bottom: 6px; font-weight: 700;
}
.timeline-item h4 { font-size: 19px; margin-bottom: 10px; }
.timeline-item p { color: var(--gray); font-size: 15px; margin: 0; max-width: 620px; }

/* ---------- Conditions cards (location) ---------- */
.condition-card {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
}
.condition-card h4 {
  font-size: 15px; letter-spacing: 0.04em; margin-bottom: 12px; color: var(--orange);
}
.condition-card p { color: #d4d4d6; font-size: 14.5px; margin: 0; }

/* ---------- Two-photo feature block (home savoir-faire) ---------- */
.photo-feature { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.photo-feature img { width: 100%; height: 520px; object-fit: cover; border-radius: 2px; }
@media (max-width: 980px) {
  .photo-feature { grid-template-columns: 1fr; }
  .photo-feature img { height: 340px; order: -1; }
  .timeline { padding-left: 32px; }
  .timeline-item::before { left: -32px; }
}

/* ---------- Feature hero (home - savoir-faire, full photo background) ---------- */
.feature-hero {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  padding: 100px 0;
}
.feature-hero .feature-list { margin-top: 36px; max-width: 620px; }
.feature-hero h2, .feature-hero p, .feature-hero .eyebrow { position: relative; }

/* ---------- Subtle dark shading on content photos (gallery, cards) ---------- */
.img-shade { position: relative; overflow: hidden; display: block; }
.img-shade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-shade::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.38) 100%),
              linear-gradient(0deg, rgba(0,0,0,.10), rgba(0,0,0,.10));
  pointer-events: none;
}
.gallery .img-shade { height: 220px; }
.service-card .img-shade { height: 190px; }
