/* translivo — site public. Charte « Lagon Aurore » (identique à l'extension). */
:root {
  --lagon: #12b5a6;
  --lagon-light: #5be3d2;
  --ciel: #4da3ff;
  --lavande: #9b8cff;
  --soleil: #ffc857;
  --grenade: #e5484d;
  --encre: #12343b;
  --nacre: #f7faf9;
  --white: #fff;
  --line: #e3ece9;
  --muted: #4f6b70;
  --muted-strong: #3d585d;
  --tint: #ddf6f2;
  --tint-text: #0b5f58;
  --link: #0f7f75;
  --aurore: linear-gradient(90deg, #12b5a6, #4da3ff 55%, #9b8cff);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 22px;
  --shadow: 0 18px 44px rgba(18, 52, 59, 0.08);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--nacre);
  color: var(--encre);
  font: 500 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}
a:hover {
  color: var(--tint-text);
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid rgba(77, 163, 255, 0.6);
  outline-offset: 2px;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
/* Les halos décoratifs débordent volontairement : on les coupe sur les côtés, sans barre de défilement */
main {
  overflow-x: clip;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 14px;
}

/* ---------- En-tête ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 249, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 236, 233, 0.8);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--encre);
  text-decoration: none;
}
.brand img {
  width: 32px;
  height: 32px;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 14.5px;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current='page'] {
  background: rgba(18, 52, 59, 0.05);
  color: var(--encre);
  text-decoration: none;
}
.lang {
  position: relative;
}
.lang select {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 8px 28px 8px 12px;
  background: #eaf1f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234F6B70' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center;
  color: var(--encre);
  font: 700 13.5px var(--font);
  cursor: pointer;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--encre);
  cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  background: var(--encre);
  color: #fff;
  font: 800 15.5px var(--font);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}
.btn:hover {
  background: #0d282e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(18, 52, 59, 0.18);
}
.btn:active {
  transform: scale(0.98);
}
.btn.soft {
  background: #fff;
  color: var(--encre);
  box-shadow: inset 0 0 0 1px #dce7e5;
}
.btn.soft:hover {
  box-shadow: inset 0 0 0 1px var(--lagon), 0 10px 22px rgba(18, 52, 59, 0.08);
}
.btn.small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}
.btn[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Accueil : en-tête de page ---------- */
.hero {
  position: relative;
  padding: 56px 0 40px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -120px -20% auto;
  height: 620px;
  background: radial-gradient(closest-side, rgba(18, 181, 166, 0.18), rgba(155, 140, 255, 0.11) 55%, rgba(247, 250, 249, 0) 100%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--tint-text);
  font-size: 13px;
  font-weight: 800;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lagon);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(18, 181, 166, 0);
  }
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 181, 166, 0.45);
  }
}
h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h1 em {
  font-style: normal;
  background: var(--aurore);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 19px;
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.shots {
  position: relative;
  height: 560px;
}
.shot {
  position: absolute;
  width: 300px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(18, 52, 59, 0.16), 0 0 0 1px rgba(18, 52, 59, 0.05);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: auto;
}
.shot.a {
  left: 0;
  top: 40px;
  transform: rotate(-4deg);
}
.shot.b {
  right: 0;
  top: 0;
  transform: rotate(3deg);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

/* ---------- Sections ---------- */
section {
  padding: 64px 0;
}
.section-title {
  max-width: 680px;
  margin: 0 auto 36px;
  text-align: center;
}
.eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--link);
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.card h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--aurore);
  color: #fff;
  font-weight: 800;
}
.ico {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--tint);
  color: var(--tint-text);
}
.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.langs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}
.langs-list span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--nacre);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trust div {
  padding: 18px;
  border-radius: 18px;
  background: var(--nacre);
}
.trust strong {
  display: block;
  margin-bottom: 4px;
}
.trust span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Offres ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
/* Les 4 cartes partagent les mêmes lignes : titre, prix, minutes, avantages et bouton
   tombent à la même hauteur, quel que soit le pays choisi (grille « subgrid »). */
