/* ============================================================
   OSCAR'EAUX — Main Stylesheet
   Brand premium : Black / White / Copper / Gold + Fleur de lys
   ============================================================ */

/* ------------------------------------------------------------
   0. CSS VARIABLES — Charte premium Oscar'Eaux
   ------------------------------------------------------------ */
:root {
  /* === Palette principale === */
  --color-black:        #0a0a0c;     /* Noir profond signature */
  --color-black-soft:   #1a1a1d;     /* Noir doux pour fonds */
  --color-white:        #FFFFFF;
  --color-ivory:        #f8f5ee;     /* Blanc cassé premium */
  --color-cream:        #f3ede0;     /* Crème pour fonds alt */

  /* === Métaux signature === */
  --color-gold:         #c9a356;     /* Or premium principal */
  --color-gold-light:   #e0c987;     /* Or clair / hover */
  --color-gold-dark:    #9a7d3e;     /* Or foncé / texte sur clair */
  --color-copper:       #b87333;     /* Cuivre martelé */
  --color-copper-dark:  #8c5824;     /* Cuivre patiné */

  /* === Texte === */
  --color-text:         #2c2c30;     /* Texte principal — noir doux */
  --color-text-soft:    #6b6b70;     /* Texte secondaire */
  --color-heading:      #0a0a0c;     /* Titres */
  --color-text-light:   #f8f5ee;     /* Texte sur fond noir */

  /* === Compatibilité (aliases vers la nouvelle palette) === */
  --color-primary:      var(--color-black);
  --color-primary-dark: var(--color-black);
  --color-primary-light: var(--color-ivory);
  --color-primary-mid:  var(--color-gold);
  --color-bg-alt:       var(--color-ivory);
  --color-border:       #e8e2d4;     /* Bord doré subtil */

  /* === Typographie === */
  --font-title:   'Cormorant Garamond', 'Playfair Display', 'Montserrat', serif;
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* === Espacements === */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;

  /* === Rayons === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* === Ombres premium === */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 16px 48px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 10px 30px rgba(201, 163, 86, 0.25);

  /* === Gradients === */
  --gradient-gold:   linear-gradient(135deg, #c9a356 0%, #e0c987 50%, #c9a356 100%);
  --gradient-copper: linear-gradient(135deg, #b87333 0%, #d49258 50%, #b87333 100%);
  --gradient-dark:   linear-gradient(180deg, #0a0a0c 0%, #1a1a1d 100%);
}

/* ------------------------------------------------------------
   1. RESET / BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* ------------------------------------------------------------
   2. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--color-heading);
  line-height: 1.25;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

.text-meta {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.text-label {
  font-size: 15px;
  font-weight: 500;
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }

/* ------------------------------------------------------------
   3. CONTAINER / LAYOUT
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--narrow {
  max-width: 960px;
}

.container--tight {
  max-width: 720px;
}

/* ------------------------------------------------------------
   4. SECTION SPACING
   ------------------------------------------------------------ */
.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

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

.section__header {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
}

.section__header h2 {
  margin-bottom: var(--space-sm);
}

.section__header p {
  font-size: 17px;
  color: var(--color-text);
}

.section__subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

/* ------------------------------------------------------------
   5. NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  background-color: transparent;
  overflow: visible;
}

.navbar--scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) 0;
}

.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-sm);
  max-width: 100%;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

/* Logo — centré (colonne 2) */
.navbar__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo img {
  height: 42px;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar__logo-dark {
  display: none;
}

.navbar__logo-white {
  display: block;
}

.navbar--scrolled .navbar__logo-dark {
  display: block;
}

.navbar--scrolled .navbar__logo-white {
  display: none;
}

/* Nav links — gauche (colonne 1) */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: start;
}

.navbar__menu a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  padding: 6px 4px;
  white-space: nowrap;
}

.navbar__menu a:hover {
  opacity: 0.8;
}

.navbar--scrolled .navbar__menu a {
  color: var(--color-heading);
}

.navbar--scrolled .navbar__menu a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* Right side — phone + cart (colonne 3) */
.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-self: end;
}

.navbar__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}

.navbar__phone svg {
  flex-shrink: 0;
}

.navbar--scrolled .navbar__phone {
  color: var(--color-primary);
}

.navbar__cart {
  position: relative;
  color: var(--color-white);
  transition: color 0.25s;
  display: flex;
  align-items: center;
}

.navbar--scrolled .navbar__cart {
  color: var(--color-heading);
}

.navbar__account {
  color: var(--color-white);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  text-decoration: none;
}

.navbar--scrolled .navbar__account {
  color: var(--color-heading);
}

.navbar__account:hover {
  opacity: 0.85;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Dropdown submenu (Services) */
.navbar__dropdown {
  position: relative;
}

.navbar__submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  transform: translateY(8px);
  min-width: 240px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-xs) 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.navbar__dropdown:hover .navbar__submenu,
