/* La Centrale de l'Ardoise — feuille de style principale */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Ubuntu:wght@300;400;500&display=swap');

:root {
  --accent: #e5007d;
  --accent-dark: #b8005f;
  --accent-light: #ff4fa8;
  --dark: #2f333d;
  --dark-2: #3c414c;
  --gray: #686b70;
  --gray-light: #f6f6f8;
  --border: #eaeaec;
  --white: #ffffff;
  --max-width: 1170px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(30, 30, 40, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 30, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  color: var(--gray);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.25;
}

h1 { font-size: 46px; font-weight: 600; letter-spacing: -0.5px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }

p { margin: 0 0 15px; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-dark); }

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  padding: 14px 30px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(229, 0, 125, 0.28);
  transition: all 0.25s ease;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(229, 0, 125, 0.34);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: none;
}

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

.section {
  padding: 88px 0;
}

.section-tight { padding: 56px 0; }

.section-gray {
  background: var(--gray-light);
}

.section-dark {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-title {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.section-title.center { text-align: center; }

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head p { max-width: 620px; font-size: 16px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); }

.header-top {
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  padding: 9px 0;
}

.header-top .container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.header-top a { color: rgba(255,255,255,0.85); }
.header-top a:hover { color: var(--white); }
.header-top i { margin-right: 6px; color: var(--accent-light); }

.header-main {
  padding: 14px 0;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled .header-main {
  box-shadow: var(--shadow);
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { height: 64px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
}

.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: block;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 30px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--accent);
  background: rgba(229, 0, 125, 0.08);
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  padding: 8px;
  margin-top: 6px;
}

.main-nav li:hover > .sub-menu { display: block; }

.main-nav .sub-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--dark);
}

.main-nav .sub-menu li a:hover {
  background: var(--gray-light);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--dark);
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20,16,26,0.88) 0%, rgba(20,16,26,0.68) 45%, rgba(229,0,125,0.35) 100%);
}

.hero .container { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 { color: var(--white); font-size: 50px; }
.hero p { font-size: 18px; color: rgba(255,255,255,0.88); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

.hero-badge i { color: var(--accent-light); font-size: 17px; }

/* ===== Page title bar (inner pages) ===== */
.page-title-bar {
  background: var(--dark) center/cover no-repeat;
  background-blend-mode: multiply;
  color: var(--white);
  padding: 64px 0;
}

.page-title-bar .eyebrow { color: var(--accent-light); }
.page-title-bar h1 { color: var(--white); margin: 0 0 10px; font-size: 36px; }
.page-title-bar .breadcrumb { font-size: 14px; color: rgba(255,255,255,0.65); }
.page-title-bar .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-title-bar .breadcrumb span { color: rgba(255,255,255,0.4); margin: 0 8px; }

/* ===== Products grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.08); }

.product-card .product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,26,0) 45%, rgba(20,16,26,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.product-card h4 {
  margin: 0;
  font-size: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.product-card h4 .arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: var(--accent-light);
}

.product-card:hover h4 .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Product detail sections (Nos Produits page) */
.product-detail {
  display: flex;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 110px;
}

.product-detail:first-child { padding-top: 0; }
.product-detail:last-child { border-bottom: none; }

.product-detail .product-thumb {
  flex: 0 0 200px;
}

.product-detail .product-thumb img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-detail .product-info { flex: 1; }

.product-detail ul { margin-top: 12px; }
.product-detail li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
}

.product-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(229, 0, 125, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h5 {
  margin: 0 0 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: var(--dark);
}

.service-card p { margin: 0; font-size: 14.5px; }

/* ===== Team ===== */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.team-member { text-align: center; }

.team-member .photo-wrap {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  padding: 6px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.team-member img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
}

.team-member figcaption {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
}

/* ===== Office gallery ===== */
.office-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.office-gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
}

.office-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.office-gallery figure:hover img { transform: scale(1.1); }

/* ===== Brands strip ===== */
.brands-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 40px;
}

.brands-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.brands-strip img {
  max-height: 54px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.brands-strip img:hover {
  filter: none;
  opacity: 1;
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card .news-media { overflow: hidden; }

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img { transform: scale(1.06); }

.news-card .news-body { padding: 22px; }

.news-card h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  margin: 0 0 8px;
}

.news-card h5 a { color: var(--dark); }
.news-card .news-meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.news-card p { font-size: 14px; margin-bottom: 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.contact-tile .icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-tile h6 {
  margin: 0 0 4px;
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hours-banner {
  text-align: center;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 15px;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--gray-light);
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  color: var(--dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.contact-form-wrap textarea { resize: vertical; min-height: 140px; }

.form-note {
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}

.footer-top h6 {
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-top a { color: rgba(255,255,255,0.65); }
.footer-top a:hover { color: var(--white); }
.footer-top .footer-logo img { height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-top li { margin-bottom: 10px; font-size: 14px; }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.footer-contact-line i { color: var(--accent-light); width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .products-grid,
  .news-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

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

  .office-gallery { grid-template-columns: repeat(3, 1fr); }

  .product-detail { flex-direction: column; }
  .product-detail .product-thumb { flex: 0 0 auto; max-width: 240px; }

  .hero { min-height: 480px; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li > a { padding: 12px 16px; border-radius: 6px; }
  .main-nav .sub-menu {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--gray-light);
    padding: 4px 0;
    margin: 4px 0 4px 12px;
  }
  .main-nav li.open > .sub-menu { display: block; }

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

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

  .office-gallery { grid-template-columns: repeat(2, 1fr); }

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

  .section { padding: 56px 0; }

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }

  .hero { min-height: 420px; }
  .hero h1 { font-size: 30px; }
  .hero-badges { gap: 18px 26px; margin-top: 32px; padding-top: 22px; }

  .team-grid { gap: 32px; }

  .contact-form-wrap { padding: 24px; }
}
