:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --bg-alt: #121217;
  --surface: rgba(26, 26, 31, 0.95);
  --surface-strong: #18181f;
  --text: #f5f5f5;
  --muted: #b4b4b8;
  --primary: #e31b1b;
  --primary-dark: #a20f0f;
  --secondary: #ff5353;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(227, 27, 27, 0.14), transparent 35%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 52px;
  height: auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.language-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.lang-btn {
  background: transparent;
  color: var(--text);
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 20px;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.lang-btn img.lang-flag {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.lang-btn.active {
  background: var(--primary);
  border-color: rgba(227, 27, 27, 0.95);
  color: #111;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-small {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.button-red {
  background: var(--primary);
  color: #111;
}

.section {
  padding: 4.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(13, 13, 18, 0.92), rgba(8, 8, 12, 1));
}

.section-light {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-secondary {
  color: var(--secondary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy p {
  max-width: 42rem;
  margin: 1.6rem 0 2.2rem;
  font-size: 1.03rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-right: 1rem;
  padding-left: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./backgroundSection1.png') right center / 70% auto no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-details {
  display: grid;
  gap: 1.4rem;
}

.info-card {
  text-align: center;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-card h2 {
  margin-bottom: 0.9rem;
  color: var(--text);
}

.info-card p {
  margin: 0.65rem 0;
}

.info-card-accent {
  border-color: rgba(227, 27, 27, 0.35);
  background: rgba(227, 27, 27, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-item-large {
  min-height: 500px;
}

.gallery-item-placeholder {
  background: rgba(255, 255, 255, 0.03);
}

.gallery-caption {
  position: static;
  margin-top: auto;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.about-list {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.about-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

/* Harmoniser l'apparence des deux colonnes de contact */
.contact-info .info-card {
  margin-left: 0;
  max-width: 100%;
}

.contact-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.32);
  display: grid;
  gap: 1rem;
}

.map-embed {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 590px;
  border: 0;
  display: block;
}

.contact-form label {
  margin: 0;
}

.contact-form .button[type="submit"] {
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.65rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-note {
  margin: 0;
  color: var(--muted);
}

.form-notification {
  display: block;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid transparent;
}

.form-notification.success {
  border-color: rgba(36, 199, 141, 0.6);
  background: rgba(36, 199, 141, 0.12);
  color: var(--text);
}

.form-notification.error {
  border-color: rgba(255, 81, 81, 0.6);
  background: rgba(255, 81, 81, 0.12);
  color: #fff;
}

.hidden {
  display: none !important;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .gallery-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    min-height: 350px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav {
    justify-content: center;
  }

  .button {
    width: 100%;
  }
}
