/* =============================================
   ORYANA — Feuille de style globale
   Palette : Teal #2a9d8f | Navy #1e3a5f | Terracotta #8b4a3a | Sable #f5f0e8
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #2a9d8f;
  --teal-dark:  #1f7a6e;
  --navy:       #1e3a5f;
  --navy-light: #2d4a6b;
  --terra:      #8b4a3a;
  --terra-light:#c07060;
  --sable:      #f5f0e8;
  --sable-dark: #ede6d6;
  --white:      #ffffff;
  --text-dark:  #1a1a1a;
  --text-mid:   #4a4a4a;
  --text-light: #7a7a7a;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 12px rgba(30,58,95,0.08);
  --shadow-md: 0 8px 32px rgba(30,58,95,0.12);
  --shadow-lg: 0 20px 60px rgba(30,58,95,0.18);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilitaires ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
}

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
  margin-top: 1rem;
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--terra);
  margin: 1.5rem 0;
}

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--sable);
  transform: translateY(-2px);
}

/* ── Motif zellige (SVG background) ── */
.zellige-bg {
  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' stroke='%232a9d8f' stroke-width='0.4' opacity='0.18'%3E%3Cpolygon points='30,2 38,11 49,11 55,21 49,31 55,41 49,51 38,51 30,58 22,51 11,51 5,41 11,31 5,21 11,11 22,11'/%3E%3Cpolygon points='30,10 36,17 45,17 50,25 45,33 50,41 45,49 36,49 30,54 24,49 15,49 10,41 15,33 10,25 15,17 24,17'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

.navbar-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .logo-text { color: var(--navy); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: var(--transition);
}

.navbar-nav a:hover::after { width: 100%; }
.navbar-nav a:hover { color: var(--white); }

.navbar.scrolled .navbar-nav a { color: var(--text-mid); }
.navbar.scrolled .navbar-nav a:hover { color: var(--teal); }

.navbar-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  transition: var(--transition) !important;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }

.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.navbar.scrolled .navbar-burger span { background: var(--navy); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1f35 0%, #1e3a5f 50%, #1f7a6e22 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.6'%3E%3Cpolygon points='40,4 52,16 68,16 76,30 68,44 76,58 68,72 52,72 40,76 28,72 12,72 4,58 12,44 4,30 12,16 28,16'/%3E%3Cpolygon points='40,14 50,23 63,23 70,34 63,45 70,56 63,67 50,67 40,72 30,67 17,67 10,56 17,45 10,34 17,23 30,23'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: heroFadeIn 1.2s ease forwards;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--teal);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--teal);
}

.hero-title .terra { color: var(--terra-light); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* ── À propos ── */
.about {
  padding: 7rem 0;
  background: var(--sable);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-image-badge .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--teal);
  display: block;
}

.about-image-badge .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

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

.about-value {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}

.about-value h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.about-value p {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-align: justify;
}

/* ── Services ── */
.services {
  padding: 7rem 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .divider { margin: 1.5rem auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(42,157,143,0.15);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

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

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(42,157,143,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  text-align: justify;
}

/* ── Catégories ── */
.categories {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='none' stroke='%23ffffff' stroke-width='0.8' points='40,4 52,16 68,16 76,30 68,44 76,58 68,72 52,72 40,76 28,72 12,72 4,58 12,44 4,30 12,16 28,16'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.categories .section-title { color: var(--white); }
.categories .section-label { color: var(--teal); }
.categories .section-subtitle { color: rgba(255,255,255,0.65); }
.categories .divider { background: var(--terra-light); }

.categories-header {
  margin-bottom: 3.5rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

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

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,58,95,0.92) 0%, rgba(30,58,95,0.2) 60%, transparent 100%);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.category-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(42,157,143,0.15);
  border: 1px solid rgba(42,157,143,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.category-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.category-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  text-align: justify;
}

/* ── Aperçu produits ── */
.products-preview {
  padding: 7rem 0;
  background: var(--sable);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.product-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.badge-artisanat { background: var(--teal); color: white; }
.badge-tableau   { background: var(--terra); color: white; }
.badge-cosmetique{ background: var(--navy); color: white; }

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.product-card-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: justify;
}

.products-cta {
  text-align: center;
  padding-top: 1rem;
}

/* ── Artisanat Marocain (section narrative) ── */
.heritage {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.heritage-pattern {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  opacity: 0.04;
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.heritage-content {}

.heritage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.heritage-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--sable);
  border-radius: var(--radius-md);
}

.heritage-stat .stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--teal);
  display: block;
}

