/* ===== ATELIER BEHREN — CSS GLOBAL ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --noir: #1a1a1a;
  --gris-fonce: #2d2d2d;
  --gris-moyen: #555;
  --gris-clair: #f5f5f5;
  --rouge: #e63329;
  --rouge-hover: #c0271e;
  --blanc: #ffffff;
  --orange: #ff6b35;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

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

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(10px);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--blanc);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo-text span { color: var(--rouge); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--rouge);
  border-bottom-color: var(--rouge);
}

.nav-cta {
  background: var(--rouge);
  color: var(--blanc) !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  border-bottom: none !important;
  transition: background 0.3s !important;
}

.nav-cta:hover { background: var(--rouge-hover) !important; }

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

.burger span {
  width: 25px;
  height: 2px;
  background: var(--blanc);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-accent {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,51,41,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,51,41,0.15);
  border: 1px solid rgba(230,51,41,0.4);
  color: var(--rouge);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--rouge);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--blanc);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero h1 span { color: var(--rouge); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.8;
}

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

.btn-primary {
  background: var(--rouge);
  color: var(--blanc);
  padding: 16px 36px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--rouge-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,51,41,0.4);
}

.btn-secondary {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--blanc);
  padding: 14px 34px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--blanc);
  background: rgba(255,255,255,0.08);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--rouge);
  padding: 1.5rem 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  color: var(--blanc);
  border-right: 1px solid rgba(255,255,255,0.25);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: rgba(230,51,41,0.1);
  color: var(--rouge);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--noir);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gris-moyen);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===== SERVICES GRID ===== */
.services-section { background: var(--gris-clair); }

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

.service-card {
  background: var(--blanc);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid #e8e8e8;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--rouge);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before { transform: scaleY(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(230,51,41,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon { background: var(--rouge); }

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--noir);
}

.service-card p {
  color: var(--gris-moyen);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--noir);
  color: var(--blanc);
}

.why-us .section-header h2 { color: var(--blanc); }
.why-us .section-header p { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.3s;
}

.why-item:hover {
  border-color: var(--rouge);
  background: rgba(230,51,41,0.05);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.why-item h3 {
  color: var(--blanc);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.why-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--rouge) 0%, #c0271e 100%);
  text-align: center;
  padding: 4rem 8%;
}

.cta-section h2 {
  color: var(--blanc);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.btn-white {
  background: var(--blanc);
  color: var(--rouge);
  padding: 16px 36px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===== PAGE HERO (pages internes) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--noir) 0%, var(--gris-fonce) 100%);
  padding: 120px 8% 60px;
  text-align: center;
}

.page-hero h1 {
  color: var(--blanc);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero h1 span { color: var(--rouge); }

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--rouge); }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-card {
  background: var(--gris-clair);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s;
}

.contact-card:hover {
  background: var(--blanc);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--rouge);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-card p, .contact-card a {
  color: var(--noir);
  font-weight: 600;
  font-size: 0.95rem;
}

.horaires-table {
  background: var(--gris-clair);
  border-radius: 8px;
  padding: 1.5rem;
}

.horaires-table h4 {
  font-size: 0.85rem;
  color: var(--gris-moyen);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.horaire-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.horaire-row:last-child { border-bottom: none; }
.horaire-row span:first-child { color: var(--gris-moyen); }
.horaire-row span:last-child { font-weight: 600; color: var(--noir); }
.horaire-row.ferme span:last-child { color: var(--rouge); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--blanc);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
  border: 1px solid #e8e8e8;
}

.contact-form-wrap h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: var(--noir);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--noir);
  transition: border-color 0.3s;
  background: var(--blanc);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rouge);
}

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

.form-submit {
  width: 100%;
  background: var(--rouge);
  color: var(--blanc);
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--rouge-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230,51,41,0.3);
}

/* ===== MAP ===== */
.map-section { padding: 0; }
.map-section iframe { display: block; width: 100%; height: 380px; border: none; }

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.2rem;
  color: var(--noir);
}

.about-text h2 span { color: var(--rouge); }

.about-text p {
  color: var(--gris-moyen);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-visual {
  background: linear-gradient(135deg, var(--noir), var(--gris-fonce));
  border-radius: 12px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-left: 3px solid var(--rouge);
}

.about-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--rouge);
  min-width: 70px;
}

.about-stat-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* ===== TEAM ===== */
.team-section { background: var(--gris-clair); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--blanc);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid #e8e8e8;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--rouge), var(--rouge-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blanc);
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1rem;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.team-card p {
  color: var(--rouge);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== SERVICES PAGE ===== */
.services-detail {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: var(--blanc);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
}

.service-detail-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-color: var(--rouge);
}

.service-detail-icon {
  width: 70px;
  height: 70px;
  background: rgba(230,51,41,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-detail-content h3 {
  font-size: 1.2rem;
  color: var(--noir);
  margin-bottom: 0.8rem;
}

.service-detail-content p {
  color: var(--gris-moyen);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background: var(--gris-clair);
  color: var(--gris-moyen);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ===== MENTIONS LÉGALES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--rouge);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gris-clair);
}

.legal-content p {
  color: var(--gris-moyen);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--noir);
  color: rgba(255,255,255,0.7);
  padding: 3rem 8% 1.5rem;
}

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

.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--blanc);
  margin-bottom: 1rem;
}

.footer-brand-name span { color: var(--rouge); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: var(--blanc);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--rouge); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.footer-contact-item span:first-child { flex-shrink: 0; }

.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.82rem;
}

.footer-bottom a { color: var(--rouge); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--gris-fonce);
    padding: 1.5rem;
    gap: 1rem;
  }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 1.5rem 5%; }
  section { padding: 3.5rem 5%; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
