
:root{
  --brown-950:#1d100b;
  --brown-900:#2f1b13;
  --brown-800:#472b1f;
  --brown-700:#5b3829;
  --brown-500:#8a5a44;
  --brown-300:#c9aa97;
  --gold:#c89b52;
  --cream:#fbf7f2;
  --beige:#f2e9e1;
  --white:#ffffff;
  --ink:#2a1b14;
  --muted:#716057;
  --line:#eaded5;
  --shadow:0 18px 50px rgba(52,30,20,.10);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:100%}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:"DM Sans",Arial,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{text-decoration:none;color:inherit;transition:color .2s ease}
a:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:4px}
img{display:block;max-width:100%;height:auto}

/* Skip link for accessibility */
.skip-link{
  position:absolute;
  top:-40px;
  left:0;
  background:var(--brown-900);
  color:#fff;
  padding:10px 20px;
  text-decoration:none;
  z-index:100;
  font-weight:700;
  border-radius:0 0 8px 0;
}
.skip-link:focus{
  top:0;
}
.container{width:min(1180px,92%);margin:auto}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(15px);
  -webkit-backdrop-filter:blur(15px);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 10px rgba(0,0,0,.02);
}
.nav-wrap{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:250px}
.brand img{
  width:58px;height:58px;object-fit:cover;border-radius:50%;
  border:2px solid var(--gold);
  transition:transform .2s ease;
}
.brand:hover img{
  transform:scale(1.05);
}
.brand strong{
  display:block;
  font-family:"Playfair Display",serif;
  font-size:18px;
  line-height:1.15;
}
.brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.nav{display:flex;gap:22px;font-size:14px;font-weight:700}
.nav a{
  position:relative;
  transition:color .2s ease;
}
.nav a:hover{color:var(--brown-500)}
.nav a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:4px;
  border-radius:4px;
}
.nav a::after{
  content:'';
  position:absolute;
  bottom:-8px;
  left:0;
  width:0;
  height:2px;
  background:var(--gold);
  transition:width .3s ease;
}
.nav a:hover::after{width:100%}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:999px;
  background:var(--brown-800);
  color:#fff;
  font-weight:800;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
  cursor:pointer;
  border:none;
  min-height:44px;
  min-width:44px;
}
.btn:hover{
  transform:translateY(-2px);
  background:var(--brown-950);
  box-shadow:0 6px 20px rgba(29,16,11,.2);
}
.btn:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
}
.btn:active{
  transform:translateY(0);
}
.btn-small{padding:10px 17px;font-size:13px}
.btn-ghost{
  background:transparent;
  border:1px solid var(--brown-800);
  color:var(--brown-800);
}
.btn-ghost:hover{
  background:var(--brown-800);
  color:#fff;
}
.btn-light{background:#fff;color:var(--brown-900)}
.btn-light:hover{background:var(--beige)}
.btn-outline-light{
  background:transparent;
  border:1px solid rgba(255,255,255,.65);
  color:#fff;
}
.btn-outline-light:hover{
  background:rgba(255,255,255,.15);
  border-color:#fff;
}

.hero{
  padding:82px 0 88px;
  background:
    radial-gradient(circle at 88% 18%, rgba(200,155,82,.15), transparent 28%),
    linear-gradient(135deg,#fff,var(--cream));
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}
.eyebrow{
  display:inline-block;
  margin-bottom:12px;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:900;
  color:var(--brown-500);
}
.eyebrow-light{color:#e0be8a}
.hero h1,.section h2,.chef-section h2,.contact h2{
  margin:0;
  font-family:"Playfair Display",serif;
  line-height:1.06;
}
.hero h1{font-size:clamp(46px,6vw,78px);max-width:760px}
.hero-copy p{max-width:680px;font-size:18px;color:var(--muted);margin:24px 0 28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.hero-points{display:flex;flex-wrap:wrap;gap:20px;margin-top:25px;color:var(--muted);font-size:14px}

.hero-collage{
  position:relative;
  min-height:540px;
}
.hero-main{
  position:absolute;
  right:0;
  top:0;
  width:82%;
  height:460px;
  object-fit:cover;
  border-radius:30px;
  box-shadow:var(--shadow);
  will-change:transform;
}
.hero-small{
  position:absolute;
  object-fit:cover;
  border:7px solid #fff;
  box-shadow:var(--shadow);
  will-change:transform;
}
.small-a{
  width:180px;height:180px;border-radius:26px;
  left:0;bottom:0;
}
.small-b{
  width:215px;height:150px;border-radius:24px;
  right:18px;bottom:-10px;
}
.hero-badge{
  position:absolute;
  left:42px;top:46px;
  background:var(--brown-900);
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}

.section{padding:90px 0}
.section-soft{background:var(--cream)}
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:42px;
  margin-bottom:38px;
}
.section-heading h2{font-size:clamp(34px,4.5vw,56px);max-width:730px}
.section-heading p{max-width:520px;color:var(--muted);margin:0}

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.creation-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 7px 28px rgba(63,37,26,.06);
  transition:transform .3s ease,box-shadow .3s ease;
  will-change:transform;
}
.creation-card:hover{
  transform:translateY(-8px);
  box-shadow:0 12px 40px rgba(63,37,26,.12);
}
.creation-card:focus-within{
  outline:2px solid var(--gold);
  outline-offset:2px;
}
.creation-card img{
  width:100%;
  height:290px;
  object-fit:cover;
  transition:transform .3s ease;
}
.creation-card:hover img{
  transform:scale(1.05);
}
.creation-body{padding:20px 20px 22px}
.tag{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:var(--beige);
  color:var(--brown-700);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.creation-body h3,.recipe-copy h3,.blog-card h3{
  font-family:"Playfair Display",serif;
  font-size:25px;
  margin:10px 0 7px;
}
.creation-body p,.recipe-copy p,.blog-card p{color:var(--muted);margin-bottom:0}

.chef-section{
  background:var(--brown-900);
  color:#fff;
  padding:90px 0;
}
.chef-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:66px;
  align-items:center;
}
.chef-photo-wrap{position:relative}
.chef-photo-wrap img{
  width:100%;
  max-height:620px;
  object-fit:cover;
  border-radius:30px;
}
.chef-caption{
  position:absolute;
  left:24px;right:24px;bottom:22px;
  padding:14px 18px;
  border-radius:16px;
  background:rgba(29,16,11,.78);
  backdrop-filter:blur(8px);
  font-weight:800;
}
.chef-section h2{font-size:clamp(38px,5vw,62px);margin-bottom:22px}
.chef-copy p{color:#eadfd8;font-size:17px}
.chef-note{
  margin-top:26px;
  padding-left:18px;
  border-left:3px solid var(--gold);
  font-family:"Playfair Display",serif;
  font-size:22px!important;
  color:#fff!important;
}

/* Galerie Chef Yolande */
.chef-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:32px;
  margin-top:64px;
  padding-top:64px;
  border-top:1px solid rgba(255,255,255,.15);
}
.chef-gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  transition:transform .3s ease,box-shadow .3s ease;
}
.chef-gallery-item:hover{
  transform:translateY(-8px);
  box-shadow:0 16px 50px rgba(0,0,0,.35);
}
.chef-gallery-item img{
  width:100%;
  height:auto;
  aspect-ratio:3/4;
  object-fit:cover;
  display:block;
  transition:transform .3s ease;
}
.chef-gallery-item:hover img{
  transform:scale(1.05);
}
.chef-gallery-caption{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:20px;
  background:linear-gradient(to top,rgba(29,16,11,.95),transparent);
  color:#fff;
  font-weight:700;
  text-align:center;
  font-size:15px;
  transform:translateY(100%);
  transition:transform .3s ease;
}
.chef-gallery-item:hover .chef-gallery-caption{
  transform:translateY(0);
}

.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.recipe-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease;
  box-shadow:0 4px 20px rgba(63,37,26,.04);
}
.recipe-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 35px rgba(63,37,26,.1);
}
.recipe-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:transform .3s ease;
}
.recipe-card:hover img{
  transform:scale(1.05);
}
.recipe-copy{padding:22px}
.recipe-copy a{
  font-weight:900;
  color:var(--brown-700);
  transition:color .2s ease,transform .2s ease;
  display:inline-block;
}
.recipe-copy a:hover{
  color:var(--gold);
  transform:translateX(4px);
}
.recipe-copy a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
  border-radius:4px;
}