@supports (grid-template-rows: subgrid) {
  .plan {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
  }
  .plan .btn {
    align-self: end;
  }
}
.price-block .pay-label.placeholder {
  visibility: hidden;
}
.plan.featured {
  box-shadow: 0 0 0 2px var(--lagon), var(--shadow);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--lagon);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.plan h3 {
  margin: 0;
  font-size: 20px;
}
.price {
  margin: 14px 0 4px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price small {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.pay-label {
  margin: 14px 0 -10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pay-label {
  white-space: nowrap;
}
.ops {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.card-price {
  margin: 2px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-strong);
}
.price-region {
  display: flex;
  justify-content: center;
  margin: -12px 0 26px;
}
.price-region label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--muted-strong);
}
.price-region select {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 34px 10px 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234F6B70' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--encre);
  font: 700 14.5px var(--font);
  max-width: 260px;
  cursor: pointer;
}
.pay-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.minutes {
  margin: 0 0 18px;
  color: var(--tint-text);
  font-weight: 800;
}
.plan ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--muted-strong);
  font-size: 15px;
}
.plan li {
  position: relative;
  padding-left: 26px;
}
.plan li + li {
  margin-top: 8px;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--lagon);
  border-bottom: 2.5px solid var(--lagon);
  transform: rotate(-45deg);
}
.plan .btn {
  margin-top: auto;
}
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.mode-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.mode-card h3 {
  margin: 10px 0 6px;
  font-size: 18px;
}
.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.mode-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}
.mode-tag.live {
  background: var(--encre);
}
.mode-tag.eco {
  background: var(--lagon);
}
.beta-box {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff4d6;
  color: #7a4f00;
}

/* ---------- Questions fréquentes ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.faq details + details {
  margin-top: 10px;
}
.faq summary {
  padding: 18px 22px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--lagon);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
}

/* ---------- Inscription ---------- */
.steps {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.step h3 {
  margin: 4px 0 6px;
  font-size: 19px;
}
.step p {
  margin: 0 0 12px;
  color: var(--muted);
}
.step p:last-child {
  margin-bottom: 0;
}
.code {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--tint-text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ---------- Pages de texte (conditions, confidentialité) ---------- */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.doc h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-top: 0;
}
.doc h2 {
  margin: 34px 0 10px;
  font-size: 21px;
}
.doc .meta {
  color: var(--muted);
  font-size: 14px;
}
.doc .draft {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff4d6;
  color: #7a4f00;
  font-size: 14px;
}
.table-wrap {
  overflow-x: auto;
  margin: 14px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14.5px;
}
th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--tint);
}
tr:last-child td {
  border-bottom: 0;
}

/* ---------- Pied de page ---------- */
footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: #fff;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer .links a {
  color: var(--muted-strong);
  font-weight: 600;
}
footer small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  max-width: 460px;
}
.page-head {
  position: relative;
  padding: 56px 0 8px;
  text-align: center;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: -80px 0 auto;
  height: 360px;
  background: radial-gradient(closest-side, rgba(18, 181, 166, 0.14), rgba(155, 140, 255, 0.08) 55%, rgba(247, 250, 249, 0) 100%);
  pointer-events: none;
}
.page-head .wrap {
  position: relative;
}
.page-head p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- Téléphone et tablette ---------- */
@media (max-width: 1100px) {
  .plans {
    gap: 12px;
  }
  .plan {
    padding: 24px 16px;
  }
  .price {
    font-size: 22px;
  }
  .plan ul {
    font-size: 14px;
  }
}
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shots {
    height: 470px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }
  .shot {
    width: 240px;
  }
  .grid3,
  .modes,
  .trust {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .plan.featured {
    order: -1;
  }
}
@media (max-width: 620px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px var(--gutter) 16px;
    background: var(--nacre);
    border-bottom: 1px solid var(--line);
  }
  .top.open .nav {
    display: flex;
  }
  .nav a {
    padding: 12px;
  }
  .top .wrap {
    gap: 10px;
  }
  section {
    padding: 48px 0;
  }
  .hero {
    padding-top: 32px;
  }
  .lead {
    font-size: 17px;
  }
  .shots {
    height: 370px;
  }
  .shot {
    width: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 700;
  font-size: 15px;
}
.field small {
  color: var(--muted);
  font-size: 13.5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfdcd9;
  border-radius: 12px;
  background: #fff;
  color: var(--encre);
  font: 500 16px/1.5 var(--font);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(18, 181, 166, 0.28);
  border-color: var(--lagon);
}
.contact-form .note {
  margin: 0;
  font-size: 13.5px;
}
.contact-form .note a {
  color: var(--muted);
}
.contact-form .btn {
  justify-self: start;
}
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecec;
  color: #9b1c20;
  font-size: 14.5px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-side h3 {
  margin-top: 0;
}
.contact-side p {
  margin: 0 0 10px;
}
.mail-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.mail-line a {
  color: var(--link);
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 820px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-form .btn {
    justify-self: stretch;
  }
}
