/* ============================================
   WARMSTONE - HOMEPAGE PERFECT
   Design premium sans icônes, focus typo + images
   ============================================ */

/* === VARIABLES === */
:root {
  --warmstone-dark: #2C2416;
  --warmstone-brown: #3E3226;
  --warmstone-gold: #C4A35A;
  --warmstone-accent: #A67C52;
  --warmstone-beige: #E8DCC4;
  --warmstone-sand: #D4C5A9;
  --warmstone-tan: #B8A989;
  --warmstone-light: #F5F1E8;
}

/* === HERO SECTION === */
.hero-perfect {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warmstone-dark);
  overflow: hidden;
}

.hero-perfect::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/salle-bain-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 2rem;
}

/* Logo grand */
.hero-logo {
  width: 280px;
  height: auto;
  margin: 0 auto 3rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 380px;
    margin-bottom: 4rem;
  }
}

/* Titre principal */
.hero-main-title {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-main-title {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-main-title {
    font-size: 6.5rem;
  }
}

.hero-main-title .highlight {
  background: linear-gradient(135deg, #C4A35A 0%, #D4C5A9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sous-titre */
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

/* CTA principal */
.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, #C4A35A 0%, #A67C52 100%);
  color: #ffffff;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(196, 163, 90, 0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(196, 163, 90, 0.4);
}

/* CTA secondary */
.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

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

/* === SECTION PROJETS === */
.projets-section {
  padding: 8rem 2rem;
  background: #ffffff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--warmstone-dark);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 4rem;
  }
}

.section-title .highlight {
  color: var(--warmstone-gold);
}

.projets-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .projets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .projets-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.projet-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.projet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.projet-item:hover img {
  transform: scale(1.05);
}

.projet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 36, 22, 0.95), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.projet-item:hover .projet-overlay {
  opacity: 1;
}

.projet-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.voir-galerie {
  text-align: center;
  margin-top: 4rem;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid var(--warmstone-dark);
  color: var(--warmstone-dark);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--warmstone-dark);
  color: #ffffff;
}

/* === SECTION STATS === */
.stats-section {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, var(--warmstone-dark) 0%, var(--warmstone-brown) 100%);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stats-section {
    padding: 6rem 2rem;
  }
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

.stat-item {
  color: #ffffff;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--warmstone-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* === SECTION EXPERTISE === */
.expertise-section {
  padding: 0;
  background: #ffffff;
}

.expertise-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 600px;
}

@media (min-width: 1024px) {
  .expertise-split {
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
  }
}

.expertise-image {
  background-image: url('../images/carrelage-1.jpg');
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .expertise-image {
    min-height: auto;
  }
}

.expertise-content {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

@media (min-width: 1024px) {
  .expertise-content {
    padding: 6rem 4rem;
  }
}

.expertise-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--warmstone-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .expertise-title {
    font-size: 3.5rem;
  }
}

.expertise-description {
  font-size: 1.125rem;
  color: var(--warmstone-brown);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.services-list li {
  font-size: 1.125rem;
  color: var(--warmstone-dark);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 36, 22, 0.1);
  font-weight: 600;
}

.services-list li:last-child {
  border-bottom: none;
}

/* === SECTION CTA CALCULATOR === */
.calculator-cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--warmstone-gold) 0%, var(--warmstone-accent) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calculator-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.calculator-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.calculator-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .calculator-title {
    font-size: 4rem;
  }
}

.calculator-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.calculator-cta {
  display: inline-block;
  background: #ffffff;
  color: var(--warmstone-dark);
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.calculator-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* === SECTION TÉMOIGNAGES === */
.testimonials-section {
  padding: 8rem 2rem;
  background: #ffffff;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.testimonial-card {
  background: var(--warmstone-light);
  padding: 2.5rem;
  position: relative;
}

.testimonial-stars {
  color: var(--warmstone-gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--warmstone-brown);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--warmstone-dark);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--warmstone-brown);
  opacity: 0.8;
}

.testimonials-links {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonials-link {
  color: var(--warmstone-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.testimonials-link:hover {
  color: var(--warmstone-accent);
}

/* === SECTION ZONES === */
.zones-section {
  padding: 8rem 2rem;
  background: var(--warmstone-beige);
}

.zones-grid {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .zones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .zones-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.zone-link {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  color: var(--warmstone-dark);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.zone-link:hover {
  background: #ffffff;
  color: var(--warmstone-gold);
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }

  .expertise-title {
    font-size: 2rem;
  }

  .calculator-title {
    font-size: 2rem;
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}
