/* =========================
   VARIABLES
========================= */
:root {
  --bg: #ffffff;
  --bg-alt: #faf7f2;
  --text: #222222;
  --muted: #666666;
  --accent: #c39b4e;
  --accent-soft: rgba(195,155,78,0.12);
  --border: #e4ddd2;

  --shadow-soft: 0 10px 24px rgba(0,0,0,0.05);

  --radius-card: 20px;
  --radius-btn: 999px;

  --container-width: 1100px;
  --header-height: 70px;

  --font-sans: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-mark {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* NAV */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: .2s;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  width: 100%;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: .2s;
}

.burger.is-open span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2){
  opacity: 0;
}
.burger.is-open span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background: url("images/hero-mychef.jpg") center/cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.78),
    rgba(0,0,0,.45),
    rgba(0,0,0,.25)
  );
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 80px 20px;
}

/* Badge signature */
.hero-eyebrow {
  display: inline-block;
  padding: 10px 20px;
  border: 1.5px solid rgba(195,155,78,0.8);
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(5px);
  margin-bottom: 22px;
  font-weight: 600;
}

/* Titre */
.hero h1 {
  font-size: clamp(40px,6vw,64px);
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 16ch;
  letter-spacing: -.015em;
}

/* Texte */
.hero-text {
  font-size: 17px;
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 22px;
  opacity: .95;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .15s;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.btn.ghost:hover {
  background: rgba(255,255,255,.08);
}

.btn.link-instagram {
  margin-top: 18px;
  border-color: var(--accent);
  color: var(--accent);
}

.btn.link-instagram:hover {
  background: var(--accent-soft);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.section h3 {
  font-size: 18px;
  margin-top: 18px;
}

.section p {
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 62ch;
}

/* GRIDS */
.section-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr;
  gap: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr;
  gap: 40px;
}

/* =========================
   CARDS
========================= */
.card,
.contact-form,
.video-link {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 22px;
  border: 1px solid rgba(228,221,210,.85);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 12px;
}

/* Fix card "Ce qui est inclus" */
#chef-domicile .card {
  max-width: 420px;
  justify-self: start;
}

/* =========================
   LISTS
========================= */
.bullet-list,
.check-list {
  list-style: none;
}

.bullet-list li {
  padding-left: 18px;
  position: relative;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

.check-list li {
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* =========================
   HIGHLIGHT
========================= */
.highlight-line {
  background: var(--accent-soft);
  border: 1px solid rgba(195,155,78,.36);
  padding: 10px 14px;
  border-radius: 12px;
  margin: 16px 0;
}

/* =========================
   FORM
========================= */
.contact-form label {
  font-size: 13px;
  display: block;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #d7d1c7;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 100px;
}

.contact-form button {
  margin-top: 14px;
  width: 100%;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  border-top: 1px solid rgba(0,0,0,.04);
  padding: 20px 0 26px;
  background: #fff;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   CAROUSELS
========================= */
.carousel,
.carousel-ateliers {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.carousel-track,
.carousel-ateliers-track {
  display: flex;
  transition: .4s;
}

.carousel img,
.carousel-ateliers img {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* =========================
   FLOATING
========================= */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

.fab-whatsapp { background:#25D366; }
.fab-instagram { background:#C13584; }

/* =========================
   VIDEOS
========================= */
.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  max-width: 780px;
}

.video-link {
  border-radius: 999px;
  padding: 10px 16px;
}

.video-link:hover {
  background: var(--accent-soft);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:820px){

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-120%);
    transition: .2s;
    box-shadow: 0 18px 40px rgba(0,0,0,.1);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .burger {
    display: flex;
  }

  .section-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.7),
      rgba(0,0,0,.5),
      rgba(0,0,0,.4)
    );
  }
}

@media(max-width:480px){

  .hero h1 { font-size: 34px; }

  .hero-eyebrow {
    font-size: 14px;
    padding: 8px 16px;
    letter-spacing: .22em;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .carousel,
  .carousel-ateliers {
    aspect-ratio: 1/1;
  }

  .chef-photo img {
    width: 180px;
    height: 180px;
  }

  .section {
    padding: 56px 0;
  }
}

/* RTL */
html[dir="rtl"] .carousel,
html[dir="rtl"] .carousel-ateliers {
  direction: ltr;
}
/* =========================
   AJUSTEMENTS FINAUX
========================= */

/* PHOTO CHEF – plus élégante */
.chef-photo img{
  width: 160px;
  height: 160px;
  border-width: 3px;
}


/* CARD "CE QUI EST INCLUS" – compacte */
#chef-domicile .card{
  max-width: 300px;      /* moitié environ */
  padding: 20px 18px;
  justify-self: center; /* centre dans la colonne */
}


/* Texte dans la card plus serré */
#chef-domicile .card ul{
  margin-top: 6px;
}

#chef-domicile .card li{
  font-size: 14px;
  line-height: 1.5;
}
/* =========================
   AJUSTEMENTS FINAUX
========================= */

/* PHOTO CHEF – plus élégante */
.chef-photo img{
  width: 160px;
  height: 160px;
  border-width: 3px;
}


/* CARD "CE QUI EST INCLUS" – compacte */
#chef-domicile .card{
  max-width: 300px;      /* moitié environ */
  padding: 20px 18px;
  justify-self: center; /* centre dans la colonne */
}


/* Texte dans la card plus serré */
#chef-domicile .card ul{
  margin-top: 6px;
}

#chef-domicile .card li{
  font-size: 14px;
  line-height: 1.5;
}
/* =========================
   AJUSTEMENTS FINAUX
========================= */

/* PHOTO CHEF – plus élégante */
.chef-photo img{
  width: 160px;
  height: 160px;
  border-width: 3px;
}


/* CARD "CE QUI EST INCLUS" – compacte */
#chef-domicile .card{
  max-width: 300px;      /* moitié environ */
  padding: 20px 18px;
  justify-self: center; /* centre dans la colonne */
}


/* Texte dans la card plus serré */
#chef-domicile .card ul{
  margin-top: 6px;
}

#chef-domicile .card li{
  font-size: 14px;
  line-height: 1.5;
}
@media(max-width:480px){

  .chef-photo img{
    width: 140px;
    height: 140px;
  }

  #chef-domicile .card{
    max-width: 100%;
  }
}
/* =========================
   FIX: hauteur des cards dans la grille
   (stoppe l'effet "pavé vide")
========================= */

.section-grid,
.contact-grid{
  align-items: start;           /* au lieu de stretch */
}

#chef-domicile .card{
  align-self: start;            /* sécurité */
}

/* =========================
   PHOTO CHEF: taille équilibrée
========================= */

.chef-photo img{
  width: 200px;
  height: 200px;
  border-width: 4px;
}

@media (max-width: 480px){
  .chef-photo img{
    width: 170px;
    height: 170px;
  }
}
/* =========================
   PHOTO CHEF – PROPORTIONS NATURELLES
========================= */

.chef-photo img{
  width: 360px;
  height: auto;          /* IMPORTANT */
  aspect-ratio: 1 / 1;   /* garde un carré visuel */
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Tablette */
@media (max-width: 820px){
  .chef-photo img{
    width: 260px;
  }
}

/* Mobile */
@media (max-width: 480px){
  .chef-photo img{
    width: 200px;
  }
}
/* =========================
   BLOC "EXEMPLE DE MENU" – VERSION ÉLÉGANTE
========================= */

#chef-domicile h3{
  display: inline-block;
  margin-top: 32px;
  margin-bottom: 14px;
  padding: 6px 2px 6px 14px;

  border-left: 4px solid var(--accent);
  border-bottom: 1px solid rgba(195,155,78,0.4);

  background: transparent;

  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
@media(max-width:480px){

  #chef-domicile h3{
    font-size: 16px;
  }
}