.navbar__dropdown:focus-within .navbar__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navbar__submenu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.navbar__submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text) !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar__submenu a:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark) !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1010;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.navbar__hamburger span:nth-child(1) {
  margin-bottom: 6px;
}

.navbar__hamburger span:nth-child(3) {
  margin-top: 6px;
}

.navbar--scrolled .navbar__hamburger span {
  background-color: var(--color-heading);
}

/* Hamburger open state */
.navbar__hamburger--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger--open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Always white when overlay is open */
.navbar__hamburger--open span {
  background-color: var(--color-white) !important;
}

/* ------------------------------------------------------------
   6. MOBILE OVERLAY
   ------------------------------------------------------------ */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary-dark);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay--open,
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay__nav,
.mobile-overlay__menu {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-overlay__menu li a,
.mobile-overlay__link {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.25s ease;
  display: block;
  padding: 8px 0;
}

.mobile-overlay__menu li a:hover,
.mobile-overlay__link:hover {
  opacity: 0.8;
  color: var(--color-white);
}

.mobile-overlay__sub {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--color-primary-mid) !important;
}

.mobile-overlay__sub:hover {
  color: var(--color-white) !important;
}

.mobile-overlay__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 36px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-overlay__cta {
  margin-top: var(--space-lg);
}

