/* =============================================
   CYRIAL – CHEF PÂTISSIER | STYLESHEET
   ============================================= */

/* ---- TOKENS ---- */
:root {
  --rose:        hsl(345, 40%, 72%);
  --rose-light:  hsl(340, 40%, 95%);
  --rose-dark:   hsl(345, 35%, 55%);
  --cream:       hsl(40, 30%, 97%);
  --brown:       hsl(20, 20%, 25%);
  --brown-light: hsl(20, 15%, 45%);
  --white:       #ffffff;
  --gray-100:    hsl(0, 0%, 97%);
  --gray-200:    hsl(0, 0%, 92%);
  --gray-400:    hsl(0, 0%, 65%);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
  --nav-h:       80px;
  --radius:      4px;
  --shadow:      0 8px 40px hsla(345, 30%, 30%, 0.12);
  --shadow-lg:   0 20px 60px hsla(345, 30%, 30%, 0.18);
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--brown);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--rose-dark);
}
.accent { color: var(--rose-dark); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--rose-dark);
  color: var(--white);
  box-shadow: 0 4px 20px hsla(345, 40%, 50%, 0.3);
}
.btn-primary:hover {
  background: hsl(345, 35%, 45%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsla(345, 40%, 50%, 0.4);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px hsla(0, 0%, 0%, 0.08);
}
.nav-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-badge {
  width: 44px; height: 44px;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: background var(--transition);
}
.logo-badge.small { width: 36px; height: 36px; font-size: 1.1rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--rose-dark);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--brown);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--rose-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--rose-dark); }
.nav-cta {
  background: var(--rose-dark);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: hsl(345, 35%, 45%); transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--brown);
  display: block;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(340, 20%, 10%, 0.55) 0%,
    hsla(340, 20%, 10%, 0.25) 60%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 700px;
  padding: 0 2rem;
  animation: heroFadeUp 1.2s 0.3s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: hsla(340, 60%, 90%, 0.9);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px hsla(0,0%,0%,0.2);
}
.hero-title em { font-style: italic; color: hsl(340, 70%, 90%); }
.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: hsla(0, 0%, 100%, 0.85);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  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.7);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 2s 1.5s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  background: var(--rose-light);
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid hsla(340, 30%, 80%, 0.3);
  border-bottom: 1px solid hsla(340, 30%, 80%, 0.3);
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--rose-dark);
}
.marquee-track .dot {
  color: var(--rose);
  font-style: normal;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 4rem 2rem;
  background: var(--cream);
}
.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text { }
.about-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--brown-light);
  margin-bottom: 1.25rem;
}
.about-text .btn { margin-top: 1rem; }
.about-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: '';
  position: absolute;
  top: -15px; left: -15px;
  right: 15px; bottom: 15px;
  border: 1.5px solid var(--rose);
  border-radius: 2px;
  z-index: -1;
}

/* =============================================
   CARDS SECTION
   ============================================= */
.cards-section {
  padding: 0;
  background: var(--white);
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
}
.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.card-center { aspect-ratio: 3/5; }
.card-img-wrap {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.card:hover .card-img-wrap { transform: scale(1.05); }
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(345, 30%, 15%, 0.55) 0%, transparent 60%);
  transition: opacity var(--transition);
}
.card:hover .card-overlay { opacity: 0.8; }
.card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem;
  z-index: 2;
}
.card-btn {
  display: inline-block;
  background: rgba(255,255,255,0.92);
  color: var(--brown);
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.card-btn:hover { background: var(--white); transform: translateY(-2px); }
.card-btn-accent { color: var(--rose-dark); }

/* =============================================
   COLLECTION / GALLERY
   ============================================= */
.collection {
  padding: 4rem 0 2rem;
  background: var(--white);
}
.collection-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-track-wrap {
  position: relative;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 calc(33.33% - 1rem);
  min-width: 280px;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(345, 30%, 15%, 0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  font-style: italic;
}
.gallery-overlay span {
  font-size: 0.72rem;
  color: hsla(0,0%,100%,0.75);
  letter-spacing: 0.1em;
}
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
}
.gallery-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  color: var(--rose-dark);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.gallery-btn:hover {
  background: var(--rose-dark);
  color: var(--white);
  border-color: var(--rose-dark);
  transform: scale(1.1);
}

/* =============================================
   STATS
   ============================================= */
.stats-section {
  padding: 4rem 2rem;
  background: var(--rose-dark);
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1.5rem; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: hsla(0,0%,100%,0.7);
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(0,0%,100%,0.75);
  margin-top: 0.5rem;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: 4rem 2rem;
  background: var(--cream);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: var(--rose-dark);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--rose-dark);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 4rem 2rem;
  background: var(--white);
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--brown-light);
  margin-bottom: 2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--brown-light);
}
.contact-icon {
  width: 36px; height: 36px;
  background: var(--rose-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.contact-detail a {
  color: var(--brown-light);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-detail a:hover {
  color: var(--rose-dark);
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--rose-dark);
  transition: all var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
  transform: scale(1.1);
}
/* Form */
.contact-form {
  background: var(--cream);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--brown);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px hsla(345, 40%, 72%, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  margin-top: 1rem;
  text-align: center;
  color: hsl(145, 50%, 40%);
  font-size: 0.88rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--brown);
  padding: 3rem 2rem;
  color: hsla(0,0%,100%,0.7);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo .logo-badge {
  background: var(--rose);
}
.footer-logo .logo-name,
.footer-logo .logo-sub { color: var(--white); }
.footer-logo .logo-sub { color: hsla(0,0%,100%,0.5); }
.footer-copy {
  font-size: 0.78rem;
  line-height: 1.7;
  text-align: center;
  color: hsla(0,0%,100%,0.5);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: hsla(0,0%,100%,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--rose); }

/* =============================================
   WHATSAPP FLOTTANT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: #25D366;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #25D366;
  border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes waPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 0; transform: scale(1.4); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-content { gap: 3rem; }
  .contact-inner { gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 30px hsla(0,0%,0%,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1rem; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: flex; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { order: -1; aspect-ratio: 16/10; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { aspect-ratio: 16/9; }
  .card-center { aspect-ratio: 16/9; }
  .gallery-item { flex: 0 0 80vw; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { padding: 2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: 2.5rem; }
}
