/* ============================================
   ART AYNA — Premium Interior Plaster Website
   Modern · High-end · Conversion-focused
   ============================================ */

:root {
  /* Palette — Warm luxury */
  --color-bg: #F8F5F0;
  --color-bg-alt: #F0EBE3;
  --color-surface: #FFFFFF;
  --color-text: #1C1C1C;
  --color-text-muted: #a8a15e;
  --color-accent: #c5b468;          /* Warm bronze / terracotta */
  --color-accent-hover: #6d5838;
  --color-dark: #141414;
  --color-border: rgba(28, 28, 28, 0.08);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Layout */
  --container: 1140px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.3s;
}

/* Effet au survol */
.logo__img:hover {
  transform: scale(1.05);
}



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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography helpers */
.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

.section__intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  min-height: 48px; /* Touch target */
}

.btn--primary {
  background-color: var(--color-dark);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/*.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo__mark {
  color: var(--color-accent);
}

.logo__name {
  color: var(--color-dark);
}*/
/* Conteneur du logo */
.logo {
  display: flex;
  align-items: left;      /* centre verticalement */
  justify-content: flex-start; /* garde le logo à gauche du header */
  height: 100px;             /* hauteur du bloc header */
}
.logo__name {
  display: flex;
  align-items: left;      /* centre verticalement */
  justify-content: flex-start; /* garde le logo à gauche du header */
  height: 10px;            /* hauteur du bloc header */
  margin-top: 30px;
  font-size: 30px;
}
/* Image du logo */
.logo__img {
  max-height: 50px;         /* ajuste la taille du logo */
  width: 5px;              /* conserve les proportions */
  display: block;
  margin: 0;                /* supprime les marges parasites */
  object-fit: contain;      /* évite les déformations */
}

/* Nav desktop */
.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration);
  position: relative;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-dark);
}

.nav__link--cta {
  background: var(--color-dark);
  color: #fff !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
}

.nav__link--cta:hover {
  background: var(--color-accent);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  transition: all 0.25s ease;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, #1a1612 0%, #2c241c 40%, #1f1a15 100%);
  /* Placeholder: replace with background-image: url('../assets/images/hero.jpg'); */
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 16, 12, 0.55) 0%,
    rgba(20, 16, 12, 0.7) 50%,
    rgba(20, 16, 12, 0.85) 100%
  );
}

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

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero__title-accent {
  color: var(--color-accent);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-2xl) 0;
}

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

/* ========== ABOUT ========== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about__stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.about__image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #e8e0d5, #d4c9b8);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.about__image-placeholder span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

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

.service-card {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration);
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 12px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ========== REALISATIONS ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--space-sm);
}

.gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(145deg, #e0d8cc, #cfc4b3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

.gallery__item--large .gallery__placeholder {
  min-height: 380px;
}

.gallery__placeholder span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-dark);
}

.gallery__note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

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

.testimonial {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  flex-grow: 1;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.875rem;
}

.testimonial__author strong {
  color: var(--color-dark);
  font-style: normal;
}

.testimonial__author span {
  color: var(--color-text-muted);
}

.testimonials__prompt {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ========== FAQ ========== */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--color-dark);
  color: #fff;
}

.contact .section__eyebrow {
  color: var(--color-accent);
}

.contact .section__title {
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 420px;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__method {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--duration);
}

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

.contact__method-icon {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.contact__method-value {
  font-size: 1.05rem;
  font-weight: 500;
}

/* Form */
.contact__form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #fff;
  transition: border-color var(--duration);
  min-height: 48px;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form__group textarea {
  resize: vertical;
  min-height: 110px;
}

.form__note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ========== FOOTER ========== */
.footer {
  background: #0f0d0b;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-lg) 0;
}

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

.footer__brand .logo__mark,
.footer__brand .logo__name {
  font-size: 1.15rem;
}

.footer__brand p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--duration);
}

.footer__links a:hover {
  color: #fff;
}

.footer__legal {
  font-size: 0.8rem;
}

/* ========== RESPONSIVE — Mobile First improvements ========== */
@media (max-width: 992px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery__item--large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    padding: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  
  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav__link--cta {
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
  }
  
  .hero {
    min-height: 90vh;
    padding: 5.5rem 0 3rem;
  }
  
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .about__stats {
    gap: var(--space-md);
  }
  
  .header__inner {
    height: 64px;
  }
  
  .nav {
    top: 64px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery__item--large {
    grid-column: span 1;
  }
  
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer__links {
    justify-content: center;
  }
}
.footer__brand {
  display: flex;
  align-items: left;      /* centre verticalement */
  justify-content: flex-start; /* garde le logo à gauche du header */
  height: 120px;            /* hauteur du bloc header */
  margin-top: 20px;
  font-size: 30px;
}

/* Performance & accessibility helpers */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