.mobile-overlay__phone {
  display: block;
  margin-top: var(--space-md);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

/* ------------------------------------------------------------
   7. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/img/fond.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(11, 47, 114, 0.6);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: var(--space-md);
}

.hero__logo {
  margin-bottom: var(--space-md);
  max-width: 220px;
  height: auto;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  font-size: 56px;
  letter-spacing: -0.5px;
  font-family: var(--font-title);
  font-weight: 700;
}

.hero__subtitle {
  color: var(--color-white);
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: var(--space-xs);
  opacity: 0.95;
  font-weight: 500;
}

.hero__slogan {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  opacity: 0.85;
}

.hero__content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  font-size: 52px;
  letter-spacing: -0.5px;
}

.hero__content p {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---- Teaser Boutique ---- */
.teaser-boutique {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.teaser-boutique__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.teaser-boutique__content h2 {
  margin-bottom: var(--space-sm);
}

.teaser-boutique__subtitle {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.teaser-boutique__product {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

.teaser-boutique__product h3 {
  margin-bottom: var(--space-xs);
}

.teaser-boutique__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-title);
  margin-bottom: var(--space-sm);
}

.teaser-boutique__link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.teaser-boutique__link:hover {
  color: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .teaser-boutique {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .hero__title { font-size: 36px; }
  .hero__subtitle { font-size: 17px; }
}

/* Hero small (sub-pages) — overridé par brand.css en mode clair */
.hero-small {
  position: relative;
  padding: 96px 0 64px;
  background: #faf8f3;
  text-align: center;
  overflow: hidden;
}
.hero-small::before { display: none; }
.hero-small__content,
.hero-small > .container { position: relative; z-index: 2; }

.hero-small__content h1,
.hero-small h1,
.hero-small__title {
  color: #0a0a0c;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-small__content p,
.hero-small p,
.hero-small__subtitle {
  color: #6b6b67;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-sm);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb__separator {
  opacity: 0.5;
}

.breadcrumb__current {
  color: var(--color-white);
}

/* ------------------------------------------------------------
   8. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--sm {
  font-size: 13px;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 16px;
  padding: 16px 36px;
}

.btn--full {
  width: 100%;
}

.btn--icon svg,
.btn--icon img {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   9. CARDS — SERVICES
   ------------------------------------------------------------ */
.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-service {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.card-service__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.card-service__icon img,
.card-service__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.card-service__icon svg path {
  fill: var(--color-primary);
}

.card-service h3 {
  margin-bottom: var(--space-xs);
}

.card-service p {
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.card-service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.card-service__link:hover {
  gap: 10px;
}

/* ------------------------------------------------------------
   10. ICON BLOCKS — VALUES / FEATURES
   ------------------------------------------------------------ */
.grid-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.icon-block {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.icon-block__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: 50%;
}

.icon-block__icon img,
.icon-block__icon svg {
  width: 32px;
  height: 32px;
}

.icon-block h4 {
  margin-bottom: var(--space-xs);
}

.icon-block p {
  font-size: 14px;
  color: var(--color-text);
}

/* ------------------------------------------------------------
   11. ABOUT / TWO-COLUMN LAYOUT
   ------------------------------------------------------------ */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.grid-two--reverse {
  direction: rtl;
}

.grid-two--reverse > * {
  direction: ltr;
}

.grid-two__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.grid-two__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-two__text h2 {
  margin-bottom: var(--space-sm);
}

.grid-two__text p {
  margin-bottom: var(--space-sm);
}

.grid-two__text ul {
  margin-bottom: var(--space-md);
}

.grid-two__text ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: 15px;
}

.grid-two__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

/* ------------------------------------------------------------
   12. TESTIMONIALS
   ------------------------------------------------------------ */
.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.testimonial-card__stars {
  color: var(--color-primary-mid);
  font-size: 18px;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.testimonial-card__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
}

.testimonial-card__role {
  font-size: 13px;
  color: #888;
}

.grid-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ------------------------------------------------------------
   13. CONTACT FORM
   ------------------------------------------------------------ */
.form {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.form__group {
  margin-bottom: var(--space-sm);
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #aaa;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.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 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form__submit {
  margin-top: var(--space-sm);
}

.form__hint {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}

.form__error {
  font-size: 13px;
  color: #D32F2F;
  margin-top: 4px;
}

/* Contact section layout with info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.contact-info__text h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info__text p {
  font-size: 14px;
  margin-bottom: 0;
}

/* Map embed */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-md);
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* ------------------------------------------------------------
   14. BLOG CARDS
   ------------------------------------------------------------ */
.grid-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-blog {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-blog__image {
  height: 200px;
  overflow: hidden;
}

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

.card-blog:hover .card-blog__image img {
  transform: scale(1.05);
}

.card-blog__body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.card-blog__meta {
  font-size: 13px;
  color: #888;
  margin-bottom: var(--space-xs);
}

.card-blog__body h3 {
  font-size: 20px;
  margin-bottom: var(--space-xs);
}

.card-blog__body h3 a {
  color: var(--color-heading);
}

.card-blog__body h3 a:hover {
  color: var(--color-primary);
}

.card-blog__body p {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.card-blog__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-blog__link:hover {
  gap: 10px;
}

/* Blog single post */
.blog-post {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.blog-post h2 {
  margin-top: var(--space-md);
}

.blog-post h3 {
  margin-top: var(--space-md);
}

.blog-post img {
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
}

.blog-post ul,
.blog-post ol {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
}

.blog-post ul {
  list-style: disc;
}

.blog-post ol {
  list-style: decimal;
}

.blog-post li {
  margin-bottom: var(--space-xs);
}

.blog-post blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-sm);
  margin: var(--space-md) 0;
  font-style: italic;
  color: var(--color-text);
}

/* ------------------------------------------------------------
   15. REALISATIONS GALLERY
   ------------------------------------------------------------ */
.grid-realisations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card-realisation {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.card-realisation__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

.card-realisation__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 47, 114, 0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-realisation:hover .card-realisation__overlay {
  opacity: 1;
}

.card-realisation__overlay h3 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 4px;
}

.card-realisation__overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 0;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.filter-tab {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tab--active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 28px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.lightbox__close:hover {
  opacity: 0.7;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
}

/* ------------------------------------------------------------
   16. SERVICE DETAIL PAGES
   ------------------------------------------------------------ */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.service-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-intro__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-steps {
  counter-reset: step;
}

.service-step {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.service-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.service-step__content h4 {
  margin-bottom: 4px;
}

.service-step__content p {
  font-size: 15px;
}

/* Pricing / tariff table */
.pricing-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pricing-table thead {
  background-color: var(--color-primary);
}

.pricing-table th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
}

.pricing-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-alt);
}

/* CTA banner (inline) */
.cta-banner {
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: var(--space-md);
}

/* Full-width CTA section */
.section-cta {
  background-color: var(--color-primary);
  padding: var(--space-lg) 0;
  text-align: center;
}

.section-cta h2 {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.section-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding-top: var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer__brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer__brand .footer__logo {
  height: 40px;
  width: auto;
}

.footer h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: var(--space-sm);
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-xs);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary-mid);
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item a:hover {
  color: var(--color-white);
}

.footer__socials {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.footer__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.25s ease;
}

.footer__socials a:hover {
  background-color: var(--color-primary);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-sm);
}

.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links a:hover {
  color: var(--color-white);
}

/* ------------------------------------------------------------
   18. LEGAL PAGES
   ------------------------------------------------------------ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.legal-content h1 {
  font-size: 36px;
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  font-size: 24px;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-size: 18px;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  margin-bottom: var(--space-sm);
}

.legal-content ul,
.legal-content ol {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md);
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.legal-content a {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   19. FAQ / ACCORDION
   ------------------------------------------------------------ */
.accordion {
  max-width: 780px;
  margin: 0 auto;
}

.accordion__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-heading);
  background-color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: left;
}

.accordion__trigger:hover {
  background-color: var(--color-bg-alt);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__content__inner {
  padding: 0 var(--space-md) var(--space-sm);
  font-size: 15px;
  color: var(--color-text);
}

/* ------------------------------------------------------------
   20. BADGES & TAGS
   ------------------------------------------------------------ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s ease;
}

.tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ------------------------------------------------------------
   21. SCROLL-TO-TOP
   ------------------------------------------------------------ */
.scroll-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 900;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--color-primary-dark);
}

