/* ============================================================
   TERANGA SÉNÉGAL — index.css
   Styles spécifiques à la page d'accueil
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: hero-zoom 12s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,10,12,0.92) 0%,
    rgba(10,10,12,0.75) 50%,
    rgba(10,10,12,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
}
.hero-text {
  max-width: 680px;
}
.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 10px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white-m);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-sub em { color: var(--gold); font-style: normal; font-weight: 500; }
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-n {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-l {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(201,168,76,0.3);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(201,168,76,0.8), transparent);
  margin: 0 auto;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---- ABOUT ---- */
.about { background: var(--black-s); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: var(--r);
  overflow: visible;
}
.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid rgba(201,168,76,0.15);
}
.about-img::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 160px; height: 160px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 4px 0 0 0;
  z-index: 1;
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 160px; height: 160px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 0 4px 0;
}
.about-img-badge {
  position: absolute;
  bottom: 24px; right: -24px;
  background: var(--gold);
  color: var(--black);
  padding: 20px 24px;
  border-radius: var(--r);
  text-align: center;
  box-shadow: var(--sg);
  z-index: 3;
}
.badge-year {
  display: block;
  font-family: var(--fd);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.about-text p { color: var(--white-m); font-weight: 300; line-height: 1.8; }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feat-icon {
  font-size: 1.4rem;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 2px;
}
.feat-item p { font-size: 0.85rem; color: var(--muted); }

/* ---- SPÉCIALITÉS ---- */
.specialites { background: var(--black); }
.sec-header { margin-bottom: 56px; }

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.dish-card {
  background: var(--black-c);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.dish-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.25);
  box-shadow: var(--sg);
}
.dish-img {
  position: relative;
  height: 55px;
  overflow: hidden;
}
.dish-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dish-card:hover .dish-img img { transform: scale(1.08); }
.dish-body { padding: 20px; }
.dish-name {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.dish-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dish-price {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
}
.dish-btn {
  background: var(--gold-f);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 9px 18px;
  border-radius: calc(var(--r) - 2px);
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--t);
  min-height: 44px;
}
.dish-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.sec-footer { text-align: center; }

/* ---- WHY US ---- */
.why-us { background: var(--black-s); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why-card {
  background: var(--black-c);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.why-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: var(--sg);
  transform: translateY(-4px);
}
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ---- REVIEWS ---- */
.reviews { background: var(--black); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--black-c);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--r);
  padding: 32px;
  transition: border-color var(--t), box-shadow var(--t);
}
.review-card:hover {
  border-color: rgba(201,168,76,0.2);
  box-shadow: var(--sg);
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-card > p {
  font-size: 0.95rem;
  color: var(--white-m);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-d), var(--gold));
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--white); }
.review-author span { font-size: 0.78rem; color: var(--muted); margin-top: 2px; display: block; }

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
}
.cta-banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,0.82);
}
.cta-content {
  position: relative;
  z-index: 2;
  padding: 100px clamp(18px,4vw,48px);
  max-width: var(--mw);
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content h2 em { color: var(--gold); font-style: italic; }
.cta-content p { font-size: 1rem; color: var(--white-m); margin-bottom: 36px; max-width: 480px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- QUICK CONTACT ---- */
.quick-contact {
  background: var(--black-s);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.qc-item {
  text-align: center;
  padding: 20px 10px;
}
.qc-icon { font-size: 2rem; margin-bottom: 12px; }
.qc-item h4 {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--fb);
  font-weight: 600;
}
.qc-item p, .qc-item a {
  font-size: 0.92rem;
  color: var(--white-m);
  line-height: 1.7;
  transition: color var(--t);
}
.qc-item a:hover { color: var(--gold); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .dishes-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-text { max-width: 560px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .about-img-badge { right: 16px; }
}
@media (max-width: 768px) {
  .hero-stats { gap: 18px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { margin-bottom: 40px; }
  .about-img img { height: 300px; }
  .about-img::before, .about-img::after { display: none; }
  .about-img-badge { right: 16px; bottom: 16px; }
  .dishes-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: flex-start; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
}