.blog-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr;
  gap:22px;
}
.blog-card{
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  transition:transform .3s ease,box-shadow .3s ease;
  box-shadow:0 4px 20px rgba(63,37,26,.04);
}
.blog-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 35px rgba(63,37,26,.1);
}
.blog-card img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition:transform .3s ease;
}
.blog-card:hover img{
  transform:scale(1.05);
}
.blog-card.featured img{height:330px}
.blog-card>div{padding:22px}
.blog-date{color:var(--brown-500);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}

.contact{
  padding:86px 0;
  background:linear-gradient(135deg,var(--brown-900),var(--brown-800));
  color:#fff;
}
.contact-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:66px;
  align-items:start;
}
.contact h2{font-size:clamp(38px,5vw,62px);margin-bottom:20px}
.contact p{color:#eadfd8;font-size:17px}
.contact-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:24px;
  padding:26px;
}
.contact-row{
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.contact-row:last-of-type{
  border-bottom:none;
}
.contact-row span{display:block;color:#d9c9c0;font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.contact-row strong{display:block;margin-top:4px;font-size:17px}
.contact-row a{
  transition:color .2s ease;
}
.contact-row a:hover{
  color:var(--gold);
}
.contact-row a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
  border-radius:4px;
}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

footer{
  background:var(--brown-950);
  color:#fff;
  padding:44px 0 22px;
}
.footer-grid{display:flex;justify-content:space-between;align-items:center;gap:30px}
.footer-brand{display:flex;align-items:center;gap:14px}
.footer-brand img{width:70px;height:70px;object-fit:cover;border-radius:50%;border:2px solid var(--gold)}
.footer-brand strong{font-family:"Playfair Display",serif;font-size:21px}
.footer-brand p{margin:3px 0 0;color:#cdbeb5}
.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}
.footer-links a{
  transition:color .2s ease,transform .2s ease;
  display:inline-block;
}
.footer-links a:hover{
  color:var(--gold);
  transform:translateX(2px);
}
.footer-links a:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
  border-radius:4px;
}
.copyright{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#baa9a0;
  font-size:13px;
}