/* ------------------------------------------------------------
   22. UTILITY CLASSES
   ------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ------------------------------------------------------------
   23. ANIMATIONS
   ------------------------------------------------------------ */
.fade-in {
  opacity: 1;
  transform: none;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ------------------------------------------------------------
   24. RESPONSIVE — TABLET (max-width: 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero__content h1 {
    font-size: 42px;
  }

  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  /* Navbar — mobile: hamburger + logo + right */
  .navbar__inner {
    grid-template-columns: auto 1fr auto;
  }

  .navbar__menu {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
    order: 1;
  }

  .navbar__logo {
    order: 2;
    justify-content: center;
  }

  .navbar__right {
    order: 3;
  }

  .navbar__phone span {
    display: none; /* On mobile, show only icon */
  }

  /* Grids adapt */
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .grid-two {
    gap: var(--space-md);
  }

  .service-intro {
    gap: var(--space-md);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ------------------------------------------------------------
   25. RESPONSIVE — MOBILE (max-width: 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__content h1 {
    font-size: 32px;
    letter-spacing: -0.3px;
  }

  .hero__content p {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero-small {
    padding: 130px 0 60px;
  }

  .hero-small__content h1 {
    font-size: 30px;
  }

  .section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .section__header {
    margin-bottom: var(--space-md);
  }

  /* Grids go single column */
  .grid-services {
    grid-template-columns: 1fr;
  }

  .grid-values {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

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

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

  .grid-realisations {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .grid-two {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .grid-two--reverse {
    direction: ltr;
  }

  .service-intro {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-links {
    justify-content: center;
  }

  /* Legal */
  .legal-content {
    padding: var(--space-md) var(--space-sm);
  }

  .legal-content h1 {
    font-size: 28px;
  }

  /* Blog post */
  .blog-post {
    padding: var(--space-md) var(--space-sm);
  }

  /* CTA banner */
  .cta-banner {
    padding: var(--space-md);
  }

  /* Pricing table scroll */
  .pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table {
    min-width: 500px;
  }

  /* Scroll top button */
  .scroll-top {
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
  }
}

/* ------------------------------------------------------------
   26. RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .grid-values {
    grid-template-columns: 1fr;
  }

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

  .icon-block {
    padding: var(--space-sm) 0;
  }

  .filter-tabs {
    gap: 6px;
  }

  .filter-tab {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* ------------------------------------------------------------
   27. RESPONSIVE — LARGE DESKTOP (min-width: 1440px)
   ------------------------------------------------------------ */
@media (min-width: 1440px) {
  .hero__content h1 {
    font-size: 60px;
  }

  .hero__content p {
    font-size: 20px;
  }

  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* ------------------------------------------------------------
   28. ADDITIONAL COMPONENTS (index page)
   ------------------------------------------------------------ */

/* About block — image + texte */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-block__image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about-block__text h2 {
  margin-bottom: var(--space-sm);
}

.about-block__text p {
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-block__image img {
    max-height: 400px;
    object-fit: cover;
  }
}

/* Section titles */
.section__title {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-heading);
}

.section__text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.section__text--center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Values grid (4 blocks) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-md);
}

.value-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.value-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

/* Partners */
.partners {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  margin-bottom: calc(-1 * var(--space-md));
}

.partners__label {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.partner-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
  opacity: 0.7;
}

.partner-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.25s;
  filter: grayscale(30%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
  .services-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   30. BLOG GRID & CARDS
   ------------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-md);
}

.blog-card__date {
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card__title a {
  color: var(--color-heading);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

/* Blog single article */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}

.article-content h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.article-content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.article-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination .active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
  font-size: 15px;
}

.contact-info-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--color-heading);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--color-primary);
}

/* Form styling */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-heading);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  transition: border-color 0.2s;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 100px 0 var(--space-sm);
  background: var(--color-bg-alt);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: #888;
}

.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}

/* Alert messages */
.alert {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 15px;
}

.alert--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Cart notification */
.cart-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}

.cart-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* Realisations filter */
.filter-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: white;
  color: var(--color-text);
  transition: all 0.2s;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   31. PRINT STYLES
   ------------------------------------------------------------ */
@media print {
  .navbar,
  .footer,
  .scroll-top,
  .mobile-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: var(--space-md) 0;
  }

  .hero::before {
    display: none;
  }

  .hero__content h1 {
    color: #000;
  }

  a {
    text-decoration: underline;
    color: #000;
  }
}
