/* ============================================================
   MySide — Feuille de style GLOBALE (toutes les pages)
   ============================================================ */

/* ============ Variables ============ */
    :root {
      --bordeaux: #B7353B;
      --bordeaux-dark: #94282F;
      --rose: var(--bordeaux);
      --cream: #FAF7F3;
      --blush: #EFE9E3;
      --sage: #6F8A72;
      --ink: #2C2422;
      --logo-black: #1F1A19;
      --muted: var(--logo-black);
      --rose-light: #D8D2CE;
      --cocoa: #3A2928;
      --line: rgba(80, 55, 49, 0.13);
      --shadow: rgba(74, 43, 36, 0.16);
      --serif: 'Poppins', system-ui, sans-serif;
      --sans: 'Poppins', system-ui, -apple-system, sans-serif;
      --container: 1200px;
      --radius: 18px;
    }

    /* ============ Base ============ */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      font-family: var(--sans);
      color: var(--ink);
      background: var(--cream);
      line-height: 1.6;
      overflow-x: hidden;
    }
    main { overflow-x: hidden; }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; }
    ::selection { background: var(--bordeaux); color: var(--cream); }
    h1, h2, h3, .serif { font-family: var(--serif); letter-spacing: -0.5px; }
    .container { max-width: var(--container); margin: 0 auto; padding-inline: 40px; }

    /* ============ Accessibilité ============ */
    .skip-link {
      position: absolute;
      left: 12px;
      top: -60px;
      z-index: 100;
      background: var(--bordeaux);
      color: var(--cream);
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: 600;
      text-decoration: none;
      transition: top 0.2s ease;
    }
    .skip-link:focus { top: 12px; }
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    summary:focus-visible {
      outline: 3px solid var(--bordeaux);
      outline-offset: 2px;
    }

    /* ============ Boutons ============ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bordeaux);
      color: var(--cream);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.4px;
      padding: 15px 32px;
      border: none;
      border-radius: 40px;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.25s ease;
    }
    .btn:hover { background: var(--bordeaux-dark); }
    .btn--sm { padding: 11px 24px; font-size: 14px; }
    .btn--link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: none;
      color: var(--bordeaux);
      padding: 0;
      font-weight: 600;
      text-decoration: none;
    }
    .btn--link:hover { text-decoration: underline; }

    /* ============ Eyebrow ============ */
    .eyebrow {
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--bordeaux);
    }

    /* ============ Header ============ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(250, 247, 243, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }
    .site-header nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-block: 12px;
    }
    .brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
    .brand__avatar { width: 62px; height: 62px; display: block; flex-shrink: 0; }
    .brand__text { display: inline-flex; flex-direction: column; align-items: flex-start; }
    .brand__name {
      font-family: 'Poppins', var(--sans);
      font-weight: 300;
      font-size: 32px;
      line-height: 1;
      letter-spacing: 0.2px;
      color: var(--ink);
      white-space: nowrap;
    }
    .brand__r { color: var(--bordeaux); }
    .brand__baseline {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      margin-top: 4px;
      font-family: var(--sans);
      font-size: 8px;
      font-weight: 600;
      letter-spacing: 1.35px;
      text-transform: uppercase;
      color: var(--ink);
      white-space: nowrap;
    }
    .brand__baseline::before,
    .brand__baseline::after {
      content: "";
      width: 12px;
      height: 1px;
      background: var(--bordeaux);
    }
    .nav-links { display: flex; align-items: center; gap: 38px; list-style: none; }
    .nav-links a:not(.btn) {
      text-decoration: none;
      color: var(--ink);
      font-size: 15px;
      font-weight: 500;
      letter-spacing: 0.2px;
    }
    .nav-links a:not(.btn):hover { color: var(--bordeaux); }

    /* Conteneur nav positionné (ancre du déroulant et du menu mobile) */
    .site-header nav { position: relative; }

    /* Menu déroulant « Services » */
    .has-dropdown { position: relative; }
    .nav-caret { display: none; }
    .has-dropdown:hover .nav-caret, .has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
    .dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      margin-top: 8px;
      min-width: 300px;
      list-style: none;
      background: var(--cream);
      border: 1px solid var(--line);
      border-radius: 14px;
      box-shadow: 0 18px 40px var(--shadow);
      padding: 8px;
      display: flex;
      flex-direction: column;
      gap: 2px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      z-index: 60;
    }
    .nav-links .dropdown a { display: block; padding: 11px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
    .nav-links .dropdown a:hover { background: var(--blush); color: var(--bordeaux); }

    /* Burger (mobile) — masqué en desktop */
    .nav-toggle { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
    .nav-burger { display: none; }

    /* ============ Footer ============ */
    .site-footer { background: #1F1A19; color: #D8D2CE; }
    .site-footer__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
      padding-block: 44px 24px;
    }
    .site-footer .brand__name { color: var(--cream); }
    .site-footer .brand__baseline { color: var(--rose-light); }
    .footer-social { display: flex; align-items: center; gap: 12px; list-style: none; }
    .footer-social a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(250, 247, 243, 0.08);
      color: var(--cream);
      transition: background 0.25s ease, transform 0.25s ease;
    }
    .footer-social a:hover { background: var(--bordeaux); transform: translateY(-2px); }
    .site-footer__bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 8px 24px;
      border-top: 1px solid rgba(250, 247, 243, 0.12);
      padding-block: 18px 40px;
    }
    .site-footer__bottom small { font-size: 14px; color: #B8B1AD; }
    .site-footer__credit a { color: var(--cream); font-weight: 600; text-decoration: none; }
    .site-footer__credit a:hover { text-decoration: underline; }

    
    /* ============ Mise en page média + texte (À propos / définition) ============ */
    .about__grid {
      display: grid;
      grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.25fr);
      gap: 56px;
      align-items: center;
    }
    .about__media { position: relative; display: flex; justify-content: center; }
    .about__media::before {
      content: "";
      position: absolute;
      z-index: 0;
      top: 50%;
      left: 34%;
      transform: translate(-50%, -50%);
      width: 58%;
      aspect-ratio: 1;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(239, 233, 227, 0.38), rgba(31, 26, 25, 0.04) 52%, transparent 76%);
      filter: blur(16px);
    }
    .about__media img {
      position: relative;
      z-index: 1;
      width: 97.2%;
      max-width: 375px;
      filter: drop-shadow(0 18px 28px var(--shadow));
    }
    .about__title { font-size: clamp(31px, 3.6vw, 43px); font-weight: 600; line-height: 1.1; margin: 14px 0 18px; }
    .about__text { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 18px; }

    /* ============ Menu mobile (burger) ============ */
    @media (max-width: 1024px) {
      .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
      .nav-burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
      .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
      .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
      .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--bordeaux); outline-offset: 2px; border-radius: 6px; }
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #FFFFFF;
        border-top: 1px solid var(--line);
        box-shadow: 0 22px 40px var(--shadow);
        padding: 8px 24px 20px;
      }
      .nav-toggle:checked ~ .nav-links { display: flex; }
      .nav-links > li { width: 100%; }
      .nav-links > li > a:not(.btn) { display: block; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
      .nav-caret { display: none; }
      .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; margin: 0; padding: 0 0 0 14px; border: none; border-radius: 0; box-shadow: none; background: transparent; }
      .nav-links .dropdown a { padding: 12px 4px; font-size: 14.5px; color: var(--muted); border-bottom: 1px solid var(--line); white-space: normal; }
      .nav-cta { padding-top: 14px; }
      .nav-links .nav-cta > a.btn { display: flex; width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }
