@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --sand: #F5F0E8;
  --sand-dark: #EDE6D6;
  --anthracite: #1C1C1C;
  --anthracite-light: #2E2E2E;
  --terracotta: #C4622D;
  --terracotta-dark: #A34E22;
  --stone: #8A8070;
  --white: #FFFFFF;
  --text-light: #5A5248;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--sand);
  color: var(--anthracite);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

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

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--anthracite);
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--terracotta);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo span { color: var(--terracotta); }

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav ul a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover, nav ul a.active { color: var(--terracotta); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--anthracite-light);
  padding: 2rem 5%;
  z-index: 99;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 2px solid var(--terracotta);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.85rem 2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
}

.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
}

/* ── SECTIONS ── */
section { padding: 5rem 5%; }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--anthracite);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--terracotta);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--anthracite);
  display: flex;
  align-items: center;
  padding: 8rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, #2a2218 0%, #3d2e1a 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--terracotta);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--terracotta);
  font-weight: 700;
  line-height: 1;
}

.stat-item .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

/* ── SERVICES STRIP ── */
.services-strip {
  background: var(--terracotta);
  padding: 2rem 5%;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.service-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.service-pill .icon { font-size: 1.4rem; }

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--white);
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-strip .img-placeholder {
  background: linear-gradient(135deg, #2E2E2E, #1C1C1C);
  height: 440px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.about-strip .img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--terracotta);
}

/* ── WHY US ── */
.why-us {
  background: var(--anthracite);
  padding: 5rem 5%;
}

.why-us .section-title { color: var(--white); }
.why-us .section-label { color: var(--terracotta); }

.arguments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 3rem;
}

.argument {
  background: var(--anthracite-light);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.argument:hover { background: #333; }

.argument .number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--terracotta);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

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

.argument p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials {
  background: var(--sand-dark);
  padding: 5rem 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-left: 3px solid var(--terracotta);
}

.stars { color: var(--terracotta); font-size: 1.1rem; margin-bottom: 1rem; }

.testimonial p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: var(--anthracite);
  font-style: normal;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--stone);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--terracotta);
  padding: 4rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  max-width: 520px;
}

.cta-band .btn {
  background: var(--white);
  color: var(--terracotta);
  white-space: nowrap;
}

.cta-band .btn:hover { background: var(--sand); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--anthracite);
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 80px;
  height: 4px;
  background: var(--terracotta);
  margin-left: 5%;
}

.page-hero .section-label { color: var(--terracotta); }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-top: 0.5rem;
}

/* ── SERVICES PAGE ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 5%;
}

.service-block:nth-child(even) { background: var(--white); }
.service-block:nth-child(even) .service-visual { order: -1; }

.service-icon-large {
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}

.service-visual {
  background: linear-gradient(135deg, var(--anthracite), #2a2218);
  height: 380px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  border-radius: 4px;
}

/* ── REALISATIONS ── */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 3rem 5% 5rem;
}

.project-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.project-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.project-img .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.project-info { padding: 1.5rem; }

.project-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.project-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-dark);
  font-size: 0.8rem;
  color: var(--stone);
}

/* ── A PROPOS ── */
.apropos-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  padding: 5rem 5%;
  align-items: start;
}

.dirigeant-card {
  background: var(--white);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.dirigeant-photo {
  background: linear-gradient(135deg, #2E2E2E, #1C1C1C);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.5rem;
}

.dirigeant-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.dirigeant-card .role {
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.certif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.certif {
  border: 2px solid var(--sand-dark);
  padding: 1rem;
  text-align: center;
}

.certif .certif-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--terracotta);
}

.certif .certif-label {
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 0.25rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sand-dark);
  margin-top: 2rem;
}

.value {
  background: var(--white);
  padding: 1.75rem;
}

.value .v-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.value h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.value p { font-size: 0.88rem; color: var(--text-light); }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  padding: 5rem 5%;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-item .c-icon {
  width: 44px;
  height: 44px;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border-radius: 4px;
}

.contact-item .c-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.2rem;
}

.contact-form { background: var(--white); padding: 2.5rem; }

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--sand-dark);
  background: var(--sand);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--anthracite);
  border-radius: 2px;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
}

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

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

.map-container {
  margin-top: 2rem;
  height: 280px;
  overflow: hidden;
  border-radius: 4px;
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ── FOOTER ── */
footer {
  background: #111;
  color: rgba(255,255,255,0.6);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { font-size: 1.1rem; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--terracotta); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--terracotta); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav ul { display: none; }
  .burger { display: flex; }

  .about-strip,
  .service-block,
  .apropos-content,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-block:nth-child(even) .service-visual { order: 0; }

  .hero-stats { gap: 1.5rem; }

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

@media (max-width: 600px) {
  .hero { padding-top: 6rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero::before { display: none; }

  .arguments-grid { grid-template-columns: 1fr; gap: 2px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .certif-grid { grid-template-columns: 1fr; }

  .cta-band { text-align: center; justify-content: center; }
}
