/* Geckook — site vitrine. Couleurs de la marque : orange #E07733, vert #3D7A50. */
:root {
  --orange: #E07733;
  --orange-soft: #FCEBDD;
  --green: #3D7A50;
  --green-soft: #E3F0E7;
  --ink: #1F2A24;
  --muted: #5C6B62;
  --line: #E4E7E2;
  --bg: #FBFAF7;
  --card: #FFFFFF;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--green); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.92);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand .g { color: var(--green); } .brand .o { color: var(--orange); }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px;
  padding: 10px 20px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-ghost { border: 1.5px solid var(--green); color: var(--green); background: transparent; }

/* Accueil */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.tagline { color: var(--green); font-weight: 800; letter-spacing: .14em; font-size: .8rem; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { justify-self: center; width: 100%; max-width: 380px; height: auto; }

.features { padding: 24px 0 56px; }
.features h2, .shots h2 { font-size: 1.6rem; margin: 0 0 24px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 12px; }
.feature:nth-child(odd) .icon { background: var(--orange-soft); }
.feature:nth-child(even) .icon { background: var(--green-soft); }
.feature h3 { margin: 0 0 6px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); }

.shots { padding: 0 0 56px; }
.carousel { position: relative; }
.track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 4px 32px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
/* Each capture sits in a device drawn in CSS: a tablet on a wide screen,
   a phone below 600 px (where the phone captures are served). The dark
   bezel and its rounded corners frame the picture whatever its own edges. */
.slide picture { position: relative; display: block; margin: 0 auto; max-width: 980px;
  padding: 18px; background: #1F2A24; border-radius: 34px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18), inset 0 0 0 2px #3a463f; }
.slide picture::after { /* tablet camera, in the left bezel */
  content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px;
  border-radius: 50%; background: #55625a; transform: translateY(-50%); }
.slide img { display: block; width: 100%; height: auto; border-radius: 16px; }
.slide figcaption { margin-top: 12px; color: var(--muted); text-align: center; padding: 0 8px; }
.slide figcaption strong { color: var(--ink); }
.nav { position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); z-index: 1; }
.nav:hover { color: var(--orange); }
.prev { left: -22px; }
.next { right: -22px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.dots a { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dots a[aria-current="true"] { background: var(--orange); }

.band { background: var(--green); color: #fff; padding: 44px 0; text-align: center; }
.band h2 { margin: 0 0 10px; font-size: 1.6rem; }
.band p { margin: 0 0 22px; opacity: .9; }
.band .btn-primary { background: #fff; color: var(--green); }

/* Pages légales */
.legal { padding: 40px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; color: var(--green); }
.legal p, .legal li { color: #2E3A33; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.todo { background: #FFF4CC; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 240px; order: -1; }
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top .btn { padding: 8px 14px; }
}

/* Same width as the <source media> of the captures: the phone frame and
   the phone capture always come together. */
@media (max-width: 600px) {
  .slide picture { max-width: 270px; padding: 10px; border-radius: 38px; }
  .slide picture::after { /* phone camera, at the top of the screen */
    left: 50%; top: 18px; width: 64px; height: 18px; border-radius: 10px;
    background: #1F2A24; transform: translateX(-50%); }
  .slide img { border-radius: 28px; }
}