.heritage-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}

.heritage-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.heritage-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.heritage-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* ── Relation Maroc–France ── */
.bridge {
  padding: 7rem 0;
  background: var(--sable-dark);
  position: relative;
}

.bridge-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
}

.bridge-country {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.bridge-country .flag {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
}

.bridge-country h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.bridge-country p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  text-align: justify;
}

.bridge-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bridge-center .bridge-icon {
  width: 64px;
  height: 64px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
}

.bridge-center p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--navy);
  max-width: 120px;
  text-align: center;
  line-height: 1.4;
  text-align: justify;
}

.bridge-items {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bridge-item {
  font-size: 0.78rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bridge-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── Contact ── */
.contact {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='none' stroke='%23ffffff' stroke-width='0.8' points='40,4 52,16 68,16 76,30 68,44 76,58 68,72 52,72 40,76 28,72 12,72 4,58 12,44 4,30 12,16 28,16'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact .section-title { color: var(--white); }
.contact .section-label { color: var(--teal); }
.contact .section-subtitle { color: rgba(255,255,255,0.65); }
.contact .divider { background: var(--terra-light); }

.contact-infos {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255,255,255,0.8);
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: rgba(42,157,143,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item div h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.contact-info-item div p {
  font-size: 0.9rem;
  text-align: justify;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(42,157,143,0.08);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--navy); color: white; }
.form-group textarea { resize: vertical; min-height: 110px; }

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

/* ── Footer ── */
.footer {
  background: #0d1f35;
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.7);
}

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

.footer-brand {}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand .tagline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.8;
  max-width: 280px;
  text-align: justify;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--teal); padding-left: 4px; }

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

.footer-bottom p { font-size: 0.8rem; }

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
}

.footer-social:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

/* ── WhatsApp floating button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ── Animations ── */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid      { grid-template-columns: 1fr 1fr; }
  .categories-grid    { grid-template-columns: 1fr 1fr; }
  .products-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-burger { display: flex; }

  .about-grid,
  .heritage-grid,
  .contact-grid    { grid-template-columns: 1fr; gap: 3rem; }

  .bridge-content  { grid-template-columns: 1fr; }
  .bridge-center   { flex-direction: row; }

  .services-grid   { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr 1fr; }

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

  .about-image-badge { right: 0; }
  .heritage-images img:first-child { height: 200px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .about-values  { grid-template-columns: 1fr; }
  .heritage-stats { grid-template-columns: 1fr 1fr; }
}
    /* Hover effet sur toutes les bento cards */
    .bento-card img { will-change: transform; }
    .bento-card:hover img { transform: scale(1.05); }
    .bento-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      border: 1.5px solid rgba(255,255,255,0);
      transition: border-color 0.35s ease;
      pointer-events: none;
    }
    .bento-card:hover::after { border-color: rgba(42,157,143,0.5); }

    /* Responsive bento */
    @media (max-width: 1024px) {
      .bento-card[style*="span 5"],
      .bento-card[style*="span 4"],
      .bento-card[style*="span 3"],
      .bento-card[style*="span 7"] { grid-column: span 6 !important; }
      .bento-card[style*="span 12"] { grid-column: span 12 !important; }
    }
@media (max-width: 640px) {
  .bento-card { 
    grid-column: span 12 !important; 
    height: 220px !important; 
  }

  /* Dernière card : hauteur auto selon contenu */
  .bento-card:last-child { 
    height: auto !important; 
    min-height: 300px !important; 
    padding-bottom: 2rem;
  }
}