/* ============================================================
   BOULE FRAISE — feuille de style principale
   Maquette 3a · septembre 2026
   ------------------------------------------------------------
   ORGANISATION DU FICHIER
   1. Variables de couleur      2. Réinitialisation
   3. Typographie               4. Boutons
   5. Sections (dans l'ordre de la page)
   6. Responsive (tablette puis mobile)
   ------------------------------------------------------------
   Pour changer une couleur partout : modifiez-la au point 1.
   ============================================================ */

/* ---------- 1. VARIABLES DE COULEUR ---------- */
:root {
  --rose:       #F8B8D0;  /* fond de marque         */
  --rose-clair: #FBD3E0;  /* teintes, survols       */
  --peche:      #F8D0A0;  /* accent secondaire      */
  --creme:      #FBE7C4;  /* sections respiration   */
  --cacao:      #C09068;  /* blocs de preuve        */
  --framboise:  #A85068;  /* boutons principaux     */
  --encre:      #3A2129;  /* texte et fonds sombres */
  --papier:     #FFFBF4;  /* fond général           */
  --beige:      #F7EFE3;  /* bandeau d'en-tête      */

  --texte-doux: #5C4A50;
  --texte-rose: #7A3B4E;
  --bord-sombre:#5C3F48;

  --titre:   'Bricolage Grotesque', Helvetica, Arial, sans-serif;
  --texte:   'Instrument Sans', Helvetica, Arial, sans-serif;
  --mono:    'JetBrains Mono', Consolas, monospace;

  --marge-cote: 6vw;      /* marge latérale des sections */
}

/* ---------- 2. RÉINITIALISATION ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.section { padding: 48px var(--marge-cote); }

/* Zone d'image en attente — à remplacer par vos photos.
   Dans Dreamweaver : sélectionnez le <div class="media">
   et remplacez-le par <img src="images/votre-photo.jpg" alt="…"> */
