/*
 * style.css — CSS vitrine Da Zietto, extrait de la maquette v3.3 (CC-2 §3.5).
 *
 * Transformations vs maquette source (décision Q-B) :
 *   #F5B544            -> var(--accent-gold)   (étoiles avis)
 *   Cormorant Garamond -> var(--font-heading)
 *   Dancing Script     -> var(--font-accent)
 *   Inter              -> var(--font-body)
 *
 * Conservés (tokens non-marque) : rgba(248,244,237,a) nacre translucide,
 * rgba(49,27,9,a) ombre chaude, white (fonds cartes neutres).
 *
 * Les --xxx sont injectées par layout.html.twig (:root) depuis config.php.
 */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: var(--font-heading);
    background: var(--secondary-nacre);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
  }

  /* === HEADER === */
  header.topbar {
    background: var(--text-primary);
    color: var(--secondary-nacre);
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 14px;
  }
  header.topbar .brand {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600;
  }
  /* Mascotte dans le header : sans fond blanc, juste l'image */
  header.topbar .brand-mascotte {
    width: 56px; height: 56px;
    object-fit: contain;
  }
  /* Wordmark "DA ZIETTO" dans le header : version inversée (claire sur fond marron) */
  header.topbar .brand-wordmark-header {
    height: 28px; width: auto;
    /* Le wordmark est noir → on inverse en blanc/nacre via filter */
    filter: brightness(0) invert(1) sepia(0.1) brightness(0.97);
    opacity: 0.95;
  }
  header.topbar .actions { display: flex; gap: 12px; align-items: center; }
  header.topbar .btn-cta {
    padding: 10px 22px; border-radius: 6px;
    background: var(--accent-brown); border: 1px solid var(--accent-brown);
    color: var(--secondary-nacre); font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none; font-family: inherit;
    transition: background 0.15s;
  }
  header.topbar .btn-cta:hover { background: var(--accent-brown-dark); }

  /* === NAVBAR === */
  .navbar {
    background: var(--primary-rose-soft);
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
  }
  .navbar-tabs { display: flex; gap: 8px; }
  .navbar-tabs .tab {
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px; font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.15s;
  }
  .navbar-tabs .tab:hover { color: var(--text-primary); }
  .navbar-tabs .tab.tab-active {
    color: var(--accent-brown);
    border-bottom-color: var(--accent-brown);
    font-weight: 600;
  }
  .navbar-actions { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
  .action-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px;
    background: var(--secondary-nacre);
    border: 1px solid var(--border);
    text-decoration: none; color: var(--text-primary);
    font-size: 13px; font-weight: 500;
    transition: all 0.15s; font-family: inherit;
  }
  .action-btn:hover { background: white; transform: translateY(-1px); }
  .action-phone {
    width: 38px; height: 38px; padding: 0;
    justify-content: center; font-size: 16px;
  }
  /* === HERO === */
  .hero {
    text-align: center;
    padding: 80px 32px 60px;
    background: linear-gradient(180deg, var(--primary-rose-soft) 0%, var(--secondary-nacre) 100%);
  }
  .hero .brand-composite {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; margin-bottom: 32px;
  }
  .hero .chef-mascotte {
    width: 220px; height: 220px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .hero .chef-mascotte img { width: 100%; height: 100%; object-fit: contain; }
  .hero .brand-wordmark { max-width: 360px; height: auto; }
  .hero .brand-wordmark img { width: 100%; height: auto; display: block; }
  .hero h1 {
    font-family: var(--font-accent);
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 600; color: var(--text-primary);
    margin-bottom: 20px; letter-spacing: 0.5px;
  }
  .hero h1 .amp { color: var(--accent-brown); font-size: 1.1em; font-weight: 700; margin: 0 4px; }
  .hero .subtitle {
    max-width: 720px; margin: 0 auto 32px;
    font-size: 19px; color: var(--text-secondary); font-weight: 400;
  }
  .hero .subtitle strong { color: var(--text-primary); font-weight: 600; }
  .hero .cta-group {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-top: 16px;
  }
  .cta-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent-brown); color: var(--secondary-nacre);
    padding: 16px 36px; border-radius: 8px;
    font-family: var(--font-body); font-size: 16px; font-weight: 600;
    text-decoration: none; transition: all 0.15s;
    box-shadow: var(--shadow);
  }
  .cta-primary:hover {
    background: var(--accent-brown-dark);
    transform: translateY(-2px); box-shadow: var(--shadow-hover);
  }
  .cta-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--accent-brown);
    padding: 16px 36px; border-radius: 8px;
    font-family: var(--font-body); font-size: 16px; font-weight: 600;
    text-decoration: none; transition: all 0.15s;
    border: 2px solid var(--accent-brown);
  }
  .cta-secondary:hover { background: var(--primary-rose); transform: translateY(-2px); }
  /* Lien tertiaire : juste un lien texte stylé sans cadre, plus discret */
  .cta-tertiary {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-secondary);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 17px; font-style: italic;
    text-decoration: none;
    transition: color 0.15s;
  }
  .cta-tertiary:hover { color: var(--accent-brown); }

  /* === SECTIONS GÉNÉRIQUES === */
  section.content-block {
    max-width: 1100px; margin: 0 auto;
    padding: 70px 32px;
  }
  section.content-block.alt-bg { background: var(--primary-rose-soft); max-width: none; }
  section.content-block.alt-bg > .inner {
    max-width: 1100px; margin: 0 auto;
  }
  h2.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600; color: var(--text-primary);
    text-align: center; margin-bottom: 16px;
    letter-spacing: 0.5px;
  }
  h2.section-title .accent { color: var(--accent-brown); font-style: italic; }
  .section-subtitle {
    text-align: center; max-width: 680px; margin: 0 auto 48px;
    font-size: 18px; color: var(--text-secondary);
    font-family: var(--font-heading);
  }

  /* === SECTION HISTOIRE === */
  .histoire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
  }
  .histoire .text p {
    font-size: 17px; color: var(--text-secondary);
    margin-bottom: 16px; line-height: 1.75;
  }
  .histoire .text .quote {
    font-family: var(--font-accent);
    font-size: 26px; color: var(--accent-brown);
    margin: 24px 0 8px; line-height: 1.3;
  }
  .histoire .text .quote-fr {
    font-style: italic; color: var(--text-secondary);
    font-size: 16px; margin-bottom: 24px;
  }
  .histoire .visual {
    padding: 0;
    text-align: center;
  }
  .histoire .visual img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    /* Légère ombre portée chaude pour donner du relief à l'illustration */
    filter: drop-shadow(0 8px 24px rgba(49, 27, 9, 0.15));
    transition: transform 0.4s ease;
  }
  .histoire .visual img:hover {
    transform: scale(1.02) rotate(-1deg);
  }
  .histoire .visual .caption {
    margin-top: 24px;
    font-family: var(--font-accent);
    font-size: 32px;
    color: var(--accent-brown);
    line-height: 1.2;
  }
  .histoire .visual .caption-fr {
    margin-top: 4px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: italic;
    color: var(--text-secondary);
  }

  /* Inline CTA (lien décoratif à la fin du paragraphe Histoire) */
  .inline-cta {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 20px;
    padding: 12px 24px;
    background: transparent;
    color: var(--accent-brown);
    border: 2px solid var(--accent-brown);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .inline-cta:hover {
    background: var(--accent-brown);
    color: var(--secondary-nacre);
    transform: translateX(4px);
  }
  .inline-cta .arrow {
    transition: transform 0.2s;
  }
  .inline-cta:hover .arrow {
    transform: translateX(4px);
  }

  /* Wrapper centrage CTA après les 3 cartes savoir-faire */
  .savoir-faire-cta {
    text-align: center;
    margin-top: 40px;
  }

  /* === SECTION CHEF & SAVOIR-FAIRE === */
  .savoir-faire-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 32px;
  }
  .savoir-faire-card {
    background: white; padding: 32px 24px;
    border-radius: 14px; box-shadow: var(--shadow);
    text-align: center; transition: transform 0.2s, box-shadow 0.2s;
  }
  .savoir-faire-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-hover);
  }
  .savoir-faire-card .icon {
    font-size: 44px; margin-bottom: 16px; line-height: 1;
  }
  .savoir-faire-card h3 {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600;
    color: var(--text-primary); margin-bottom: 10px;
  }
  .savoir-faire-card p {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.55; font-family: var(--font-body);
  }

  /* === SECTION POURQUOI NOUS CHOISIR === */
  .qualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
  }
  .qualite-item {
    background: var(--primary-rose-soft);
    padding: 24px 24px 24px 56px;
    border-radius: 12px;
    font-size: 16px; color: var(--text-primary);
    font-family: var(--font-heading);
    position: relative;
    line-height: 1.45;
  }
  .qualite-item::before {
    content: '✓';
    position: absolute;
    left: 22px; top: 22px;
    width: 24px; height: 24px;
    background: var(--accent-brown);
    color: var(--secondary-nacre);
    border-radius: 50%;
    font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
  }

  /* === SECTION CHEF FRÉDÉRIC === */
  .chef-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px; align-items: center;
  }
  .chef-portrait {
    background: white; border-radius: 14px;
    padding: 40px; text-align: center;
    box-shadow: var(--shadow);
  }
  .chef-portrait .avatar {
    width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
  }
  .chef-portrait .avatar img { width: 100%; height: 100%; object-fit: contain; }
  .chef-portrait h3 {
    font-family: var(--font-accent);
    font-size: 32px; color: var(--accent-brown);
    margin-bottom: 4px;
  }
  .chef-portrait .role {
    font-family: var(--font-body);
    font-size: 13px; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1.5px;
  }
  .chef-bio p {
    font-size: 17px; color: var(--text-secondary);
    margin-bottom: 16px; line-height: 1.75;
  }
  .chef-bio p strong { color: var(--text-primary); }

  /* === SECTION AVIS === */
  .avis-header {
    display: flex; justify-content: center; align-items: center;
    gap: 28px; margin-bottom: 48px; flex-wrap: wrap;
  }
  .google-score {
    background: white; padding: 24px 32px;
    border-radius: 14px; box-shadow: var(--shadow);
    text-align: center;
  }
  .google-score .stars {
    color: var(--accent-gold); font-size: 24px; letter-spacing: 2px;
    margin-bottom: 6px;
  }
  .google-score .score-value {
    font-family: var(--font-heading);
    font-size: 36px; font-weight: 700;
    color: var(--text-primary); line-height: 1;
  }
  .google-score .score-value span {
    font-size: 18px; color: var(--text-secondary);
    font-weight: 400;
  }
  .google-score .score-source {
    font-family: var(--font-body);
    font-size: 13px; color: var(--text-secondary);
    margin-top: 8px;
  }

  .avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .avis-card {
    background: white; padding: 24px;
    border-radius: 14px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 12px;
  }
  .avis-card .author {
    display: flex; align-items: center; gap: 12px;
  }
  .avis-card .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary-rose);
    color: var(--accent-brown);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 20px; font-weight: 600;
  }
  .avis-card .author-name {
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 600;
    color: var(--text-primary);
  }
  .avis-card .author-meta {
    font-family: var(--font-body);
    font-size: 12px; color: var(--text-secondary);
  }
  .avis-card .stars {
    color: var(--accent-gold); font-size: 16px; letter-spacing: 1px;
  }
  .avis-card .text {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.55; flex-grow: 1;
    font-family: var(--font-body);
  }

  /* === BANNIÈRE CTA FINALE === */
  .final-cta {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-rose-deep) 100%);
    padding: 60px 32px;
    text-align: center;
  }
  .final-cta h2 {
    font-family: var(--font-accent);
    font-size: clamp(32px, 5vw, 48px);
    color: var(--accent-brown); margin-bottom: 16px;
  }
  .final-cta p {
    font-size: 18px; color: var(--text-primary);
    max-width: 600px; margin: 0 auto 28px;
  }

  /* === FOOTER === */
  .site-footer {
    background: var(--text-primary);
    color: var(--secondary-nacre);
    padding: 60px 32px 24px;
    font-family: var(--font-body);
  }
  .footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(248, 244, 237, 0.15);
  }
  .footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px; font-weight: 600;
    margin-bottom: 14px;
    color: var(--secondary-nacre);
  }
  .footer-col ul { list-style: none; padding: 0; }
  .footer-col li { margin-bottom: 8px; font-size: 14px; }
  .footer-col a {
    color: rgba(248, 244, 237, 0.8);
    text-decoration: none; transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--primary-rose); }
  .footer-brand img {
    width: 120px; height: 120px;
    object-fit: contain;
    margin-bottom: 14px;
  }
  .footer-tagline {
    font-family: var(--font-heading);
    font-size: 18px; font-style: italic;
    color: var(--primary-rose); margin-bottom: 14px;
  }
  .footer-address {
    font-size: 14px; line-height: 1.6;
    color: rgba(248, 244, 237, 0.8);
  }
  .footer-platforms {
    display: flex; flex-direction: column; gap: 10px;
  }
  .footer-platform-btn {
    display: flex; align-items: center; gap: 10px;
    background: var(--secondary-nacre); color: var(--text-primary);
    padding: 10px 16px; border-radius: 8px;
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: transform 0.15s;
  }
  .footer-platform-btn:hover { transform: translateX(4px); color: var(--text-primary); }
  .footer-platform-btn img {
    width: 28px; height: 28px;
    border-radius: 50%; object-fit: cover;
  }
  .footer-bottom {
    max-width: 1280px; margin: 0 auto;
    padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(248, 244, 237, 0.6);
    flex-wrap: wrap; gap: 12px;
  }
  .footer-legal a {
    color: rgba(248, 244, 237, 0.6);
    text-decoration: none; margin: 0 4px;
  }
  .footer-legal a:hover { color: var(--primary-rose); }

  /* === GOOGLE MAPS WRAPPER === */
  .map-wrapper {
    max-width: 1100px; margin: 32px auto 0;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .map-address {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px;
    flex-wrap: wrap; gap: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
  }
  .map-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-brown); color: var(--secondary-nacre);
    padding: 8px 16px; border-radius: 6px;
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: background 0.15s;
  }
  .map-cta:hover { background: var(--accent-brown-dark); }

  /* === RESPONSIVE === */
  @media (max-width: 900px) {
    .histoire { grid-template-columns: 1fr; }
    .chef-section { grid-template-columns: 1fr; }
    .savoir-faire-grid { grid-template-columns: 1fr; }
    .qualites-grid { grid-template-columns: 1fr; }
    .avis-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .navbar { flex-direction: column; gap: 12px; padding: 12px 16px; }
    .navbar-actions { flex-wrap: wrap; }
    .hero .brand-composite { flex-direction: column; gap: 16px; }
    .hero .chef-mascotte { width: 120px; height: 120px; }
    .hero .brand-wordmark { max-width: 260px; }
    .hero h1 { font-size: 32px; }
  }

  /* === CC-2 §3.4 : devise "Notre histoire" rendue en Markdown ===
     La prose notre-histoire.md produit un <blockquote> (2 paragraphes)
     là où la maquette avait <p class="quote"> / <p class="quote-fr">.
     Restylage pour matcher l'aspect original (adaptation documentée, C5). */
  .histoire .text blockquote {
    border: 0; margin: 0; padding: 0;
  }
  .histoire .text blockquote p:first-child {
    font-family: var(--font-accent);
    font-size: 26px; color: var(--accent-brown);
    margin: 24px 0 8px; line-height: 1.3;
  }
  .histoire .text blockquote p:last-child {
    font-style: italic; color: var(--text-secondary);
    font-size: 16px; margin-bottom: 24px;
  }
