/* -------------------------------------------------------
   Cobati — styles (v2)
   Police: Gilroy Medium (woff)
-------------------------------------------------------- */

@font-face{
  font-family:"Gilroy";
  src:url("./fonts/Gilroy-Medium.woff2") format("woff2"),
      url("./fonts/Gilroy-Medium.woff") format("woff");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Gilroy";
  src:url("./fonts/Gilroy-Bold.woff2") format("woff2"),
      url("./fonts/Gilroy-Bold.woff") format("woff");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --red: #D1252A;
  --text: #1F1F1F;
  --muted: #7B7B7B;
  --white: #ffffff;
  --divider: rgba(255,255,255,.35);
  --container: 960px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Gilroy", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  background: var(--white);
  color: var(--text);
}

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

/* HERO */
.hero{
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
}

.hero__inner{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) 0;
  min-height: min(520px, 56svh);
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
}

.brand{
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top: 6px;
}

.brand__logo{
  width: 120px;     /* dimension fixe, proche du design */
  height: auto;
  display:block;
}

.hero__content{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 14px;
  padding: clamp(18px, 4vw, 46px) 0;
}

.hero__title{
  margin:0;
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 42px);
  line-height: 1.15;
  max-width: 28ch;
}

.hero__subtitle{
  margin:0;
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 22px);
  color: rgba(255,255,255,.55);
}

.hero__divider{
  width: 64px;
  height: 2px;
  background: var(--divider);
  border-radius: 999px;
  margin: 6px 0 8px;
}

.hero__contact{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap: 12px;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 26px);
}

.hero__dot{
  opacity: .9;
}

.hero__link{
  position: relative;
  display:inline-block;
  padding-bottom: 3px;
}

.hero__link::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  transform: translateY(1px);
}

.hero__watermark{
    position: absolute;
    left: -50px;
    bottom: -10px;
    width: min(1160px, 100vw);
    height: auto;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

/* CONTENT */
.page{
  background: var(--white);
}

.content{
  padding: clamp(38px, 6vw, 72px) 0;
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.content__p{
  margin: 0 0 28px 0;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.35;
  color: #2A2A2A;
}

.content__p strong{
  font-weight: 700;
}

.content__p--emphasis{
  margin-top: 6px;
}

.content__signature{
  margin: 18px 0 0 0;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.35;
}

/* Focus */
.hero__link:focus-visible, .brand:focus-visible{
  outline: 3px solid rgba(255,255,255,.9);
  outline-offset: 4px;
  border-radius: 10px;
}

/* Small screens */
@media (max-width: 420px){
  .hero__inner{ width: calc(100% - 32px); }
  .container{ width: calc(100% - 32px); }
  .brand__logo{ width: 106px; }
  .hero__dot{ display:none; }
  .hero__watermark{ left: -300px; bottom: -190px; width: 140vw; }
}
