/* ===========================================================
   TEF RECYCLING — styles
   Thème : anthracite industriel + accents cuivre/ambre
   =========================================================== */

:root {
  /* palette */
  --bg:        #0e0f10;
  --bg-2:      #141517;
  --bg-3:      #1b1d20;
  --surface:   #1f2125;
  --line:      #2a2d31;
  --line-2:    #3a3e44;
  --text:      #ebe7e1;
  --text-dim:  #9a958d;
  --text-mute: #6b6761;

  --copper:    #c87533;     /* cuivre chaud */
  --copper-2:  #e09a5c;     /* cuivre clair */
  --gold:      #d4a857;     /* or mat */
  --accent:    var(--copper);
  --accent-soft: rgba(200, 117, 51, 0.12);

  --success:   #7fb069;
  --danger:    #d66b5a;

  /* typo */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* dimensions */
  --radius:     4px;
  --radius-lg:  10px;
  --container:  1200px;

  --ease:       cubic-bezier(.2,.7,.2,1);
}

/* ===========================================================
   Reset / base
   =========================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

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

/* ===========================================================
   Typographie
   =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
h2 em, h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--copper-2);
}
.h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  margin-bottom: 1rem;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 720px;
  line-height: 1.65;
}
.lead--wide { max-width: 900px; margin-bottom: 3rem; }

/* ===========================================================
   Boutons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--copper);
  color: #111;
  border: 1px solid var(--copper);
}
.btn-primary:hover {
  background: var(--copper-2);
  border-color: var(--copper-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(200, 117, 51, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-2);
}
.btn-block { width: 100%; justify-content: center; margin-top: 4px; }

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 15, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 15, 16, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  background: var(--copper);
  color: #111;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 900;
}
.logo-text { color: var(--text); font-weight: 500; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--copper);
  color: #111 !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
}
.nav-cta:hover { background: var(--copper-2); }

.burger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .burger { display: flex; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200, 117, 51, 0.18), transparent 60%);
  filter: blur(20px);
}
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px var(--copper);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}
.hero-title em {
  font-style: italic;
  color: var(--copper-2);
  font-weight: 400;
}
.hero-title .accent {
  position: relative;
  color: var(--copper);
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  bottom: 0.12em;
  left: 0; right: 0;
  height: 4px;
  background: var(--copper);
  opacity: 0.4;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 72px;
}

/* facts / chiffres clés */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fact {
  background: var(--bg-2);
  padding: 28px 24px;
  transition: background .3s;
}
.fact:hover { background: var(--bg-3); }
.fact-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  color: var(--copper-2);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.fact-num span {
  font-size: 0.6em;
  color: var(--copper);
  margin-left: 2px;
}
.fact-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
}

/* marquee */
.marquee {
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-dim);
}
.marquee-track span:nth-child(even) { color: var(--copper); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   Sections communes
   =========================================================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}
.section-num {
  color: var(--copper);
  font-weight: 500;
}
.section-kicker::before {
  content: "——";
  margin-right: 10px;
  color: var(--line-2);
}
.subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--copper-2);
  margin-bottom: 24px;
}

/* ===========================================================
   Section POURQUOI
   =========================================================== */
.section-pourquoi { background: var(--bg-2); }
.pourquoi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.adv {
  background: var(--bg);
  padding: 32px;
  transition: background .3s, transform .3s;
}
.adv:hover {
  background: var(--bg-3);
}
.adv-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--copper);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.adv h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.adv p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .pourquoi-grid { grid-template-columns: 1fr; gap: 48px; }
  .advantages { grid-template-columns: 1fr; }
}

/* ===========================================================
   Section FOURNISSEURS
   =========================================================== */
.services-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.col-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.check-list {
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.check-list li:last-child { border-bottom: none; }
.check {
  color: var(--copper);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.benefit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500;
  transition: border-color .3s, transform .3s;
}
.benefit-card:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
.benefit-icon {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--copper);
  font-weight: 700;
}

@media (max-width: 900px) {
  .services-benefits { grid-template-columns: 1fr; }
  .benefit-cards { grid-template-columns: 1fr; }
}

/* ===========================================================
   Section MÉTAUX
   =========================================================== */
.section-metaux { background: var(--bg-2); }
.metals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.metal {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.metal::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.metal:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}
.metal:hover::before { opacity: 1; }
.metal-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--copper-2);
  margin-bottom: 18px;
}
.metal h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-weight: 500;
}
.metal p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* chip colors per metal */
.metal--copper .metal-chip  { color: #e09a5c; border-color: #8b5a2b; }
.metal--alu    .metal-chip  { color: #c6d3e0; border-color: #5a6672; }
.metal--inox   .metal-chip  { color: #b6c2c9; border-color: #4e5962; }
.metal--brass  .metal-chip  { color: #e8c87a; border-color: #8b6f32; }
.metal--zinc   .metal-chip  { color: #a8b0b5; border-color: #555b5f; }
.metal--battery .metal-chip { color: #d4a857; border-color: #7a5e2c; }

.metals-cta { display: flex; justify-content: center; }

@media (max-width: 900px)  { .metals-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .metals-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   Section PROCESS
   =========================================================== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  background: var(--bg-2);
  padding: 40px 28px;
  position: relative;
  transition: background .3s;
}
.step:hover { background: var(--bg-3); }
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.step p {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.55;
}

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ===========================================================
   Section TÉMOIGNAGES
   =========================================================== */
.section-temoignages { background: var(--bg-2); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.quote {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--copper);
  opacity: 0.2;
  line-height: 1;
}
.quote:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
}
.quote blockquote strong {
  color: var(--copper-2);
  font-style: normal;
  font-weight: 600;
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--copper);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}
.quote-name { font-weight: 500; color: var(--text); }
.quote-role { font-size: 0.82rem; color: var(--text-mute); }

@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ===========================================================
   Section CONTACT
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  list-style: none;
  margin-top: 40px;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.contact-info li:last-child { border-bottom: none; }
.contact-info a { color: var(--copper-2); transition: color .2s; }
.contact-info a:hover { color: var(--copper); }
.ci-icon {
  font-size: 1.2rem;
  color: var(--copper);
}

/* form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-title {
  font-size: 1.6rem;
  margin-bottom: 28px;
  font-weight: 500;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--bg-3);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c87533' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 100px; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hint {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-mute);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 18px;
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--copper);
}

.form-feedback {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(127, 176, 105, 0.12);
  border: 1px solid rgba(127, 176, 105, 0.4);
  color: var(--success);
}
.form-feedback.error {
  display: block;
  background: rgba(214, 107, 90, 0.12);
  border: 1px solid rgba(214, 107, 90, 0.4);
  color: var(--danger);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px; }
  .row-2 { grid-template-columns: 1fr; }
}

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 72px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.92rem;
  color: var(--text-dim);
  padding: 6px 0;
}
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--copper); }

.footer-base {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.footer-base .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.sep { color: var(--line-2); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===========================================================
   Animations on scroll
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Responsive tweaks
   =========================================================== */
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 60px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
