/* ===== VRAK Garde-Meubles & Box — Identité visuelle ===== */
:root {
  --orange: #E89028;
  --orange-dark: #D07A18;
  --caramel: #A85808;
  --chocolat: #403020;
  --chocolat-soft: #5A4535;
  --brun-dore: #805020;
  --white: #FFFFFF;
  --off-white: #FBF9F6;
  --cream: #F5F0E8;
  --warm-gray: #8A7E72;
  --text: #2C241C;
  --text-light: #5C5248;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(64, 48, 32, 0.08);
  --shadow-lg: 0 12px 40px rgba(64, 48, 32, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--chocolat);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(232, 144, 40, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 144, 40, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-submit {
  min-width: 230px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: rgba(64, 48, 32, 0.08);
  box-shadow: 0 2px 16px rgba(64, 48, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--chocolat);
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--brun-dore);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--orange);
}

.nav .btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(232, 144, 40, 0.3);
}

.nav .btn-nav:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--chocolat);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(64, 48, 32, 0.88) 0%, rgba(128, 80, 32, 0.72) 45%, rgba(64, 48, 32, 0.85) 100%),
    url('entrepot.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  opacity: 0.93;
  margin-bottom: 2.4rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== Intro ===== */
.intro {
  padding: 100px 0;
  background: var(--off-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 1.3rem;
}

.intro-text p {
  color: var(--text-light);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.intro-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== Solutions ===== */
.solutions {
  padding: 100px 0;
  background: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(64, 48, 32, 0.08);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}

.solution-img {
  height: 230px;
  overflow: hidden;
}

.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.solution-card:hover .solution-img img {
  transform: scale(1.05);
}

.solution-body {
  padding: 1.8rem;
}

.solution-body h3 {
  color: var(--chocolat);
}

.solution-body p {
  color: var(--text-light);
  font-size: 0.98rem;
}

/* ===== Pourquoi ===== */
.pourquoi {
  padding: 100px 0;
  background: var(--chocolat);
  color: var(--white);
}

.pourquoi .section-header h2 {
  color: var(--white);
}

.pourquoi .section-header p {
  color: rgba(255, 255, 255, 0.78);
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.avantage {
  text-align: left;
  padding: 8px 0;
}

.avantage-icon {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.1rem;
  opacity: 0.95;
}

.avantage h3 {
  color: var(--white);
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.avantage p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== Comment ===== */
.comment {
  padding: 100px 0;
  background: var(--off-white);
}

.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 3rem;
}

.etape {
  background: var(--white);
  padding: 1.9rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(64, 48, 32, 0.07);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.etape:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.etape-num {
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 auto 1.3rem;
  box-shadow: 0 4px 12px rgba(232, 144, 40, 0.35);
}

.etape h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--chocolat);
}

.etape p {
  color: var(--text-light);
  font-size: 0.92rem;
}

.comment-cta {
  text-align: center;
}

/* ===== Devis ===== */
.devis {
  padding: 100px 0;
  background: var(--white);
}

.devis-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--off-white);
  padding: 2.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(64, 48, 32, 0.08);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--chocolat);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid rgba(64, 48, 32, 0.15);
  border-radius: 9px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 144, 40, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0.6rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--warm-gray);
  max-width: 320px;
}

.form-success {
  margin-top: 1.6rem;
  padding: 1.3rem;
  background: #F0F7E8;
  border: 1px solid #C5D9A8;
  border-radius: 10px;
  color: #3D5A1E;
  text-align: center;
}

.form-group input.error,
.form-group select.error {
  border-color: #C45C3A;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0 90px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  margin-bottom: 1.9rem;
}

.contact-item h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brun-dore);
  margin-bottom: 0.45rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.contact-item p {
  font-size: 1.05rem;
  color: var(--chocolat);
  font-weight: 500;
  line-height: 1.55;
}

.contact-item a {
  color: var(--chocolat);
  transition: color 0.25s ease;
}

.contact-item a:hover {
  color: var(--orange);
}

.contact-item .placeholder {
  color: var(--warm-gray);
  font-style: italic;
  font-weight: 400;
}

.contact-map iframe {
  width: 100%;
  box-shadow: var(--shadow);
  border-radius: 12px;
}

.map-note {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--chocolat);
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
}

.footer-brand span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--orange);
}

.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.55;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .avantages-grid,
  .etapes {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-visual img {
    height: 320px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(64, 48, 32, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(64, 48, 32, 0.1);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .devis-form {
    padding: 1.8rem;
  }

  .hero {
    min-height: 85vh;
    padding: 120px 0 70px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .avantages-grid,
  .etapes {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .header-inner {
    height: 68px;
  }

  .logo img {
    width: 44px;
    height: 44px;
  }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.85s ease-out;
}

.solution-card,
.avantage,
.etape {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.solution-card.visible,
.avantage.visible,
.etape.visible {
  opacity: 1;
  transform: translateY(0);
}
