:root {
  --color-greyscale-black: #32302f;
  --color-linen-white: #fcfcfc;
  --color-slate-border: #e4e2e1;
  --color-text-muted: #686664;
  --color-ash-canvas: #f1f0f0;
  --color-input-gray: #eeece7;
  --color-focus-outline: #afaaa7;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'DM Serif Display', serif;

  --radius-buttons: 1600px;
  --radius-cards: 100px;
  --radius-inputs: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--color-greyscale-black);
  background-color: var(--color-linen-white);
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-linen-white);
  border-bottom: 1px solid var(--color-slate-border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  text-decoration: none;
  color: var(--color-greyscale-black);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: var(--color-greyscale-black);
  letter-spacing: 0.005em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-buttons);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--color-greyscale-black);
  color: var(--color-linen-white);
  padding: 12px 24px;
  border: none;
}

.btn-secondary {
  background: var(--color-linen-white);
  color: var(--color-greyscale-black);
  padding: 12px 24px;
  border: 1px solid var(--color-greyscale-black);
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 24px 120px;
  max-width: 100%;
  background: url('assets/bg-hero.png') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(252, 252, 252, 0.92) 0%,
    rgba(252, 252, 252, 0.75) 50%,
    rgba(252, 252, 252, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-content > * {
  max-width: 600px;
}

.hero-tag {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-secondary-light {
  background: rgba(252, 252, 252, 0.7);
  backdrop-filter: blur(4px);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-ash-canvas);
}

.section-dark {
  background: var(--color-greyscale-black);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-title-light {
  color: var(--color-linen-white);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 48px;
  max-width: 560px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--color-slate-border);
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--color-ash-canvas);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 24px 32px 32px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Gallery — Avant/Après */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-linen-white);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-greyscale-black);
}

/* Zone */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.zone-card {
  padding: 32px;
  background: var(--color-linen-white);
  border: 1px solid var(--color-slate-border);
  border-radius: 24px;
}

.zone-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}

.zone-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-img {
  border-radius: 24px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  max-width: 600px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-text .section-title {
  color: var(--color-greyscale-black);
  margin-bottom: 24px;
}

.about-values {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-greyscale-black) !important;
  letter-spacing: 0.005em;
}

/* Contact */
.contact-container {
  max-width: 720px;
  text-align: center;
  background: var(--color-linen-white);
  border-radius: 32px;
  padding: 56px 48px;
}

.section-dark .section-title {
  color: var(--color-greyscale-black);
}

.contact-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

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

.form-input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 16px 24px;
  background: transparent;
  border: 1px solid var(--color-slate-border);
  border-radius: var(--radius-inputs);
  color: var(--color-greyscale-black);
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus {
  border-color: var(--color-greyscale-black);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23686664' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
}

.form-select option[disabled] {
  color: var(--color-text-muted);
}

.form-fieldset {
  border: none;
  padding: 0;
}

.form-legend {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.form-checklist {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--color-slate-border);
  border-radius: 20px;
  overflow: hidden;
}

.form-checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.form-checklist-item:not(:last-child) {
  border-bottom: 1px solid var(--color-slate-border);
}

.form-checklist-item:hover {
  background: var(--color-ash-canvas);
}

.form-checklist-item input[type="checkbox"] {
  display: none;
}

.form-checkbox-icon {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--color-slate-border);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.form-checklist-item:has(input:checked) .form-checkbox-icon {
  background: var(--color-greyscale-black);
  border-color: var(--color-greyscale-black);
}

.form-checklist-item:has(input:checked) .form-checkbox-icon::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--color-linen-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checklist-item span:last-child {
  font-size: 15px;
  color: var(--color-greyscale-black);
}

.form-textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  align-self: center;
  margin-top: 8px;
  font-size: 16px;
  padding: 16px 40px;
}

/* Form success state */
.form-success {
  text-align: center;
  margin-top: 32px;
}

.form-success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.form-success-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-greyscale-black);
}

.form-success-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.form-success-email {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-greyscale-black);
  text-decoration: none;
}

.form-success-email:hover {
  text-decoration: underline;
}

.form-preview {
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  background: var(--color-ash-canvas);
  border: 1px solid var(--color-slate-border);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 20px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 240px;
  overflow-y: auto;
}

.form-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.copy-feedback {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-success-green);
  margin-top: 12px;
}

.contact-phone {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-slate-border);
}

.contact-phone-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-phone-number {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-greyscale-black);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.contact-phone-number:hover {
  opacity: 0.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-slate-border);
  padding: 24px 0;
}

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

.footer-brand {
  font-size: 14px;
  font-weight: 500;
}

.footer-copy {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }


  .services-grid,
  .zone-grid,
  .gallery-grid,
  .about-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80svh;
    padding: 100px 24px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-overlay {
    background: rgba(252, 252, 252, 0.85);
  }

  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 28px;
  }

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

  .contact-container {
    padding: 48px 20px;
    border-radius: 24px;
    margin-left: 16px;
    margin-right: 16px;
    max-width: calc(100% - 32px);
  }
}
