* {
    box-sizing:border-box
}

:root {
    --accent: #81c3c9;
    --accent-hover: #6db1b8;
    --social-hover: #bae7eb;
    --text: #232323;
    --muted: #6e7c96;
    --line: #d6d6d6;
    --panel: #fafafa;
    --chip: #e0f7f9;
}

body {
    margin:0;
    font-family:"Inter", sans-serif;
    background:#fff;
    color:var(--text);
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0px 40px 48px 40px; /* /!\ valeur d'origine padding: 48px 40px; */
}

h2 {
    color: #5a9ba0;
    font-size: 36px;
    font-weight: 600;
    padding-bottom: 7%;
    text-align: center;
    width: 100%;
    margin: auto;
    padding-top: 25px;
}

section {
    font-family: "Heebo", sans-serif;
}

/* ====================================== */
/* Grille pour les sections gauche/droite */
/* ====================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

/* ============== */
/* Colonne gauche */
/* ============== */

.hero {
    font-weight:800;
    font-size:31px;
    line-height:1.1;
    margin:0 0 20px;
}

.lede {
    font-size:15px;
    line-height:1.6;
    color:var(--muted);
    margin:0 0 32px;
    max-width:500px;
}

/* ============== */
/* Colonne droite */
/* ============== */

.right {
    background:var(--panel);
    padding:32px;
    border-radius:16px;
}

.form1,
.form2,
.form3,
.form4,
.form5 {
    display: flex;
    gap: 16px;
}

.form1 .field,
.form2 .field,
.form3 .field,
.form4 .field,
.form5 .field {
    flex: 1;
    min-width: 0;
}

.form1 input,
.form2 input,
.form3 input,
.form4 input,
.form5 input {
    width: 100%;
}

.form label {
    display:block;
    font-size:14px;
    font-weight:600;
    margin:14px 0 6px;
}

.form input,
.form textarea,
.form select {
    width:100%;
    padding:12px 14px;
    font:inherit;
    font-size:14px;
    border:1px solid #ccc;
    border-radius:6px;
    outline:none;
}

.form textarea {
    resize:none;
    height:120px;
}

.lienconfi {
    color: #5a9ba0;
    font-size:14px;
    font-weight:600;
}

.lienconfi2 {
    color: #5a9ba0;
    font-size:15px;
}

.descrip_ {
    font-size:14px;
    font-weight:600;
    margin:-8px 0 6px;
}

.descrip_2 {
    font-size:14px;
    font-weight:600;
    margin:30px 0 18px;
}

.plusinfo {
    font-size:15px;
    line-height:1.6;
    color:var(--text);
    margin:0 0 10px;
    max-width:500px;
}

.aste {
    font-size:12px;
    line-height:1.6;
    color:var(--text);
    max-width:500px;
}

.tab_ {
    text-indent: 0.75rem;
    display: inline-block;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px; /* espace entre la case et le texte */
    margin: 12px 0;
}

.checkbox-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #81c3c9;
}

.checkbox-wrap label {
    font-size: 14px;
    cursor: pointer;
}

.captcha-frame {
    margin:16px 0 14px;
}

/* ====== */
/* Bouton */
/* ====== */

.cta2 {
    display:inline-block;
    padding:12px 28px;
    font-size:15px;
    font-weight:600;
    color:#fff;
    background:var(--accent);
    border:none;
    border-radius:6px;
    cursor:pointer;
    transition:background .2s; 
}

.cta2:hover {
    background: var(--accent-hover);
}

/* =========================== */
/* Colonne Droite confirmation */
/* =========================== */

.thank-card {
    flex: 1;
    background: #fafafa;
    border-radius: 20px;
    text-align: center;
    padding: 150px 40px; /* essayer 110px 40px, valeur d'origine : 80px 40px */
    box-shadow: inset 0 0 0 1px #f0f0f0;
}

.circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg,rgba(90, 155, 160, 1) 35%, rgba(129, 195, 201, 1) 100%); /* linear-gradient(135deg, #5b21b6, #9333ea); linear-gradient(135deg, #5A9BA0, #81c3c9); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #fff;
    font-size: 32px;
}

.circle img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.thank-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.thank-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
}

.btn-continue {
    background: #81C3C9;
    border: none;
    padding: 14px 48px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-continue:hover { 
    background: #6eaeb3;
}

/* ==================== */
/* ---- Responsive ---- */
/* ==================== */

@media (max-width: 1103px) {
    .hero {
        font-size: 30px;
    }
}

@media (max-width: 1072px) {
    .hero {
        font-size: 29px;
    }
}

@media (max-width: 1040px) {
    .hero {
        font-size: 28px;
    }
}

@media (max-width: 1009px) {
    .hero {
        font-size: 27px;
    }
}

@media (max-width: 992px) {
    main {
        padding: 0 24px 48px 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero,
    .plusinfo,
    .aste {
        text-align: center;
    }

    .left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .right {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    main {
        padding: 0 16px 32px 16px;
    }

    .contact-grid {
        gap: 32px;
    }

    .form1,
    .form2,
    .form3,
    .form4,
    .form5 {
        flex-direction: column;
        gap: 8px;
    }

    .form label {
        font-size: 14px;
    }

    .cta2 {
        width: 100%;
    }

    .right {
        padding: 20px;
    }

    .thank-card {
        padding: 80px 24px;
    }

    .lede,
    .plusinfo,
    .aste {
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    main {
        padding: 0 12px 24px 12px;
    }

    h2 {
        font-size: 22px;
        padding-bottom: 24px;
    }

    .hero {
        font-size: 20px;
    }

    .form label {
        font-size: 13px;
    }

    .form input,
    .form textarea,
    .form select {
        font-size: 13px;
        padding: 10px 12px;
    }

    .checkbox-wrap {
        gap: 8px;
    }

    .lienconfi {
        font-size: 13px;
    }

    .checkbox-wrap input[type="checkbox"] {
        width: 30px;
        height: 30px;
    }

    .cta2 {
        font-size: 14px;
        padding: 12px 0;
    }

    .right {
        padding: 14px;
    }

    .thank-card {
        padding: 60px 16px;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* -------------------- */

/* === Correctif responsive === */
@media (max-width: 480px) {
    .lede,
    .plusinfo,
    .aste,
    .descrip_,
    .descrip_2 {
        max-width: 100%;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

    main,
    section,
    .right,
    .contact-grid {
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form1,
    .form2,
    .form3,
    .form4,
    .form5 {
        flex-direction: column;
    }

    img,
    input,
    textarea,
    select,
    button {
        max-width: 100%;
        min-width: 0;
  }
}
 /* -------------------------------- */
 /* -------------------------------- */
