/* ============================================================
   ALTO — Cuisines & Finitions
   Charte visuelle officielle — site complet
   ============================================================ */

/* --- VARIABLES & RESET --- */
:root {
  --charcoal: #1E1E1E;
  --charcoal-warm: #2A2522;
  --offwhite: #F6F3EE;
  --greige: #6B5E50;
  --bronze: #8A6F4D;
  --bronze-bright: #4A3520;
  --bronze-dark: #5A3E28;
  --bronze-bg: #C9B99A;
  --bronze-bg-alt: #BFA98A;
  --bronze-bg-card: #D4C4AD;
  --white: #FFFFFF;
  --charcoal-90: rgba(30, 30, 30, 0.9);
  --charcoal-70: rgba(30, 30, 30, 0.6);
  --bronze-light: rgba(138, 111, 77, 0.15);
  --greige-light: rgba(138, 111, 77, 0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Avenir Next', 'Futura', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--bronze-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bronze-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--charcoal); }

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); letter-spacing: 0.02em; }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 12px;
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--offwhite);
  border-color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--offwhite);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--offwhite);
}

.btn-text {
  background: none;
  border: none;
  color: var(--bronze-bright);
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 500;
}
.btn-text:hover { color: var(--charcoal); }
.btn-text::after {
  content: '\2192';
  margin-left: 6px;
  transition: transform var(--transition);
}
.btn-text:hover::after { transform: translateX(4px); }

