/**
 * landing.css
 * Hero, barre de recherche, comment ça marche, signup CTA, réseaux sociaux, footer
 * Dépend de : variables.css, base.css
 */

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 60px 80px;
    gap: 60px;
    position: relative;
    overflow: hidden;
    background: #FAF6F0;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(196,98,45,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.3px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease both;
  }

  .hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.15;
    color: #2A1708;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
    letter-spacing: 0.3px;
  }
  .hero h1 em { font-style: italic; color: var(--terracotta); font-weight: 400; }

  .hero-sub {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 0.6s ease 0.2s both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
  }

  /* Stat badges */
  .hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 52px;
    padding-top: 36px;
    border-top: 1px solid var(--sand);
    animation: fadeInUp 0.6s ease 0.4s both;
  }
  .stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 16px;
    padding: 20px 16px 16px;
    flex: 1;
    gap: 10px;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .stat-badge:hover,
  .stat-badge:active,
  .stat-badge:focus {
    border-color: var(--terracotta);
    box-shadow: 0 4px 16px rgba(196,98,45,0.15);
    transform: translateY(-2px);
  }
  .stat-badge-icon { display: flex; align-items: center; justify-content: center; }
  .stat-badge-title { font-size: 15px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }

  /* Hero visual */
  .hero-visual {
    position: relative;
    height: 560px;
    animation: fadeInRight 0.8s ease 0.2s both;
  }
  .hero-card {
    position: absolute;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(61,35,20,0.12);
  }
  .hero-card-main { width: 340px; top: 0; right: 20px; border-radius: 24px; }
  .card-food-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
  .card-info { padding: 20px; }
  .card-meta { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
  .card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .tag { background: var(--cream-dark); color: var(--text-mid); padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 500; }
  .tag-verified { background: rgba(196,98,45,0.12); color: var(--terracotta); }
  .tag-bio { background: rgba(46,125,50,0.1); color: #2e7d32; border: 1px solid rgba(46,125,50,0.2); }
  .tag-healthy { background: rgba(230,81,0,0.08); color: #e65100; border: 1px solid rgba(230,81,0,0.2); }
  .tag-sans-sucre { background: rgba(21,101,192,0.08); color: #1565c0; border: 1px solid rgba(21,101,192,0.2); }
  .tag-livraison { background: rgba(123,31,162,0.08); color: #7b1fa2; border: 1px solid rgba(123,31,162,0.2); }

  .hero-card-mini { width: 200px; bottom: 60px; left: 0; border-radius: 18px; animation: float 4s ease-in-out infinite; }
  .mini-food-img { width: 100%; height: 120px; object-fit: cover; display: block; }
  .mini-info { padding: 14px; }
  .mini-loc { font-size: 11px; color: var(--text-light); margin-top: 3px; }

  .hero-card-stat {
    position: absolute;
    bottom: 20px; right: 0;
    background: var(--white);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 8px 24px rgba(61,35,20,0.10);
    display: flex;
    align-items: center;
    gap: 14px;
    width: 220px;
    animation: float 4s ease-in-out 2s infinite;
    border: 1.5px solid var(--cream-dark);
  }
  .hero-stat-icon {
    width: 40px; height: 40px;
    background: rgba(196,98,45,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .hero-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
  }
  .hero-stat-label {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
  }

  /* ===== SEARCH ===== */
  .search-wrapper {
    background: var(--terracotta);
    padding: 72px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .search-wrapper::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; background: rgba(255,255,255,0.06); border-radius: 50%; pointer-events: none; }
  .search-wrapper::after  { content: ''; position: absolute; bottom: -40px; left: -40px; width: 180px; height: 180px; background: rgba(255,255,255,0.04); border-radius: 50%; pointer-events: none; }
  .search-headline { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 3.5vw, 44px); font-weight: 500; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
  .search-sub { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 36px; font-weight: 300; position: relative; z-index: 1; }

  /* New search card container */
  .search-card {
    background: white;
    border-radius: 24px;
    padding: 10px;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 20px 60px rgba(42,23,8,0.25);
    position: relative;
    z-index: 1;
  }

  .search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    background: var(--cream);
    border-radius: 16px;
    padding: 12px 16px;
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 0;
  }
  .search-field:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(196,98,45,0.25);
  }
  .search-field-icon { flex-shrink: 0; color: var(--terracotta); }
  .search-field input, .search-field select {
    border: none;
    outline: none;
    font-family: 'Inter', 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    width: 100%;
    font-weight: 400;
  }
  .search-field input::placeholder { color: var(--text-light); }
  .search-field select { cursor: pointer; color: var(--text-mid); }
  .search-field select option { color: var(--text-dark); }

  .search-divider-v {
    width: 1px;
    height: 36px;
    background: var(--cream-dark);
    flex-shrink: 0;
  }

  .search-btn-new {
    background: linear-gradient(270deg, #C4622D, #D4782A, #E09A2A, #D4782A, #C4622D);
    background-size: 300% 100%;
    animation: gradientMove 4s ease infinite;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 14px 28px;
    font-family: 'Inter', 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
    white-space: nowrap;
  }
  .search-btn-new:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(196,98,45,0.4);
  }

  @media (max-width: 768px) {
    .search-card {
      flex-direction: column;
      align-items: stretch;
      border-radius: 20px;
      gap: 6px;
    }
    .search-divider-v { display: none; }
    .search-btn-new { justify-content: center; border-radius: 14px; padding: 14px; }
    .search-wrapper { padding: 48px 20px; }
  }

  /* ===== HOW IT WORKS ===== */
  .how-bg {
    background: #3D2314;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .how-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(201,150,60,0.1)'/%3E%3C/svg%3E");
    background-size: 60px 60px;
  }
  .how-bg .section-title { color: #FAF6F0; }
  .how-bg .section-label { color: #C9963C; }
  .how-bg .section-sub { color: rgba(250,246,240,0.75); }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 72px;
    position: relative;
    z-index: 1;
  }
  .step-card {
    background: rgba(255,255,255,0.05);
    padding: 48px;
    border: 1px solid rgba(201,150,60,0.3);
    transition: background 0.3s;
    position: relative;
  }
  .step-card:hover { background: rgba(201,150,60,0.08); }

  /* Gold shimmer for step numbers */
  .step-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(105deg, #8B6914 0%, #C9963C 25%, #F0D060 45%, #FFE97A 50%, #F0D060 55%, #C9963C 75%, #8B6914 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 3s linear infinite;
    display: inline-block;
  }
  .step-icon { font-size: 32px; margin-bottom: 16px; display: block; }
  .step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 12px;
  }
  .step-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    font-weight: 300;
  }

  /* ===== SIGNUP ===== */
  .signup-section {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
  }
  .signup-section::before { content: ''; position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; background: rgba(255,255,255,0.06); border-radius: 50%; }
  .signup-section::after  { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: rgba(255,255,255,0.04); border-radius: 50%; }
  .signup-section .section-label { color: rgba(255,255,255,0.6); }
  .signup-section .section-title { color: var(--white); }
  .signup-section .section-sub { color: rgba(255,255,255,0.75); }

  .signup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 60px auto 0; position: relative; z-index: 1; }
  .signup-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 36px; text-align: left; transition: background 0.3s; }
  .signup-card:hover { background: rgba(255,255,255,0.15); }
  .signup-card-icon { margin-bottom: 16px; }
  .signup-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
  .signup-card-desc { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 24px; font-weight: 300; }

  /* ===== SOCIAL MEDIA ===== */
  .social-section {
    background: var(--brown);
    padding: 60px 60px;
    text-align: center;
  }
  .social-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 8px;
  }
  .social-sub { font-size: 14px; color: rgba(250,246,240,0.55); margin-bottom: 28px; font-weight: 300; }
  .social-links { display: flex; justify-content: center; gap: 12px; }
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(250,246,240,0.8);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
  }
  .social-link:hover { background: rgba(196,98,45,0.3); border-color: rgba(196,98,45,0.5); color: #fff; transform: translateY(-2px); }
  .social-link svg { width: 20px; height: 20px; }

  /* ===== FOOTER ===== */
  footer { background: var(--brown); color: var(--cream); padding: 72px 60px 40px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
  /* Footer logo - soeur en crème, eat en shimmer doré */
  .footer-brand .nav-logo { display: block; margin-bottom: 16px; }
  .footer-brand .nav-logo .soeur-text { color: var(--cream); }
  .footer-brand p { font-size: 14px; color: rgba(250,246,240,0.5); line-height: 1.7; max-width: 280px; font-weight: 300; }
  .footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(250,246,240,0.4); margin-bottom: 20px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-col a { color: rgba(250,246,240,0.65); text-decoration: none; font-size: 14px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--terracotta-light); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
  .footer-bottom p { font-size: 13px; color: rgba(250,246,240,0.3); }
  .footer-legal { display: flex; gap: 24px; }
  .footer-legal a { font-size: 13px; color: rgba(250,246,240,0.3); text-decoration: none; transition: color 0.2s; }
  .footer-legal a:hover { color: rgba(250,246,240,0.6); }

  /* ===== CHEF DASHBOARD & MESSAGING ===== */
  .photo-slot {
    aspect-ratio: 1;
    background: var(--cream);
    border: 2px dashed var(--sand);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-light);
    transition: border-color 0.2s, background 0.2s;
  }
  .photo-slot:hover { border-color: var(--terracotta); background: rgba(196,98,45,0.04); }
  .photo-slot-empty { cursor: default; opacity: 0.4; }
  .photo-slot img { width:100%; height:100%; object-fit:cover; border-radius:10px; }