@media (max-width:1000px){
  .nav{display:none}
  .hero-grid,.chef-grid,.contact-grid{grid-template-columns:1fr}
  .hero-collage{min-height:500px}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .recipe-grid{grid-template-columns:1fr 1fr}
  .blog-grid{grid-template-columns:1fr 1fr}
  .blog-card.featured{grid-column:1/-1}

  /* Améliore la performance des animations sur mobile */
  .creation-card:hover,.recipe-card:hover,.blog-card:hover{
    transform:translateY(-4px);
  }

  /* Galerie chef sur tablette */
  .chef-gallery{
    grid-template-columns:1fr;
    gap:28px;
    margin-top:48px;
    padding-top:48px;
  }
}

@media (max-width:650px){
  .topbar .btn-small{display:none}
  .brand-copy strong{font-size:16px}
  .hero{padding-top:54px}
  .hero-collage{min-height:430px}
  .hero-main{width:88%;height:355px}
  .small-a{width:135px;height:135px}
  .small-b{width:160px;height:110px}
  .hero-badge{left:18px;top:28px}
  .section-heading{align-items:flex-start;flex-direction:column}
  .gallery,.recipe-grid,.blog-grid{grid-template-columns:1fr}
  .blog-card.featured{grid-column:auto}
  .creation-card img{height:260px}
  .contact-actions,.hero-actions{flex-direction:column}
  .footer-grid{align-items:flex-start;flex-direction:column}

  /* Réduction des animations sur petits écrans pour performance */
  .creation-card:hover img,.recipe-card:hover img,.blog-card:hover img{
    transform:scale(1.02);
  }

  /* Galerie chef sur mobile */
  .chef-gallery{
    gap:22px;
    margin-top:36px;
    padding-top:36px;
  }
  .chef-gallery-caption{
    font-size:14px;
    padding:16px;
  }
}

/* Support du mode réduit de mouvement (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}

/* Mode sombre (optionnel - à activer si nécessaire) */
@media (prefers-color-scheme: dark) {
  /* Les styles ci-dessous sont commentés - décommentez pour activer le mode sombre
  :root{
    --brown-950:#f2e9e1;
    --brown-900:#fbf7f2;
    --ink:#f2e9e1;
    --muted:#c9aa97;
    --line:#5b3829;
  }
  body{
    background:#1d100b;
    color:#f2e9e1;
  }
  */
}