/* --- HEADER / NAV --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: #1E1E1E;
  border-bottom: 1px solid rgba(138, 111, 77, 0.2);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo svg { height: 48px; width: auto; }
.nav-logo { display: flex; align-items: center; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--offwhite);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--bronze);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--bronze-bg); }

.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  color: var(--offwhite) !important;
  background: var(--charcoal) !important;
}
.nav-cta:hover { color: var(--offwhite) !important; }
.nav-cta::after { display: none !important; }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(246, 243, 238, 0.45);
  cursor: pointer;
  padding: 4px 6px;
  transition: color var(--transition);
}
.lang-btn:hover { color: var(--offwhite); }
.lang-btn.active { color: var(--offwhite); }
.lang-sep {
  color: rgba(246, 243, 238, 0.25);
  font-size: 0.8rem;
  font-weight: 300;
  user-select: none;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--offwhite);
  margin: 5px 0;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
/* --- HERO LOGO SECTION (bronze, homepage only) --- */
.hero-logo-section {
  background: var(--bronze-bg);
  text-align: center;
  padding: 100px 24px 60px;
}
.hero-logo-section-inner {
  max-width: 420px;
  margin: 0 auto;
}
.hero-logo-section-inner svg {
  width: 100%;
  height: auto;
}
.hero-logo-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-top: 0;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 80px;
  background-image: url('../images/hero-alto.jpg');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  pointer-events: none;
}
.hero::after {
  display: none;
}

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

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--bronze);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  color: var(--offwhite);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(246, 243, 238, 0.8);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero .btn-primary {
  background: var(--bronze);
  border-color: var(--bronze);
}
.hero .btn-secondary {
  color: var(--offwhite);
  border-color: var(--offwhite);
}
.hero .btn-secondary:hover {
  background: var(--offwhite);
  color: var(--charcoal);
}
.hero .btn-text {
  color: var(--bronze-bg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(138, 111, 77, 0.12);
}
.section-alt {
  background: var(--charcoal);
  border-bottom: none;
}
.section-alt h2, .section-alt h3 { color: var(--offwhite); }
.section-alt .section-label { color: var(--bronze-bg); }
.section-alt a:not(.btn) { color: var(--bronze-bg); }
.section-alt p { color: rgba(246, 243, 238, 0.85); }
.section-alt .feature-number { color: var(--bronze-bg); }
.section-alt .service-card,
.section-alt .testimonial-card { background: var(--charcoal-warm); border-color: rgba(138,111,77,0.2); }
.section-alt .service-card h3,
.section-alt .testimonial-card .testimonial-author { color: var(--offwhite); }
.section-alt .service-card p,
.section-alt .testimonial-card .testimonial-text { color: rgba(246,243,238,0.75); }
.section-alt .btn-primary { background: var(--bronze); border-color: var(--bronze); color: var(--offwhite); }
.section-alt .process-step::before { background: var(--bronze); }
.section-alt .process-step p { color: rgba(246, 243, 238, 0.75); }
.section-alt .section-header p { color: rgba(246, 243, 238, 0.85); }
.section-dark .section-header p { color: rgba(246, 243, 238, 0.85); }

.section-dark {
  background: var(--charcoal);
  border-top: none;
  border-bottom: none;
}
.section-dark h2, .section-dark h3 { color: var(--offwhite); }
.section-dark .section-label { color: var(--bronze-bg); }
.section-dark a:not(.btn) { color: var(--bronze-bg); }
.section-dark p { color: rgba(246, 243, 238, 0.85); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header p {
  color: var(--charcoal-warm);
  font-size: 1.05rem;
  margin-top: 16px;
}

/* --- SERVICE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.services-grid.services-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  background: var(--bronze-bg-card);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(138, 111, 77, 0.15);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bronze);
}

.service-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bronze-light);
  border-radius: 50%;
}
.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 16px; color: var(--charcoal); }
.service-card p {
  color: var(--charcoal-warm);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- WHY ALTO / FEATURES --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.feature-item { padding: 24px 16px; }
.feature-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 8px;
  line-height: 1;
}
.feature-item h3 { margin-bottom: 12px; font-size: 1.15rem; }
.feature-item p { font-size: 0.95rem; }
.section-alt .feature-item p { color: rgba(246, 243, 238, 0.75); }

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--bronze-bg-card);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid rgba(138, 111, 77, 0.12);
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--bronze);
  opacity: 0.3;
  position: absolute;
  top: 16px; left: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: var(--bronze);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal-warm);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.testimonial-location {
  font-size: 0.8rem;
  color: var(--greige);
  margin-top: 2px;
}

/* --- CTA SECTION --- */
.cta-section {
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  max-width: 520px;
  margin: 0 auto 32px;
}

/* --- PROCESS SECTION --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  counter-reset: process-counter;
}

.process-step {
  padding: 32px 20px;
  position: relative;
}
.process-step::before {
  counter-increment: process-counter;
  content: counter(process-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--charcoal);
  color: var(--offwhite);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 auto 20px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--charcoal-warm); }

/* --- MATÉRIAUX PHOTO CARDS --- */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Section claire → cartes charcoal (contraste) */
.mat-card {
  background: var(--dark);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  transition: box-shadow 0.25s, transform 0.25s;
}
.mat-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.32);
  transform: translateY(-3px);
}
.mat-card .mat-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.mat-card .mat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.mat-card:hover .mat-img img {
  transform: scale(1.06);
}
.mat-card .mat-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.mat-card p {
  font-size: 0.88rem;
  color: rgba(246,243,238,0.82);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
/* Section sombre (.section-alt) → cartes crème (contraste inverse) */
.section-alt .mat-card,
.section-dark .mat-card {
  background: var(--cream);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.section-alt .mat-card:hover,
.section-dark .mat-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.14);
}
.section-alt .mat-card h3,
.section-dark .mat-card h3 { color: var(--charcoal) !important; }
.section-alt .mat-card p,
.section-dark .mat-card p { color: #444 !important; }
.mat-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid var(--bronze);
  padding: 4px 10px;
  border-radius: 2px;
  align-self: flex-start;
}
@media (max-width: 1024px) {
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mat-grid { grid-template-columns: 1fr; }
  .mat-card .mat-img { height: 220px; }
}