.media {
  border-radius: 3px;
  background: repeating-linear-gradient(135deg,
              var(--rose) 0 11px, var(--rose-clair) 11px 22px);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.media--peche { background: repeating-linear-gradient(135deg, var(--peche) 0 11px, #FBE0BC 11px 22px); }
.media--cacao { background: repeating-linear-gradient(135deg, var(--cacao) 0 11px, #D4AC8C 11px 22px); }
.media--creme { background: repeating-linear-gradient(135deg, var(--creme) 0 11px, #F5DDB4 11px 22px); }

/* Real images use the same .media sizing, cropped to fill their slot. */
img.media {
  width: 100%;
  object-fit: cover;
  padding: 0;
  display: block;
  background: none;
}
.logo img { display: block; }

.media__note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-rose);
  background: var(--papier);
  padding: 6px 9px;
  border-radius: 3px;
}

/* ---------- 3. TYPOGRAPHIE ---------- */
.etiquette {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--titre);
  letter-spacing: -.04em;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}

/* Le geste signature : deux graisses dans la même phrase */
.fin  { font-weight: 300; }
.gras { font-weight: 800; }

p { line-height: 1.6; text-wrap: pretty; }

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--texte);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 24px;
  border-radius: 4px;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--plein   { background: var(--framboise); color: #FFF6F8; }
.btn--plein:hover { background: #96465C; }
.btn--contour { border: 1.5px solid var(--encre); color: var(--encre); padding: 14px 22px; }
.btn--contour:hover { background: var(--encre); color: var(--rose); }
.btn--encre   { background: var(--encre); color: var(--rose); padding: 10px 18px; font-size: 14px; }

/* ---------- 5. SECTIONS ---------- */

/* 01 · bandeau de contact */
.bandeau {
  background: var(--encre);
  padding: 9px var(--marge-cote);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.bandeau__liens { display: flex; gap: 22px; }
.bandeau a, .bandeau span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
}
.bandeau__contact { color: #E8D3D9 !important; }

/* 02 · en-tête */
.entete {
  background: var(--beige);
  padding: 16px var(--marge-cote);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.03em;
  color: var(--encre);
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img { width: 260px; height: auto; display: block; }
.logo:hover { color: var(--encre); text-decoration: none; }
.nav { display: flex; gap: 24px; align-items: center; font-size: 14px; }

/* 03 · héros */
.heros { background: var(--rose); padding: 160px var(--marge-cote) 40px; position: relative; }
.heros .etiquette { color: var(--texte-rose); }
.heros h1 {
  font-size: clamp(40px, 6.2vw, 82px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: 20ch;
  margin: 20px 0 0;
}
.heros__bas {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.heros__bas p { font-size: 18px; line-height: 1.55; color: #4A2F37; margin: 0; max-width: 40ch; }
.heros__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 04 · bannière vidéo */
.banniere { background: var(--rose); padding: 0 var(--marge-cote) 44px; }
.banniere__cadre {
  height: 300px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}
.banniere img.media { height: 300px; }
/* Diagonal pink stripes show while the video loads — and if it fails to stream. */
.banniere video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, var(--rose) 0 11px, var(--rose-clair) 11px 22px);
}

/* 05 · manifeste */
.manifeste {
  background: var(--creme);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.manifeste h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; }
.manifeste .gras { color: var(--framboise); }
.manifeste p { font-size: 16px; color: var(--texte-doux); margin: 0; max-width: 40ch; }

/* 06-07 · portfolio */
.portfolio { background: var(--papier); padding-bottom: 20px; }
.portfolio + .portfolio { padding-top: 28px; }
.portfolio__tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 2px solid var(--encre);
  padding-bottom: 14px;
}
.portfolio__tete h2 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.03em; }
.portfolio__tete .fin { color: var(--framboise); }
.portfolio__compteur {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A6C73;
  white-space: nowrap;
}

.grille-a {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.grille-a .media { height: 260px; }
.grille-a__pile img.media { height: 124px; }
.grille-a__pile { display: flex; flex-direction: column; gap: 12px; }
.grille-a__pile .media { flex: 1; height: auto; }

.grille-b {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.grille-b .media { aspect-ratio: 1 / 1; height: auto; }

/* 5-column square grid — chocolates & pralines */
.grille-c {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.grille-c .media { aspect-ratio: 1 / 1; height: auto; }

/* 08 · pastilles */
.pastilles {
  background: var(--papier);
  padding: 22px var(--marge-cote) 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pastilles__liste { display: flex; gap: 10px; flex-wrap: wrap; }
.pastille {
  font-size: 13.5px;
  background: var(--creme);
  border-radius: 99px;
  padding: 8px 14px;
}
.pastille:hover { background: var(--peche); text-decoration: none; }
.lien-fort {
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 3px;
}
.lien-fort:hover { text-decoration: none; border-bottom-color: var(--framboise); }

/* 09 · logos clients */
/* 09 · quote */
.citation {
  background: var(--encre);
  padding: 72px var(--marge-cote);
  display: flex;
  justify-content: center;
}
.citation blockquote {
  margin: 0;
  font-family: var(--titre);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.04em;
  max-width: 24ch;
  text-align: center;
  text-wrap: balance;
}
.citation .fin  { color: var(--rose); }
.citation .gras { color: var(--peche); }

/* 09 · client logos (unused — kept in case you reinstate the logo wall) */
.clients { background: var(--encre); }
.clients .etiquette { color: var(--rose); }
.clients__grille {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.client {
  height: 54px;
  border: 1px solid var(--bord-sombre);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: #8A6C73;
}

/* 10 · services */
.services { background: var(--papier); }
.services h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; margin-bottom: 22px; }
.services__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service { border-radius: 4px; overflow: hidden; background: var(--creme); }
.service img.media { height: 130px; border-radius: 0; }
.service .media { height: 130px; border-radius: 0; padding: 10px; }
.service__corps { padding: 18px 16px 20px; }
.service h3 { font-size: 22px; letter-spacing: -.02em; }
.service__attributs {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--framboise);
  margin: 6px 0 10px;
}
.service p { font-size: 13.5px; color: var(--texte-doux); margin: 0; }

/* 11 · studio */
.studio {
  background: var(--framboise);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.mots { font-family: var(--titre); font-size: clamp(40px, 5.2vw, 68px); line-height: .96; letter-spacing: -.045em; }
.mots div:nth-child(1) { font-weight: 300; color: var(--rose-clair); }
.mots div:nth-child(2) { font-weight: 800; color: #FFF6F8; }
.mots div:nth-child(3) { font-weight: 300; color: var(--rose-clair); }
.mots div:nth-child(4) { font-weight: 800; color: var(--peche); }

.studio .etiquette { color: #F6DDE3; }
.studio p { font-size: 17px; color: #FFF6F8; margin: 12px 0 20px; }
.equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.equipe .media {
  height: 120px;
  background: repeating-linear-gradient(135deg, #C2798F 0 10px, #B86680 10px 20px);
}
.equipe__nom { font-size: 14px; font-weight: 600; color: #FFF6F8; margin-top: 8px; }
.equipe__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F6DDE3;
}

/* 12 · showreel */
.showreel {
  background: var(--creme);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: center;
}
.showreel h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -.035em; }
.showreel__texte { font-size: 16px; color: var(--texte-doux); margin: 14px 0 0; max-width: 46ch; }
.showreel__actions { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.showreel .btn--encre { background: var(--encre); color: var(--creme); font-size: 14.5px; padding: 13px 20px; }
.showreel__son {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A6A46;
}
.showreel .media { height: 190px; align-items: center; justify-content: center; border-radius: 4px; }

/* Animated phase sequence (replaces a GIF — four frames crossfading) */
.phases {
  position: relative;
  height: 240px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--encre);
}
.phase {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: phase-cycle 14s linear infinite;
}
.phase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phase:nth-child(1) { animation-delay: 0s; }
.phase:nth-child(2) { animation-delay: -10.5s; }
.phase:nth-child(3) { animation-delay: -7s; }
.phase:nth-child(4) { animation-delay: -3.5s; }

.phase figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--encre);
  background: var(--papier);
  padding: 7px 11px;
  border-radius: 3px;
}
.phase figcaption span { color: var(--framboise); }

@keyframes phase-cycle {
  0%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}

/* Visitors who ask for less motion see only the first frame. */
@media (prefers-reduced-motion: reduce) {
  .phase { animation: none; }
  .phase:nth-child(1) { opacity: 1; }
}

/* 13 · contact */
.contact { background: var(--papier); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.02; }
.contact p { font-size: 16px; color: var(--texte-doux); margin: 14px 0 22px; max-width: 42ch; }
.contact .media { height: 200px; border-radius: 4px; }
.contact img.media { height: 260px; }
.contact video.media { height: 260px; width: 100%; object-fit: cover; }

.formulaire { background: var(--creme); border-radius: 4px; padding: 26px; }
.formulaire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formulaire input,
.formulaire select,
.formulaire textarea {
  width: 100%;
  font-family: var(--texte);
  font-size: 14px;
  color: var(--encre);
  background: var(--papier);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 13px 12px;
  margin-top: 12px;
}
.formulaire__duo input { margin-top: 0; }
.formulaire input::placeholder,
.formulaire textarea::placeholder { color: #8A6A46; }
.formulaire input:focus,
.formulaire select:focus,
.formulaire textarea:focus { outline: none; border-color: var(--cacao); }
.formulaire textarea { min-height: 96px; resize: vertical; }

.rgpd { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12px; line-height: 1.5; color: #7A6248; }
.rgpd input { width: 15px; height: 15px; margin: 2px 0 0; flex-shrink: 0; }

.formulaire button {
  width: 100%;
  background: var(--framboise);
  color: #FFF6F8;
  font-family: var(--texte);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  padding: 15px;
  margin-top: 16px;
  cursor: pointer;
}
.formulaire button:hover { background: #96465C; }
.formulaire__merci { text-align: center; padding: 48px 26px; }
.formulaire__merci h3 { font-family: var(--titre); font-size: 24px; color: var(--framboise); margin: 0 0 8px; }
.formulaire__merci p { color: var(--texte-doux); margin: 0; }

/* 14 · pied de page */
.pied { background: var(--encre); padding: 44px var(--marge-cote) 32px; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.pied__marque { font-family: var(--titre); font-weight: 800; font-size: 24px; color: var(--rose); letter-spacing: -.03em; }
.pied__logo { width: 150px; height: auto; }
.pied p { font-size: 13.5px; line-height: 1.7; color: #E8D3D9; margin: 12px 0 0; }
.pied__titre {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C2798F;
  margin-bottom: 6px;
}
.pied__col { font-size: 13.5px; line-height: 2; color: #E8D3D9; }
.pied__filet { height: 1px; background: var(--bord-sombre); margin: 28px 0 14px; }
.pied__bas {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #D6A8B2;
}

/* ---------- WORK PAGE (work.html) ---------- */
.travaux-tete {
  background: var(--rose);
  padding: 160px var(--marge-cote) 40px;
  position: relative;
}
.travaux-tete .etiquette { color: var(--texte-rose); }
.travaux-tete h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: .96;
  letter-spacing: -.045em;
  max-width: 22ch;
  margin: 20px 0 0;
}
.travaux-tete__bas {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.travaux-tete__bas p { font-size: 17px; line-height: 1.55; color: #4A2F37; margin: 0; max-width: 44ch; }

.travaux-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.travaux-nav a {
  font-size: 13.5px;
  background: var(--papier);
  border-radius: 99px;
  padding: 9px 15px;
}
.travaux-nav a:hover { background: var(--encre); color: var(--rose); text-decoration: none; }

/* Square tiles, five across */
.grille-w {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.grille-w .media { aspect-ratio: 1 / 1; height: auto; }
.grille-w div.media { display: flex; align-items: flex-end; padding: 12px; }

.travaux-fin {
  background: var(--creme);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.travaux-fin h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -.035em; }
.travaux-fin .fin { color: var(--texte-doux); }

/* ---------- 6. RESPONSIVE ---------- */

/* Tablette */
@media (max-width: 1024px) {
  .services__grille,
  .clients__grille { grid-template-columns: repeat(3, 1fr); }
  .studio,
  .contact { grid-template-columns: 1fr; }
  .showreel { grid-template-columns: 1fr; }
  .grille-a { grid-template-columns: 1fr 1fr; }
  .grille-a .media,
  .grille-a__pile { height: 220px; }
  .grille-b { grid-template-columns: repeat(2, 1fr); }
  .grille-w { grid-template-columns: repeat(3, 1fr); }
  .grille-c { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 720px) {
  :root { --marge-cote: 18px; }

  .bandeau { display: none; }           /* bandeau masqué sur mobile */

  .nav { display: none; }               /* menu masqué — voir note dans index.html */
  .entete { position: static; }

  .section { padding: 36px var(--marge-cote); }

  .heros, .travaux-tete { padding-top: 130px; }
  .logo img { width: 170px; }
  .heros__bas { align-items: flex-start; }
  .heros__actions { width: 100%; }
  .btn { width: 100%; text-align: center; min-height: 48px; }

  .services__grille,
  .clients__grille,
  .grille-a,
  .grille-b,
  .equipe,
  .pied__grille,
  .formulaire__duo { grid-template-columns: 1fr; }

  .clients__grille { grid-template-columns: 1fr 1fr; }
  .grille-c { grid-template-columns: 1fr 1fr; }
  .grille-a { grid-template-columns: 1fr 1fr; }
  .grille-b { grid-template-columns: 1fr 1fr; }
  .grille-w { grid-template-columns: 1fr 1fr; }
  .travaux-tete { padding-top: 96px; }
  .grille-a .media,
  .grille-a__pile { height: 150px; }
  .grille-b .media { aspect-ratio: 1 / 1; height: auto; }

  .banniere__cadre,
  .banniere video { height: 200px; }

  .portfolio__tete { flex-direction: column; gap: 6px; }
}
