/* takomotop — page « site en construction » */

@font-face { font-family: "Gloock"; src: url("../fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ivoire: #FAF7F0;
  --papier: #FFFDF9;
  --encre: #141414;
  --texte: #3F3C36;
  --discret: #55514A;
  --rouge: #C8102E;
  --bordeaux: #76232F;
  --jaune: #FFC906;
  --titre: "Gloock", Georgia, "Times New Roman", serif;
  --corps: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--encre); text-underline-offset: 3px; }
a:hover { color: var(--bordeaux); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 4px; border-radius: 4px; }

.lien-evitement {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 12px 20px; border-radius: 999px;
  background: var(--encre); color: var(--ivoire); font-weight: 700; text-decoration: none;
}
.lien-evitement:focus { top: 16px; color: var(--ivoire); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.conteneur { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* En-tête */
.entete .conteneur {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px;
  border-bottom: 1.5px solid var(--encre);
}
.entete .logo img { width: 190px; }
.etat {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 16px; border: 1.5px solid var(--encre); border-radius: 999px;
  background: var(--papier); font-size: 0.92rem; font-weight: 500;
}
.etat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); }

/* Bouton */
.bouton {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: var(--rouge); color: #FFFFFF; font-weight: 700; text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.bouton:hover { background: var(--bordeaux); color: #FFFFFF; transform: translateY(-2px); }
.bouton .fleche { transition: transform .2s ease; }
.bouton:hover .fleche { transform: translateX(4px); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .conteneur {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: 72px; padding-bottom: 72px;
}
.hero::before {
  content: ""; position: absolute; left: -10%; top: 50%; width: 140%; height: 64px;
  background: var(--jaune); transform: rotate(-18deg);
}
.hero-texte { position: relative; z-index: 2; flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  margin: 0; font-family: var(--titre); font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.04;
}
.hero-intro {
  margin: 0; max-width: 32rem; font-size: 1.2rem; color: var(--texte);
  background: var(--ivoire); padding: 4px 8px 4px 0;
}
.hero-intro strong, .marque-texte { font-weight: 700; color: var(--encre); }

.hero-visuel {
  position: relative; flex: 1 1 520px; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 24px;
}
.rayons {
  position: absolute; left: 50%; top: 50%;
  width: min(640px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; opacity: .9;
  background: repeating-conic-gradient(var(--jaune) 0deg 5deg, transparent 5deg 12deg);
}
.carte-photo {
  position: relative; width: 100%; max-width: 600px;
  padding: 16px; border-radius: 26px; background: var(--papier);
  box-shadow: 0 2px 3px rgba(0,0,0,.1), 0 24px 50px rgba(0,0,0,.25);
  transform: rotate(3deg);
}
.carte-photo::after {
  content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--encre);
  border-radius: 19px; pointer-events: none;
}
.carte-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 52% center; border-radius: 14px; }

/* AligoFest */
.aligofest .conteneur { padding-top: 24px; padding-bottom: 88px; }
.carte-aligofest {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px;
  padding: 28px; border-radius: 26px; background: var(--papier);
  box-shadow: 0 2px 3px rgba(0,0,0,.08), 0 18px 36px rgba(0,0,0,.15);
  transform: rotate(-0.6deg);
}
.carte-aligofest::before {
  content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--encre);
  border-radius: 19px; pointer-events: none;
}
.carte-aligofest picture { position: relative; flex: 0 1 400px; min-width: 0; }
.carte-aligofest picture img { width: 100%; border-radius: 10px; box-shadow: 6px 4px 25px -2px rgba(0,0,0,.2); }
.aligofest-texte { position: relative; flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 12px 24px 12px 0; }
.surtitre { margin: 0; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.aligofest h2 { margin: 0; font-family: var(--titre); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.12; }
.aligofest-texte p { margin: 0; color: var(--texte); }
.infos { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--texte); }
.infos strong { color: var(--encre); }

/* Pied de page */
.pied { border-top: 1.5px solid var(--encre); }
.pied .conteneur {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 28px; padding-bottom: 40px; font-size: .9rem; color: var(--discret);
}
.pied .marque { font-family: var(--titre); font-size: 1.3rem; color: var(--encre); }
.pied a { color: var(--discret); }
.couleurs { font-size: 1.25rem; letter-spacing: 10px; }
.couleurs .noir { color: var(--encre); }
.couleurs .rouge { color: var(--rouge); }
.contact-pied { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Mentions légales */
.mentions .conteneur { max-width: 820px; padding-top: 64px; padding-bottom: 88px; }
.mentions h1 { margin: 0 0 32px; font-family: var(--titre); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.mentions h2 { margin: 40px 0 12px; font-family: var(--titre); font-weight: 400; font-size: 1.7rem; }
.mentions p, .mentions address { color: var(--texte); font-style: normal; }
.a-completer { background: var(--jaune); color: var(--encre); padding: 0 6px; border-radius: 4px; font-weight: 700; }
.retour {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--encre); font-weight: 700; text-decoration: none;
}

/* Mobile */
@media (max-width: 720px) {
  .entete .logo img { width: 150px; }
  .hero .conteneur { padding-top: 40px; padding-bottom: 40px; gap: 16px; }
  .hero::before { top: 62%; height: 44px; }
  .hero h1 { line-height: 1.1; }
  .hero-visuel { padding: 40px 8px 32px; }
  .rayons { width: 115%; }
  .carte-photo { padding: 10px; border-radius: 20px; }
  .carte-photo::after { inset: 6px; border-radius: 15px; }
  .carte-aligofest { padding: 18px; gap: 24px; transform: none; }
  .carte-aligofest::before { inset: 6px; }
  .aligofest-texte { padding: 0 8px 12px; }
  .bouton { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bouton, .bouton .fleche { transition: none; }
  .bouton:hover { transform: none; }
}