/* --- PORTFOLIO GRID --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  padding-top: 0;
}

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: var(--bronze-bg-card);
  border: 1px solid rgba(138, 111, 77, 0.12);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(138, 111, 77, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-placeholder {
  color: var(--greige);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}
.portfolio-placeholder svg {
  width: 48px; height: 48px;
  stroke: var(--greige);
  fill: none;
  stroke-width: 1;
  margin-bottom: 8px;
}

.portfolio-info { padding: 20px 24px; }
.portfolio-info h3 { font-size: 1rem; margin-bottom: 6px; color: var(--charcoal); }
.portfolio-info p { font-size: 0.85rem; color: var(--greige); }

.portfolio-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bronze-light);
  color: var(--bronze);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-top: 8px;
}

/* --- CONTACT / FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-block { margin-bottom: 32px; }
.contact-info-block h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-block h3 svg {
  width: 20px; height: 20px;
  stroke: var(--bronze-bright);
  fill: none;
  stroke-width: 1.5;
}
.contact-info-block p { color: var(--charcoal-warm); font-size: 0.95rem; }
.contact-info-block a { color: var(--bronze-bright); font-weight: 500; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--charcoal);
}
.form-group .required { color: var(--bronze); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: rgba(246, 243, 238, 0.6);
  border: 1px solid rgba(138, 111, 77, 0.25);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px var(--bronze-light);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%23B8AEA1' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

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

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--greige);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
  margin-bottom: 0;
}
.form-radio-group input { display: none; }
.form-radio-group input:checked + label,
.form-radio-group label:has(input:checked) {
  border-color: var(--bronze);
  background: var(--bronze-light);
  color: var(--bronze);
  font-weight: 500;
}

.form-submit-note {
  font-size: 0.85rem;
  color: var(--greige);
  margin-top: 12px;
}

/* --- MAP --- */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* --- ZONE DESSERTE --- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.zone-item {
  padding: 20px;
  background: var(--bronze-bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(138, 111, 77, 0.12);
}
.zone-item h3 { font-size: 0.95rem; margin-bottom: 4px; color: var(--charcoal); }
.zone-item p { font-size: 0.85rem; color: var(--greige); }

/* --- ABOUT PAGE SPECIFIC --- */
.about-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(170deg, var(--bronze-bg) 0%, var(--bronze-bg-alt) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content.reverse { direction: rtl; }
.about-content.reverse > * { direction: ltr; }

.about-image {
  aspect-ratio: 4/3;
  background: var(--bronze-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--greige);
  font-size: 0.9rem;
  border: 1px solid rgba(138, 111, 77, 0.12);
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--charcoal-warm); }
.section-alt .about-text h2 { color: var(--offwhite); }
.section-alt .about-text p { color: rgba(246, 243, 238, 0.85); }

/* --- NETWORK GRID --- */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Grilles 3-col avec orphelins centrés */
.network-grid.center-orphans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.network-grid.center-orphans .network-card {
  flex: 0 0 calc(33.333% - 16px);
}
/* Grille 4-col avec orphelins centrés (ex: essences de bois) */
.network-grid-4.center-orphans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.network-grid-4.center-orphans .network-card {
  flex: 0 0 calc(25% - 18px);
}
.network-card {
  padding: 32px 24px;
  background: var(--bronze-bg-card);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(138, 111, 77, 0.15);
}
.network-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--charcoal); }
.network-card p { font-size: 0.9rem; color: var(--charcoal-warm); }
.network-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bronze-light);
  border-radius: 50%;
}
.network-icon svg {
  width: 24px; height: 24px;
  stroke: var(--bronze);
  fill: none;
  stroke-width: 1.5;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(246, 243, 238, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(138, 111, 77, 0.15);
}

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

.footer-brand svg { height: auto; width: 100%; max-width: 280px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; line-height: 1.6; }

.footer-col h4 {
  color: var(--offwhite);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(246, 243, 238, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--bronze); }

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 238, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(246, 243, 238, 0.5); }
.footer-bottom a:hover { color: var(--bronze); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(246, 243, 238, 0.2);
  border-radius: 50%;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--bronze);
  background: var(--bronze);
}
.footer-social svg {
  width: 16px; height: 16px;
  fill: rgba(246, 243, 238, 0.7);
}
.footer-social a:hover svg { fill: var(--offwhite); }

/* --- PAGE HERO (internal pages) --- */
.page-hero {
  position: relative;
  min-height: 400px;
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/hero-alto.jpg');
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
  pointer-events: none;
  z-index: 1;
}
.page-hero > * {
  position: relative;
  z-index: 2;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero .section-label,
.page-hero * {
  color: #FFFFFF !important;
}

/* --- PROS BANNER --- */
.pros-banner {
  padding: 48px 0;
  text-align: center;
  background: var(--charcoal-warm);
  border-top: none;
  border-bottom: 1px solid rgba(138, 111, 77, 0.15);
}
.pros-banner p {
  font-size: 1.05rem;
  color: rgba(246, 243, 238, 0.75);
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.pros-banner h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--offwhite);
}
.pros-banner .btn-primary { background: var(--bronze); border-color: var(--bronze); }
.pros-banner .section-label { margin-bottom: 8px; color: var(--bronze); }

/* --- FEATURES INLINE (service pages) --- */
.features-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}
.features-inline .feature {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bronze-light);
  color: var(--bronze);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

/* --- SERVICE DETAIL SECTION --- */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid rgba(184, 174, 161, 0.12);
}
.service-detail:nth-child(even) {
  background: var(--charcoal);
}
.service-detail:nth-child(even) h2,
.service-detail:nth-child(even) h3 { color: var(--offwhite); }
.service-detail:nth-child(even) .section-label { color: var(--bronze-bg); }
.service-detail:nth-child(even) p { color: rgba(246, 243, 238, 0.85); }
.service-detail:nth-child(even) .about-image {
  background: var(--charcoal-warm);
  color: rgba(246, 243, 238, 0.5);
}
.service-detail:nth-child(even) .feature { background: rgba(138,111,77,0.25); color: var(--bronze-bg); }
.service-detail:nth-child(even) .btn-primary { background: var(--bronze); border-color: var(--bronze); }
.service-detail .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-detail:nth-child(even) .about-content {
  direction: rtl;
}
.service-detail:nth-child(even) .about-content > * {
  direction: ltr;
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid,
  .services-grid.services-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .features-grid,
  .testimonials-grid,
  .network-grid { grid-template-columns: repeat(2, 1fr); }
  .network-grid.center-orphans .network-card { flex: 0 0 calc(50% - 12px); }
  .network-grid-4.center-orphans .network-card { flex: 0 0 calc(50% - 12px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-content.reverse { direction: ltr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail .about-content { grid-template-columns: 1fr; gap: 40px; }
  .service-detail:nth-child(even) .about-content { direction: ltr; }
  .service-detail:nth-child(even) .about-image { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(30, 30, 30, 0.97);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(138, 111, 77, 0.2);
  }
  .menu-toggle { display: block; }

  .hero-logo-section { padding: 80px 20px 40px; }
  .hero-logo-section-inner { max-width: 320px; }
  .hero { min-height: auto; padding: 60px 20px 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .section { padding: 64px 0; }

  .services-grid,
  .services-grid.services-grid-5,
  .features-grid,
  .testimonials-grid,
  .portfolio-grid,
  .network-grid { grid-template-columns: 1fr; }
  .network-grid.center-orphans .network-card { flex: 0 0 100%; }
  .network-grid-4.center-orphans .network-card { flex: 0 0 100%; }
  .process-grid { grid-template-columns: 1fr !important; }
  .zone-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

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

  /* Font size minimums mobile */
  .section-label { font-size: 0.875rem; }
  .lang-btn { font-size: 0.875rem; }
  .lang-sep { font-size: 0.875rem; }
  .testimonial-location { font-size: 0.875rem; }
  .footer-bottom { font-size: 0.875rem; }
  .features-inline .feature { font-size: 0.875rem; }
  .portfolio-tag-overlay { font-size: 0.875rem; }
  .portfolio-badge { font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .hero-logo-section { padding: 70px 20px 32px; }
  .hero-logo-section-inner { max-width: 280px; }
  .hero { padding: 48px 16px 48px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { margin-bottom: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; min-height: 48px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .footer-brand svg { max-width: 220px; }
  .service-detail { padding: 48px 0; }
  .service-detail .about-content { gap: 28px; }
  .form-input, .form-select, .form-textarea { min-height: 48px; font-size: 16px; }
  .form-radio-group label { min-height: 44px; padding: 10px 16px; }
  .contact-info-block a { display: inline-block; min-height: 44px; line-height: 44px; }
}


/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 80px; right: 16px; width: 50px; height: 50px; }
}

/* Urgency banner */
.urgency-banner {
  background: var(--bronze, #8A6F4D);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}
.urgency-banner a { color: #fff; text-decoration: underline; }
.urgency-banner strong { font-weight: 600; }

/* ── Portfolio Filters ─────────────────────────────────────────── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--greige);
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--charcoal);
  color: var(--offwhite);
  border-color: var(--charcoal);
}

/* ── Portfolio Image real photos ──────────────────────────────── */
.portfolio-image {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-light);
  aspect-ratio: 3/2;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-image img {
  transform: scale(1.04);
}
.portfolio-tag-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30,30,30,0.82);
  color: var(--bronze);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  pointer-events: none;
}

/* Portfolio — vue complete (sans rognage) pour cartes specifiques */
.portfolio-contain .portfolio-image img {
  object-fit: contain;
  background-color: #1E1E1E;
}
