/* ============================================
   SOLYA — Landing Page Styles
   Brand Colors: Orange #D4874D, Black #1A1A1A,
                 White #FFFFFF, Cream #F5E6D3
   ============================================ */

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

:root {
  --color-primary: #D4874D;
  --color-primary-light: #E8A06A;
  --color-primary-dark: #B86E3A;
  --color-black: #1A1A1A;
  --color-dark: #2D2D2D;
  --color-gray: #6B6B6B;
  --color-light-gray: #E0E0E0;
  --color-cream: #F5E6D3;
  --color-cream-light: #FDF6EE;
  --color-white: #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 32px;
  width: auto;
}

/* Show white logo by default (over hero), color logo when scrolled */
.logo-white {
  display: block;
}

.logo-color {
  display: none;
}

.navbar.scrolled .logo-white {
  display: none;
}

.navbar.scrolled .logo-color {
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
}

.navbar:not(.scrolled) .nav-links a {
  color: var(--color-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--color-black);
  transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-toggle span {
  background: var(--color-white);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 135, 77, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 135, 77, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-logo {
  width: 320px;
  max-width: 80vw;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

.hero-coming-soon {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(212, 135, 77, 0.15);
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(212, 135, 77, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: fadeIn 1s ease-out 1s both;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* --- Sections --- */
.section {
  padding: 8rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-black);
}

.section p {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-grid-reverse {
  direction: rtl;
}

.section-grid-reverse > * {
  direction: ltr;
}

.section-image img {
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* --- Qui sommes-nous --- */
.section-about {
  background: var(--color-white);
}

/* --- Valeurs --- */
.section-valeurs {
  background: var(--color-cream-light);
  padding: 8rem 0;
}

.valeurs-header {
  text-align: center;
  margin-bottom: 4rem;
}

.valeurs-header h2 {
  margin-bottom: 0;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.valeur-card {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.valeur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(212, 135, 77, 0.1);
}

.valeur-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.valeur-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.valeur-card p {
  color: var(--color-gray);
  font-size: 0.9rem;
  max-width: none;
  margin-bottom: 0;
}

/* --- Coming Soon --- */
.section-coming-soon {
  background: var(--color-white);
  padding: 8rem 0;
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon-content p {
  max-width: none;
  margin: 0 auto 2.5rem;
}

.coming-soon-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
}

.coming-soon-newsletter {
  margin-top: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-light-gray);
  border-right: none;
  background: var(--color-white);
  color: var(--color-black);
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* --- Engagements --- */
.section-engagements {
  background: var(--color-cream-light);
}

.valeurs-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
}

.engagements-stats,
.savoir-faire-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-light-gray);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* --- Bandeau / Citation --- */
.section-bandeau {
  background: var(--color-primary);
  padding: 6rem 0;
  text-align: center;
}

.section-bandeau blockquote {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Contact --- */
.section-contact {
  background: var(--color-white);
}

.contact-simple {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-simple p {
  max-width: none;
  margin-bottom: 2rem;
}

.contact-email {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
}

.contact-email:hover {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}


/* --- Footer --- */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .section h2 {
    font-size: 2.5rem;
  }

  .section-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition-slow);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--color-black) !important;
    font-size: 1rem;
  }

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

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

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

  .navbar.scrolled .nav-toggle.active span,
  .nav-toggle.active span {
    background: var(--color-black);
  }

  .hero-logo {
    width: 240px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .section-grid,
  .section-grid-reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-grid-reverse {
    direction: ltr;
  }

  .section-image {
    order: -1;
  }

  .valeurs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-right: 1px solid var(--color-light-gray);
    border-bottom: none;
  }

  .contact-email {
    font-size: 1.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-bandeau blockquote {
    font-size: 1.5rem;
  }

  .savoir-faire-stats {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .hero-logo {
    width: 200px;
  }

  .btn {
    padding: 0.85rem 2rem;
    font-size: 0.7rem;
  }

  .savoir-faire-stats {
    flex-wrap: wrap;
  }
}
